/* ══════════════════════════════════════════════════
   FONTS & RESET
══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* The World Is My Oyster */
  --oyster-green:   #3d8b48;
  --oyster-green-d: #2d6b3a;
  --oyster-lime:    #d4f0a8;
  --oyster-cream:   #f0f8e8;
  --oyster-teal:    #2eb8c4;
  --oyster-red:     #d94040;
  --oyster-orange:  #e07840;

  /* A Sip of Sweet Dreams */
  --dream-navy:     #0d1b4b;
  --dream-navy-mid: #1a2850;
  --dream-blue:     #3d6a9e;
  --dream-sky:      #a8d8ea;
  --dream-cloud:    #e8eeff;
  --dream-cyan:     #7ec8e8;
  --dream-gold:     #f5c842;

  /* Shared aliases */
  --green:    var(--oyster-green);
  --green-l:  #52a848;
  --purple:   var(--dream-navy-mid);
  --blue:     var(--dream-blue);
  --orange:   var(--oyster-orange);
  --gold:     var(--dream-gold);
  --brown:    #5c7a3a;
  --brown-d:  var(--oyster-green-d);
  --cream:    var(--oyster-cream);
  --navy:     var(--dream-navy);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--oyster-cream);
  color: #1a2850;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════
   CUSTOM OWL CURSOR
══════════════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  body.owl-cursor-active,
  body.owl-cursor-active * {
    cursor: none !important;
  }

  body.owl-cursor-active input,
  body.owl-cursor-active textarea,
  body.owl-cursor-active [contenteditable="true"] {
    cursor: text !important;
  }

  .owl-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    pointer-events: none;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    will-change: transform;
  }

  .owl-cursor.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .owl-cursor img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  }

  .owl-cursor-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.45) 0%, rgba(245, 200, 66, 0) 70%);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1;
  }

  .owl-cursor.is-hovering img {
    transform: scale(1.18) rotate(-4deg);
    filter:
      drop-shadow(0 6px 14px rgba(245, 200, 66, 0.55))
      drop-shadow(0 4px 12px rgba(0, 0, 0, 0.32));
  }

  .owl-cursor.is-hovering .owl-cursor-glow {
    opacity: 1;
    transform: scale(1.1);
  }

  .owl-cursor.is-clicking img {
    transform: scale(0.88) rotate(2deg);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  }

  .owl-cursor.is-clicking.is-hovering img {
    transform: scale(1.05) rotate(-2deg);
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

button { cursor: pointer; border: none; outline: none; font-family: 'Fredoka', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.3); }
}
@keyframes twinkle-fairy {
  0%, 100% { opacity: .5; box-shadow: 0 0 6px 3px rgba(253,224,71,.7); }
  50%       { opacity: 1;  box-shadow: 0 0 12px 6px rgba(253,224,71,1); }
}
@keyframes spin-star {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(15deg) scale(1.2); }
  100% { transform: rotate(0deg) scale(1); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px 6px rgba(245,200,66,.5); }
  50%       { box-shadow: 0 0 30px 12px rgba(245,200,66,.8); }
}
@keyframes reveal-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-fade-left {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes reveal-fade-right {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes sparkle-drift {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 1; transform: translateY(-10px) scale(1); }
  80%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(-60px) scale(.5); }
}

.floating      { animation: float      3.5s ease-in-out infinite; }
.floating-slow { animation: float-slow 4.5s ease-in-out infinite; }

/* Reveal classes */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* GSAP 3D scroll — post-hero sections */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

section:not(.hero),
.footer {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

body.gsap-scroll-active section:not(.hero) .reveal-up,
body.gsap-scroll-active section:not(.hero) .reveal-left,
body.gsap-scroll-active section:not(.hero) .reveal-right,
body.gsap-scroll-active .footer .reveal-up {
  transition: none;
  will-change: transform, opacity;
}


/* ══════════════════════════════════════════════════
   SPARKLES
══════════════════════════════════════════════════ */
.sparkles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fde047;
  animation: sparkle-drift var(--dur, 4s) var(--delay, 0s) ease-in-out infinite;
}


/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #3d2b1f;
  border-bottom: 4px solid #2a1d15;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.navbar.navbar--hero {
  background: transparent;
  border-bottom: none;
}
.navbar.navbar--hero.scrolled {
  background: rgba(26, 40, 80, 0.96);
  border-bottom: 4px solid var(--dream-navy);
  box-shadow: 0 4px 24px rgba(13, 27, 75, 0.35);
  backdrop-filter: blur(8px);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.3); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 84px;
  gap: 1rem;
}
.navbar.navbar--hero:not(.scrolled) .navbar-inner {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
}
.navbar.navbar--hero:not(.scrolled) .logo       { justify-self: start; }
.navbar.navbar--hero:not(.scrolled) .nav-links  { justify-self: center; }
.navbar.navbar--hero:not(.scrolled) .btn-join   { justify-self: end; }
.navbar.navbar--hero:not(.scrolled) .hamburger { justify-self: end; }
.navbar.navbar--hero.scrolled .navbar-inner { display: flex; }

/* Wooden sign logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-wood-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-plaque {
  position: relative;
  z-index: 2;
  min-width: 128px;
  padding: .5rem .95rem .6rem;
  background: linear-gradient(180deg, #9a7420 0%, #7a5a12 35%, #5c450c 100%);
  border: 3px solid #d4b896;
  border-radius: 14px 14px 10px 10px / 20px 20px 10px 10px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.15),
    inset 0 -4px 8px rgba(0,0,0,.25),
    0 6px 18px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  transition: transform .2s;
}
.logo:hover .logo-plaque { transform: scale(1.05) rotate(-1deg); }
.logo-whisper {
  font-size: 9px;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  letter-spacing: .03em;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.logo-title {
  font-size: 16px;
  color: #f5c842;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
  text-shadow: 0 2px 3px rgba(0,0,0,.35);
  margin: .12rem 0 .18rem;
}
.logo-book { filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.logo-leaf {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle at 35% 35%, #7bc95a, #3d7a25);
  z-index: 1;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,.15);
}
.logo-leaf-l { left: -16px; transform: translateY(-50%) rotate(-25deg); }
.logo-leaf-r { right: -16px; transform: translateY(-50%) rotate(115deg); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .45rem .8rem;
  border-radius: .5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  color: #d4c5b0;
  transition: color .2s, background .2s;
  position: relative;
}
.navbar.navbar--hero:not(.scrolled) .nav-link {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.nav-link--home {
  flex-direction: column;
  gap: .12rem;
  padding-top: .2rem;
  padding-bottom: .35rem;
}
.nav-home-icon { filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.nav-link--home.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background: #f5c842;
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(245,200,66,.6);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.navbar.navbar--hero:not(.scrolled) .nav-link:hover,
.navbar.navbar--hero:not(.scrolled) .nav-link.active {
  background: rgba(255,255,255,.12);
}

/* CTA Join Button — Sweet Dreams navy blue */
.btn-join {
  display: flex; align-items: center; gap: .45rem;
  background: linear-gradient(180deg, var(--dream-blue) 0%, var(--dream-navy-mid) 50%, var(--dream-navy) 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .62rem 1.3rem;
  border-radius: 99px;
  border: none;
  border-bottom: 3px solid var(--dream-navy);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(13, 27, 75, 0.45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: background .2s, transform .15s, box-shadow .15s;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.btn-join:hover {
  background: linear-gradient(180deg, #4d7ab0 0%, var(--dream-blue) 50%, var(--dream-navy-mid) 100%);
  transform: scale(1.05);
}
.btn-join:active { transform: scale(.96) translateY(2px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: transparent;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2.5px;
  background: #fff;
  border-radius: 99px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem 1.5rem 1rem;
  background: var(--dream-navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
}
.navbar.navbar--hero:not(.scrolled) .mobile-menu.open {
  background: rgba(13, 27, 75, 0.97);
  backdrop-filter: blur(10px);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block;
  padding: .5rem .75rem;
  border-radius: .5rem;
  color: #d4c5b0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .05em;
  transition: background .2s, color .2s;
}
.mobile-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.mobile-join { margin-top: .5rem; justify-content: center; font-size: 1rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { height: 72px; }
  .navbar.navbar--hero:not(.scrolled) .navbar-inner { display: flex; }
  .logo-plaque { min-width: 100px; padding: .4rem .65rem .5rem; }
  .logo-title { font-size: 13px; }
  .logo-whisper { font-size: 7px; }
  .logo-leaf { display: none; }
}
@media (max-width: 500px) {
  .btn-join:not(.mobile-join) { display: none; }
}


/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 0;
  overflow: hidden;
  background: #0d1b4b;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

/* Sky clouds */
.hero-sky {
  position: absolute;
  inset: 0 0 30%;
  pointer-events: none;
  z-index: 0;
}
.cloud {
  position: absolute;
  background: rgba(255,255,255,.75);
  border-radius: 50%;
  filter: blur(1px);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-1 { width: 90px; height: 36px; top: 12%; left: 18%; border-radius: 40px; }
.cloud-1::before { width: 44px; height: 44px; top: -22px; left: 12px; }
.cloud-1::after  { width: 56px; height: 38px; top: -14px; right: 8px; }
.cloud-2 { width: 70px; height: 28px; top: 8%;  right: 22%; border-radius: 40px; opacity: .85; }
.cloud-2::before { width: 36px; height: 36px; top: -18px; left: 8px; }
.cloud-3 { width: 110px; height: 32px; top: 18%; left: 42%; border-radius: 40px; opacity: .7; }
.cloud-3::before { width: 50px; height: 42px; top: -20px; left: 20px; }

/* Background Deco */
.hero-bg-deco {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
}

/* Fantasy castle with blue roofs */
.fantasy-castle {
  position: absolute;
  bottom: 22%;
  left: 1%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: .55;
  filter: blur(.3px);
}
.fc-tower { display: flex; flex-direction: column; align-items: center; }
.fc-roof {
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 22px solid var(--oyster-teal);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
}
.fc-roof-tall { border-left-width: 22px; border-right-width: 22px; border-bottom-width: 28px; }
.fc-body {
  width: 28px; height: 52px;
  background: linear-gradient(to right, #d4b896, #c9a97a);
  border: 1px solid #a07850;
  border-radius: 2px 2px 0 0;
}
.fc-body-tall { width: 34px; height: 68px; }

/* Rope bridge */
.rope-bridge {
  position: absolute;
  bottom: 26%;
  left: 8%;
  width: 120px;
  height: 40px;
  opacity: .5;
}
.bridge-rope {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #8B6914;
  border-radius: 99px;
  transform: rotate(-8deg);
  transform-origin: left center;
}
.bridge-rope::after {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 3px;
  background: #8B6914;
  border-radius: 99px;
  transform: rotate(-8deg);
}
.bridge-planks {
  position: absolute;
  top: 6px; left: 4px;
  width: 100px; height: 14px;
  background: repeating-linear-gradient(90deg, #a07850 0 8px, #8B6914 8px 10px);
  border-radius: 2px;
  transform: rotate(-8deg);
  transform-origin: left center;
}

.far-hills {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, #5a9e3c 30%, transparent);
  border-radius: 80% 80% 0 0 / 50px 50px 0 0;
  opacity: .65;
}
.grass-back {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: #5a9e3c;
  border-radius: 60% 60% 0 0 / 40px 40px 0 0;
}
.grass-front {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: #4a8a2e;
}
.bush {
  position: absolute;
  bottom: 42px;
  border-radius: 50%;
  background: #3d7a25;
  opacity: .7;
}
.bush.b1 { left: 12%; width: 50px; height: 34px; }
.bush.b2 { left: 15%; width: 34px; height: 26px; }
.bush.b3 { right: 5%;  width: 60px; height: 38px; }
.bush.b4 { right: 8%;  width: 36px; height: 28px; }

/* Subtle owl accents — wizard owl (supporting detail) */
.owl-accent-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.26)) drop-shadow(0 1px 3px rgba(91, 62, 140, 0.18));
}

/* Owl branch — illustrated limb growing from the hero tree */
.tree-limb-wrap {
  position: absolute;
  bottom: 14px;
  left: -6%;
  width: clamp(220px, 58%, 300px);
  aspect-ratio: 740 / 389;
  z-index: 18;
  pointer-events: none;
  overflow: visible;
}
.tree-limb {
  position: absolute;
  inset: 0;
}
/* Main trunk mass — branch grows out of tree crown wood */
.limb-tree-bridge {
  position: absolute;
  right: -22%;
  bottom: -16%;
  width: 58%;
  height: 78%;
  background:
    radial-gradient(ellipse 85% 75% at 58% 42%, #c49a42 0%, #b08838 14%, #8B6914 36%, #6b4e10 62%, #5c450c 78%, transparent 88%);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(-10deg);
  z-index: 0;
  box-shadow:
    inset -6px -8px 14px rgba(0, 0, 0, 0.22),
    inset 4px 2px 8px rgba(255, 255, 255, 0.06),
    4px 6px 14px rgba(0, 0, 0, 0.18);
}
.limb-tree-bridge::before {
  content: '';
  position: absolute;
  inset: 10% 12% 16% 8%;
  border-radius: inherit;
  background: repeating-linear-gradient(
    175deg,
    transparent,
    transparent 7px,
    rgba(0, 0, 0, 0.07) 7px,
    rgba(0, 0, 0, 0.07) 8px
  );
  opacity: 0.75;
}
/* Socket where branch meets the trunk bridge */
.limb-trunk-socket {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: 34%;
  height: 54%;
  background:
    radial-gradient(ellipse 80% 65% at 55% 50%, #a88030 0%, #8B6914 30%, #6b4e10 58%, #4a3810 82%);
  border-radius: 44% 56% 50% 50%;
  transform: rotate(-8deg);
  z-index: 2;
  box-shadow:
    inset -3px -5px 9px rgba(0, 0, 0, 0.3),
    inset 2px 1px 5px rgba(255, 255, 255, 0.1);
}
.limb-trunk-socket::before {
  content: '';
  position: absolute;
  inset: 14% 16% 20% 12%;
  border-radius: inherit;
  background: repeating-linear-gradient(
    168deg,
    transparent,
    transparent 5px,
    rgba(0, 0, 0, 0.12) 5px,
    rgba(0, 0, 0, 0.12) 6px
  );
  opacity: 0.7;
}
/* Curved arm linking trunk bridge into the branch illustration */
.limb-trunk-arm {
  position: absolute;
  right: 10%;
  bottom: 20%;
  width: 20%;
  height: 32%;
  background: linear-gradient(145deg, #9a7420 0%, #7a5a18 45%, #5c450c 100%);
  border-radius: 45% 55% 40% 60%;
  transform: rotate(-22deg);
  z-index: 2;
  box-shadow:
    inset -2px -3px 6px rgba(0, 0, 0, 0.28),
    2px 3px 6px rgba(0, 0, 0, 0.15);
}
.limb-trunk-arm::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -8%;
  width: 55%;
  height: 45%;
  background: radial-gradient(circle at 40% 40%, #55b035, #3d7a25);
  border-radius: 50%;
  opacity: 0.55;
  box-shadow: 0 0 0 2px rgba(61, 122, 37, 0.2);
}
.hero-branch-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}
/* Canopy foliage — branch emerges through leaves */
.limb-foliage-mask {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
}
.limb-foliage-mask--1 {
  right: -8%;
  top: 10%;
  width: 48%;
  height: 52%;
  background: radial-gradient(circle at 42% 42%, #62c040 0%, #4a9e30 45%, #3d7a25 68%, transparent 78%);
  opacity: 0.9;
}
.limb-foliage-mask--2 {
  right: 4%;
  bottom: 22%;
  width: 32%;
  height: 38%;
  background: radial-gradient(circle at 38% 38%, #55b035 0%, #3d7a25 58%, transparent 72%);
  opacity: 0.82;
}
.limb-foliage-mask--3 {
  right: 18%;
  top: 32%;
  width: 24%;
  height: 28%;
  background: radial-gradient(circle at 45% 45%, #6fd048 0%, #4a9e30 55%, transparent 70%);
  opacity: 0.75;
}
.limb-bark-collar {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: 26%;
  height: 22%;
  background: radial-gradient(ellipse at 50% 50%, rgba(90, 68, 20, 0.45), transparent 72%);
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
}

/* Recurring section owl accents */
.section-owl {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.62;
}
.section-owl--feature {
  bottom: 6%;
  right: 2.5%;
}
.section-owl--feature .owl-accent-img {
  width: 72px;
}
.feature-section {
  position: relative;
  overflow: hidden;
}
.section-owl--books {
  top: -14px;
  right: 6%;
  opacity: 0.58;
}
.section-owl--books .owl-accent-img {
  width: 64px;
}
.books-section {
  position: relative;
}
.books-header {
  position: relative;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5.5rem 1.75rem 3rem;
  gap: 1.5rem;
}

/* LEFT: Text */
.hero-text {
  flex: 0 1 560px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 20;
}
.star-deco { position: absolute; animation: spin-star 4s ease-in-out infinite; }
.star-deco.s1 { top: -30px; left: -10px; }
.star-deco.s2 { top: -10px; left: 120px; animation-delay: 1.5s; }

.hero-headline {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}
.h-purple { color: var(--oyster-red); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(217,64,64,.35); }
.h-green  { color: var(--oyster-green); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(61,139,72,.35); }
.h-blue   { color: var(--oyster-teal); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(46,184,196,.35); }

.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.12rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.65;
  max-width: 400px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 12px rgba(13, 27, 75, 0.45);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(180deg, var(--oyster-orange) 0%, #c86028 55%, #a84820 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: .95rem 2rem;
  border-radius: 1rem;
  border: none;
  border-bottom: 5px solid #8a3818;
  box-shadow: 0 6px 20px rgba(224,120,64,.38), inset 0 1px 0 rgba(255,255,255,.25);
  transition: background .2s, transform .15s, box-shadow .15s;
  align-self: flex-start;
  letter-spacing: .04em;
}
.btn-explore:hover {
  background: linear-gradient(180deg, #f09050 0%, var(--oyster-orange) 55%, #c86028 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,120,64,.45), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-explore:active { transform: translateY(3px); border-bottom-width: 2px; }

/* RIGHT: Treehouse Scene */
.hero-scene {
  flex: 1.15;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 620px;
  max-width: 620px;
  margin: 0 auto;
}

/* Welcome Sign */
.welcome-sign {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-20%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}
.sign-rope {
  width: 2px;
  height: 28px;
  background: var(--brown);
}
.sign-box {
  background: #fdf6e3;
  border: 3px solid #c9a97a;
  border-radius: 14px;
  padding: .7rem 1rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: #5c450c;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  line-height: 1.5;
}
.sign-welcome { color: #c26229; font-size: .9rem; display: block; }

/* Tree Canopy */
.tree-canopy {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 300px;
  z-index: 5;
}
.canopy {
  position: absolute;
  border-radius: 50%;
  box-shadow:
    inset -10px -14px 28px rgba(0, 0, 0, 0.14),
    inset 8px 10px 22px rgba(255, 255, 255, 0.07),
    0 6px 16px rgba(0, 0, 0, 0.1);
}
.canopy.c1 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 280px;
  background: radial-gradient(ellipse 80% 70% at 42% 38%, #55b035 0%, #3d7a25 55%, #2d5a18 100%);
}
.canopy.c2 { bottom: 40px; left: 2%;  width: 240px; height: 200px; background: radial-gradient(circle at 35% 35%, #62c040, #4a9e30 60%, #3d7a25); }
.canopy.c3 { bottom: 35px; right: 0%; width: 230px; height: 190px; background: radial-gradient(circle at 60% 40%, #4a9e30, #3d7a25 65%, #2d5a18); }
.canopy.c4 { bottom: 85px; left: 15%; width: 200px; height: 170px; background: radial-gradient(circle at 40% 30%, #6fd048, #55b035 55%, #3d7a25); }
.canopy.c5 { bottom: 105px; left: 50%; transform: translateX(-50%); width: 180px; height: 150px; background: radial-gradient(circle at 50% 35%, #5cb838, #4a9e30 60%, #3d7a25); }
.canopy.c6 {
  bottom: 62px;
  left: 8%;
  width: 155px;
  height: 130px;
  background: radial-gradient(circle at 45% 40%, #4a9e30, #3d7a25);
  opacity: 0.92;
  z-index: 2;
}
.canopy-highlight {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
}
.canopy-highlight.ch1 {
  bottom: 118px;
  left: 22%;
  width: 90px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}
.canopy-highlight.ch2 {
  bottom: 72px;
  right: 18%;
  width: 72px;
  height: 58px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}
.canopy-branch {
  position: absolute;
  height: 9px;
  background: linear-gradient(to right, #4a3810, #6b4e10 45%, #5c450c);
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  opacity: 0.55;
  z-index: 3;
}
.canopy-branch--a {
  bottom: 98px;
  left: 6%;
  width: 128px;
  transform: rotate(-14deg);
}
.canopy-branch--b {
  bottom: 122px;
  right: 6%;
  width: 96px;
  transform: rotate(20deg);
}
.tree-crown-collar {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 268px;
  height: 44px;
  background:
    radial-gradient(ellipse 100% 100% at 50% 30%, #a88030 0%, #8B6914 28%, #6b4e10 58%, transparent 78%);
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Birdhouse */
.birdhouse {
  position: absolute;
  top: 40px;
  left: 8%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bh-roof {
  width: 0; height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 14px solid #5c450c;
}
.bh-body {
  width: 36px; height: 34px;
  background: var(--brown);
  border: 2px solid #5c450c;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bh-hole { width: 12px; height: 12px; background: #2a1d15; border-radius: 50%; }
.bh-pole { width: 4px; height: 30px; background: #5c450c; border-radius: 2px; }

/* Fairy Lights */
.fairy-rope {
  position: absolute;
  top: 168px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(139,105,20,.5), transparent);
  border-radius: 50%;
  z-index: 20;
}
.fairy-lights {
  position: absolute;
  top: 158px;
  left: 8%; right: 8%;
  display: flex;
  justify-content: space-between;
  z-index: 21;
}
.fairy-light {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 10px 5px rgba(253,224,71,.9);
  animation: twinkle-fairy 1.5s ease-in-out infinite;
}
.fairy-light.fl1 {
  display: none;
}
.fairy-light:nth-child(1) { animation-delay: 0s; }
.fairy-light:nth-child(2) { animation-delay: .3s; background: #fb923c; box-shadow: 0 0 8px 4px rgba(251,146,60,.9); }
.fairy-light:nth-child(3) { animation-delay: .6s; }
.fairy-light:nth-child(4) { animation-delay: .9s; background: #fb923c; }
.fairy-light:nth-child(5) { animation-delay: 1.2s; }
.fairy-light:nth-child(6) { animation-delay: 1.5s; background: #fb923c; }
.fairy-light:nth-child(7) { animation-delay: 1.8s; }

/* Tree Trunk */
.tree-trunk {
  position: relative;
  bottom: 0;
  z-index: 10;
  margin: 0 auto;
  width: 310px;
  align-self: flex-end;
}
.tree-trunk::before {
  content: '';
  display: block;
  width: 100%;
  height: 360px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(135deg, #c49a42 0%, #b08838 12%, #8B6914 38%, #6b4e10 68%, #5c450c 88%, #4a3810 100%);
  border-radius: 100px 100px 0 0;
  border: 5px solid #5c450c;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset -10px 0 24px rgba(0, 0, 0, 0.14),
    inset 8px 0 18px rgba(255, 255, 255, 0.06);
}
.tree-trunk::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 320px;
  border-radius: 80px 80px 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 22px,
      rgba(0, 0, 0, 0.05) 22px,
      rgba(0, 0, 0, 0.05) 24px
    ),
    repeating-linear-gradient(
      175deg,
      transparent,
      transparent 38px,
      rgba(0, 0, 0, 0.04) 38px,
      rgba(0, 0, 0, 0.04) 40px
    );
  pointer-events: none;
  opacity: 0.85;
}
.trunk-hollow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 320px;
  background: linear-gradient(to bottom, #3a2810, #1a0f05);
  border-radius: 70px 70px 0 0;
  overflow: hidden;
  box-shadow: inset 0 8px 24px rgba(0,0,0,.5);
}

/* Bookshelves inside trunk */
.shelf-plank {
  position: absolute;
  top: 30px;
  left: 14px; right: 14px;
  height: 10px;
  background: #6b4e10;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
  z-index: 2;
}
.shelf-plank.p2 { top: 78px; }
.shelf-plank.p3 { top: 126px; }

.books-row.row1 { top: 10px; }
.books-row.row2 { top: 58px; }
.books-row.row3 { top: 106px; }
.book {
  flex: 0 0 var(--bw);
  height: 24px;
  background: var(--bc);
  border-radius: 2px 2px 0 0;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.15);
}

/* Hanging lantern inside hollow */
.hollow-lantern {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hl-chain { width: 2px; height: 14px; background: #8B6914; }
.hl-body {
  width: 22px; height: 30px;
  background: linear-gradient(to bottom, #fff8dc, #f59e0b);
  border: 2px solid #c9a97a;
  border-radius: 4px 4px 10px 10px;
  box-shadow: 0 0 20px 10px rgba(245,200,66,.55);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.books-row {
  position: absolute;
  left: 22px; right: 22px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
  z-index: 3;
}

/* Round Window */
.round-window {
  position: absolute;
  top: 148px;
  left: 14px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 4px solid #6b4e10;
  background: linear-gradient(135deg, #a8d8ea, #87ceeb);
  overflow: hidden;
}
.round-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,200,.3);
}

/* Ladder */
.ladder {
  position: absolute;
  top: 30px;
  right: 14px;
  width: 28px;
  bottom: 80px;
}
.ladder-side {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--brown);
  border-radius: 2px;
}
.ladder-side.ls { left: 0; }
.ladder-side.rs { right: 0; }
.rung {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--brown);
  border-radius: 1px;
}
.ladder .rung:nth-child(3) { top: 15%; }
.ladder .rung:nth-child(4) { top: 30%; }
.ladder .rung:nth-child(5) { top: 48%; }
.ladder .rung:nth-child(6) { top: 65%; }
.ladder .rung:nth-child(7) { top: 82%; }

/* Desk */
.desk {
  position: absolute;
  bottom: 68px;
  left: 28px; right: 28px;
  height: 16px;
  background: linear-gradient(to bottom, #b08838, #6b4e10);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.desk-book {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 22px;
  background: #fdf6e3;
  border-radius: 3px;
  box-shadow: 0 0 22px 10px rgba(245,200,66,.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.desk-book::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: #8B6914;
}
.book-line {
  position: absolute;
  height: 1px;
  background: #c9a97a;
  opacity: .6;
  left: 4px;
  width: 28%;
}
.book-line:nth-child(2) { top: 4px; }
.book-line:nth-child(3) { top: 9px; }
.book-line:nth-child(4) { top: 14px; }

/* Lantern */
.lantern {
  position: absolute;
  bottom: 34px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lantern-top {
  width: 16px; height: 5px;
  background: #c9a97a;
  border-radius: 3px 3px 0 0;
}
.lantern-body {
  width: 14px; height: 22px;
  background: linear-gradient(to bottom, #fde68a, #f59e0b);
  border: 2px solid #c9a97a;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 0 14px 6px rgba(245,200,66,.6);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Cup */
.cup {
  position: absolute;
  bottom: 14px;
  left: 8px;
  display: flex;
  align-items: flex-end;
}
.cup-body {
  width: 18px; height: 18px;
  background: #4a90d9;
  border-radius: 3px;
  border: 1px solid #2b6cb0;
  position: relative;
}
.cup-heart {
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #f472b6;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.cup-handle {
  width: 8px; height: 11px;
  border: 2.5px solid #4a90d9;
  border-radius: 0 6px 6px 0;
  border-left: none;
  margin-left: -1px;
  margin-bottom: 2px;
}

/* Book Stack */
.book-stack {
  position: absolute;
  bottom: 14px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bs { border-radius: 2px; height: 9px; }
.bs.b1 { width: 20px; }
.bs.b2 { width: 18px; }
.bs.b3 { width: 16px; }

/* Author portrait in tree hollow */
.owlivia {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}
.owlivia::before {
  content: '';
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(245,200,66,.45) 0%, transparent 72%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.owlivia-portrait {
  position: relative;
  width: 96px;
  z-index: 2;
}

.owlivia-portrait-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.owlivia-portrait-glow--green {
  width: 70%;
  height: 55%;
  top: 8%;
  left: -8%;
  background: var(--oyster-lime);
  opacity: 0.5;
}
.owlivia-portrait-glow--blue {
  width: 65%;
  height: 50%;
  bottom: 8%;
  right: -8%;
  background: var(--dream-sky);
  opacity: 0.45;
}

.owlivia-portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--dream-cloud), var(--oyster-cream));
  border: 3px solid #fff;
  box-shadow:
    0 10px 28px rgba(13, 27, 75, 0.28),
    0 0 0 2px var(--dream-sky),
    0 0 0 4px rgba(61, 139, 72, 0.22),
    0 0 20px rgba(245, 200, 66, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.owlivia:hover .owlivia-portrait-frame {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 34px rgba(13, 27, 75, 0.32),
    0 0 0 2px var(--dream-sky),
    0 0 0 4px rgba(61, 139, 72, 0.28),
    0 0 28px rgba(245, 200, 66, 0.38);
}

.owlivia-portrait-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--oyster-teal), var(--dream-gold), var(--oyster-red)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
  opacity: 0.85;
}

.owlivia-portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.45rem;
  background: linear-gradient(145deg, #f4f6f8, var(--dream-cloud));
}

.owlivia-portrait-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,.32) 0%,
    rgba(255,255,255,.1) 22%,
    transparent 42%
  );
  pointer-events: none;
  z-index: 3;
}

.owl-nameplate {
  margin-top: 2px;
  background: linear-gradient(to bottom, #e8954a, #c26229);
  border: 2px solid #a85020;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 10px;
  padding: .25rem .55rem;
  border-radius: 6px;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  z-index: 30;
}
.owl-nameplate small { font-size: 8px; font-weight: 400; }

/* Be Kind Sign */
.bekind-sign {
  position: absolute;
  top: 30%;
  right: -5%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bk-rope { width: 2px; height: 28px; background: var(--brown); }
.bk-box {
  background: linear-gradient(to bottom, #fdf6e3, #f0e6c8);
  border: 3px solid var(--brown);
  border-radius: 12px;
  padding: .7rem .9rem;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: #5c450c;
  line-height: 1.7;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.bk-heart { color: var(--oyster-red); font-size: .9rem; margin-top: .15rem; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  pointer-events: none;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* Hero Responsive */
@media (max-width: 860px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 5rem 1rem 4rem;
    gap: 1rem;
    min-height: auto;
    padding-bottom: 80px;
  }
  .hero-text {
    flex: 1 1 auto;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .hero-desc { text-align: center; max-width: 100%; }
  .btn-explore { align-self: center; }
  .hero-bg-video { object-position: 62% center; }
  .section-owl--feature { opacity: .45; right: 1%; }
  .section-owl--feature .owl-accent-img { width: 58px; }
  .section-owl--books { display: none; }
  .footer-owl { left: 36px; bottom: 56px; opacity: .55; }
  .footer-owl .owl-accent-img { width: 42px; }
}
@media (max-width: 540px) {
  .hero-bg-video { object-position: 68% center; transform: scale(1.06); }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 4rem); }
  .welcome-sign { width: 170px; }
  .sign-box { font-size: .7rem; }
  .navbar.navbar--hero:not(.scrolled) .navbar-inner { display: flex; }
}


/* ══════════════════════════════════════════════════
   FEATURE CARDS SECTION
══════════════════════════════════════════════════ */
.feature-section {
  padding: 2.75rem 0 4rem;
  margin-top: -1px;
  background: linear-gradient(180deg, #e8f5dc 0%, #e8f5dc 8%, var(--dream-cloud) 52%, #dce8f4 100%);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.feature-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.card-deco-circle {
  position: absolute;
  top: -36px; right: -36px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--card-btn);
  opacity: .12;
  pointer-events: none;
}

.card-icon {
  width: 88px; height: 88px;
  background: #fff;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
  margin-bottom: 1rem;
  border: 2px solid rgba(255,255,255,.9);
  transition: transform .25s;
}
.feature-card:hover .card-icon { transform: scale(1.1); }

.card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--card-title);
  margin-bottom: .4rem;
}
.card-desc {
  font-size: .88rem;
  color: #3a4a5a;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.1rem;
}
.card-btn {
  background: var(--card-btn);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem 1.1rem;
  border-radius: 99px;
  width: 100%;
  border-bottom: 3px solid var(--card-shadow);
  transition: filter .2s, transform .15s;
}
.card-btn:hover { filter: brightness(1.1); }
.card-btn:active { transform: scale(.96) translateY(2px); border-bottom-width: 1px; }

/* 3D Tilt */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

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


/* ══════════════════════════════════════════════════
   ABOUT THE AUTHOR SECTION
══════════════════════════════════════════════════ */
.author-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--oyster-cream) 0%, var(--dream-cloud) 50%, #dce8f4 100%);
  position: relative;
  overflow: hidden;
}

.author-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 30%, rgba(61, 139, 72, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 92% 70%, rgba(61, 106, 158, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.author-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oyster-red);
  background: rgba(217, 64, 64, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  border: 1.5px solid rgba(217, 64, 64, 0.25);
}

.author-heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--dream-navy-mid);
}

.author-name-accent {
  color: var(--oyster-green-d);
  display: inline-block;
}

.author-lead {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dream-navy-mid);
  line-height: 1.65;
}

.author-text {
  font-size: 0.98rem;
  color: #4a5a72;
  line-height: 1.75;
}

.author-text em {
  color: var(--oyster-green-d);
  font-style: normal;
  font-weight: 700;
}

.author-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.5rem 0 0.25rem;
}

.author-highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3a4a5a;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0.75rem;
  border: 1.5px solid rgba(168, 216, 234, 0.45);
  box-shadow: 0 2px 8px rgba(13, 27, 75, 0.05);
}

.author-highlights strong {
  color: var(--dream-navy-mid);
  font-weight: 800;
}

.author-highlight-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.author-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(180deg, var(--dream-blue) 0%, var(--dream-navy-mid) 100%);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  border-bottom: 4px solid var(--dream-navy);
  box-shadow: 0 6px 20px rgba(13, 27, 75, 0.28);
  transition: transform 0.15s, filter 0.2s;
  letter-spacing: 0.03em;
}

.author-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.author-cta:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

/* Author photo — right side */
.author-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.author-photo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.author-photo-glow--green {
  width: 70%;
  height: 60%;
  top: 10%;
  left: -5%;
  background: var(--oyster-lime);
  opacity: 0.55;
}
.author-photo-glow--blue {
  width: 65%;
  height: 55%;
  bottom: 5%;
  right: -5%;
  background: var(--dream-sky);
  opacity: 0.5;
}

.author-photo-frame {
  position: relative;
  z-index: 2;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--dream-cloud), var(--oyster-cream));
  border: 4px solid #fff;
  box-shadow:
    0 20px 50px rgba(13, 27, 75, 0.18),
    0 0 0 3px var(--dream-sky),
    0 0 0 6px rgba(61, 139, 72, 0.2);
  aspect-ratio: 4 / 5;
}

.author-photo-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--oyster-teal), var(--dream-gold), var(--oyster-red)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
  opacity: 0.85;
}

.author-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.25rem;
  background: linear-gradient(145deg, #f4f6f8, var(--dream-cloud));
}

.author-photo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,.28) 0%,
    rgba(255,255,255,.08) 25%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 3;
}

.author-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--oyster-red), #c03030);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(217, 64, 64, 0.35);
  white-space: nowrap;
}

.author-badge-icon {
  color: var(--dream-gold);
  font-size: 0.9rem;
}

.author-float {
  position: absolute;
  font-size: 1.5rem;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.15));
  z-index: 3;
  animation: authorFloat 3.5s ease-in-out infinite;
  pointer-events: none;
}
.author-float--star { top: -8px;  right: 12%; animation-delay: 0s; }
.author-float--leaf { bottom: 18%; left: -6%;  animation-delay: 0.8s; font-size: 1.3rem; }
.author-float--moon { top: 15%;  left: -10%; animation-delay: 1.4s; font-size: 1.35rem; }
.author-float--owl {
  bottom: 4%;
  right: -10%;
  animation-delay: 2s;
  opacity: 0.88;
}
.author-float--owl .owl-accent-img {
  width: 58px;
}

@keyframes authorFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(6deg); }
}

@media (max-width: 900px) {
  .author-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .author-content {
    order: 2;
    text-align: center;
    align-items: center;
  }
  .author-eyebrow { align-self: center; }
  .author-highlights { width: 100%; max-width: 420px; }
  .author-cta { align-self: center; }
  .author-visual {
    order: 1;
  }
  .author-photo-wrap { max-width: 320px; }
}

@media (max-width: 500px) {
  .author-section { padding: 3.5rem 0; }
  .author-highlights li { font-size: 0.85rem; }
}


/* ══════════════════════════════════════════════════
   INTERACTIVE GAME SECTION
══════════════════════════════════════════════════ */
.game-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--dream-cloud) 0%, #dce8f4 40%, #e8f5dc 100%);
  position: relative;
  overflow: hidden;
}

.game-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 200, 66, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 75%, rgba(61, 139, 72, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.game-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.ribbon-main--game {
  background: linear-gradient(135deg, var(--dream-navy-mid), var(--dream-blue));
  border-color: var(--dream-navy);
  box-shadow: 0 4px 18px rgba(13, 27, 75, 0.35);
}

.ribbon-wrap--game .rt-left,
.ribbon-wrap--game .rt-right {
  background: var(--dream-navy);
}

.game-tagline {
  margin-top: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dream-navy-mid);
}

.game-wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.game-panel {
  position: relative;
  border-radius: 1.75rem;
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(232,238,255,.9));
  border: 3px solid rgba(168, 216, 234, 0.6);
  box-shadow:
    0 16px 48px rgba(13, 27, 75, 0.12),
    0 0 0 1px rgba(255,255,255,.8) inset;
}

.game-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 1.5rem;
  z-index: 0;
}

.game-deco {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.35;
  user-select: none;
}
.game-deco--star  { top: 8%;  left: 6%;  color: var(--dream-gold); font-size: 1.8rem; }
.game-deco--moon  { top: 12%; right: 8%; color: var(--dream-cyan); font-size: 1.6rem; }
.game-deco--leaf  { bottom: 18%; left: 10%; color: var(--oyster-green); }
.game-deco--cloud { bottom: 22%; right: 6%; color: var(--dream-sky); font-size: 2rem; }
.game-deco--spark { top: 45%; left: 4%;  color: var(--oyster-red); }
.game-deco--shell { top: 50%; right: 5%; color: var(--oyster-teal); font-size: 1.2rem; }
.game-deco--owl {
  bottom: 10%;
  right: 12%;
  opacity: 0.65;
}
.game-deco--owl .owl-accent-img {
  width: 52px;
}

.game-hud {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
}

.game-stat {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.75);
  border: 2px solid rgba(168, 216, 234, 0.5);
  box-shadow: 0 2px 8px rgba(13, 27, 75, 0.06);
}

.game-stat--combo .game-stat-value { color: var(--oyster-orange); }
.game-stat--time .game-stat-value  { color: var(--dream-navy-mid); }

.game-stat-label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dream-blue);
  margin-bottom: 0.15rem;
}

.game-stat-value {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--oyster-green-d);
  line-height: 1;
}

.game-arena {
  position: relative;
  height: clamp(280px, 42vw, 380px);
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(212, 240, 168, 0.45) 0%,
    rgba(168, 216, 234, 0.35) 50%,
    rgba(26, 40, 80, 0.25) 100%);
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: inset 0 4px 24px rgba(13, 27, 75, 0.08);
  z-index: 2;
}

.game-arena-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.5;
}
.game-arena-glow--day {
  width: 55%; height: 70%;
  top: -10%; left: -5%;
  background: var(--oyster-lime);
}
.game-arena-glow--night {
  width: 50%; height: 65%;
  bottom: -15%; right: -5%;
  background: var(--dream-blue);
  opacity: 0.35;
}

.game-overlay,
.game-result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(13, 27, 75, 0.55);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.game-result[hidden] { display: none; }

.game-overlay-card,
.game-result-card {
  text-align: center;
  max-width: 340px;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(to bottom, #fff, var(--dream-cloud));
  border: 3px solid var(--dream-sky);
  box-shadow: 0 12px 36px rgba(13, 27, 75, 0.25);
}

.game-overlay-icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.game-overlay-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--dream-navy-mid);
  margin-bottom: 0.65rem;
}

.game-overlay-desc {
  font-size: 0.88rem;
  color: #4a5a72;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.game-overlay-legend {
  list-style: none;
  text-align: left;
  font-size: 0.8rem;
  color: #4a5a72;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.game-overlay-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot--gold { background: var(--dream-gold); }
.legend-dot--teal { background: var(--oyster-teal); }
.legend-dot--red  { background: var(--oyster-red); }

.game-btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--oyster-orange) 0%, #c86028 55%, #a84820 100%);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  border: none;
  border-bottom: 4px solid #8a3818;
  box-shadow: 0 6px 20px rgba(224, 120, 64, 0.35);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.15s, filter 0.2s;
}
.game-btn-start:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.game-btn-start:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.game-result-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dream-blue);
  margin-bottom: 0.25rem;
}

.game-result-score {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--oyster-red);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.game-result-msg {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--oyster-green-d);
  margin-bottom: 1.25rem;
}

.game-progress-wrap {
  height: 8px;
  margin-top: 1rem;
  border-radius: 99px;
  background: rgba(168, 216, 234, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.game-progress-bar {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oyster-green), var(--oyster-teal), var(--dream-gold));
  transform-origin: left center;
  transform: scaleX(1);
}

/* Catchable items */
.game-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  cursor: pointer;
  user-select: none;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.2));
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform, left, top;
}

.game-item:focus-visible {
  outline: 3px solid var(--dream-gold);
  outline-offset: 3px;
  border-radius: 50%;
}

.game-item-inner {
  display: block;
  line-height: 1;
  pointer-events: none;
}

/* Floating score popups */
.game-popup {
  position: absolute;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dream-gold);
  text-shadow: 0 2px 6px rgba(13, 27, 75, 0.4);
  pointer-events: none;
  z-index: 8;
}

.game-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 7;
}

@media (max-width: 540px) {
  .game-section { padding: 3rem 0; }
  .game-hud { flex-wrap: wrap; }
  .game-stat { min-width: calc(33% - 0.5rem); }
  .game-stat-value { font-size: 1.35rem; }
  .game-overlay-card,
  .game-result-card { padding: 1.25rem 1rem; }
  .game-overlay-title { font-size: 1.2rem; }
  .game-item { width: 46px; height: 46px; font-size: 1.6rem; }
}


/* ══════════════════════════════════════════════════
   FEATURED BOOKS SECTION
══════════════════════════════════════════════════ */
.books-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(to bottom, var(--dream-cloud) 0%, #dce8f4 45%, #d4f0e8 100%);
  position: relative;
  overflow: hidden;
}

/* Ribbon Banner */
.books-header { display: flex; justify-content: center; margin-bottom: 3rem; }
.ribbon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ribbon-main {
  background: var(--oyster-red);
  border: 3px solid #b03030;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  padding: .55rem 2.5rem;
  border-radius: .5rem;
  letter-spacing: .06em;
  box-shadow: 0 4px 18px rgba(217, 64, 64, 0.35);
  position: relative;
  z-index: 2;
}
.ribbon-tail {
  width: 22px; height: 36px;
  position: relative;
  z-index: 1;
}
.rt-left  { background: #b03030; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%); }
.rt-right { background: #b03030; clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%); }

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Shelf Side */
.shelf-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.shelf-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding-bottom: 0.5rem;
}
.shelf-books {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  height: 190px;
  padding: 0 1rem;
  position: relative;
  z-index: 5;
}

/* Featured cover mockups */
.shelf-books--covers {
  height: auto;
  min-height: 280px;
  align-items: flex-end;
  gap: 1.75rem;
  padding: 0 0.5rem 0.5rem;
}
.cover-book {
  flex: 1;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
}
.cover-book:nth-child(2) { transform: translateY(6px); }
.cover-book:hover {
  transform: translateY(-12px) scale(1.02);
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.22));
}
.cover-book:nth-child(2):hover { transform: translateY(-6px) scale(1.02); }
.cover-book-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--dream-cloud), var(--oyster-cream));
  box-shadow:
    0 14px 32px rgba(13, 27, 75, 0.15),
    0 4px 10px rgba(0,0,0,.1);
  transition: box-shadow .3s ease;
}
.cover-book:hover .cover-book-frame {
  box-shadow:
    0 22px 44px rgba(0,0,0,.26),
    0 8px 16px rgba(0,0,0,.14);
}
.cover-book-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}
.cover-book-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.06) 28%,
    transparent 45%,
    transparent 100%
  );
  pointer-events: none;
}
.cover-book-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0 0.25rem;
}
.cover-book:nth-child(1) .cover-book-frame {
  background: linear-gradient(145deg, #e8f5dc, var(--oyster-lime));
}
.cover-book:nth-child(2) .cover-book-frame {
  background: linear-gradient(145deg, #dce8f8, #a8c8e8);
}
.cover-book-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dream-navy-mid);
  line-height: 1.25;
}
.cover-book:nth-child(1) .cover-book-label { color: var(--oyster-green-d); }
.cover-book:nth-child(2) .cover-book-label { color: var(--dream-navy); }
.cover-book-author {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.cover-book:nth-child(1) .cover-book-author { color: var(--oyster-red); }
.cover-book:nth-child(2) .cover-book-author { color: var(--dream-blue); }
.cover-book-subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--dream-blue);
  font-style: italic;
  line-height: 1.2;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  width: 100%;
  max-width: 200px;
  background: linear-gradient(180deg, #ffb84d 0%, #ff9900 45%, #e88b00 100%);
  color: #111;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-radius: 99px;
  border: none;
  border-bottom: 3px solid #c27400;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s, filter 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 6;
}

.btn-amazon-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: #131921;
}

.btn-amazon:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 153, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #111;
}

.btn-amazon:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

.shelf-book {
  flex: 1;
  max-width: 110px;
  height: 180px;
  background: linear-gradient(135deg, var(--bk-color) 0%, var(--bk-spine) 100%);
  border-left: 4px solid var(--bk-spine);
  border-radius: 4px 6px 6px 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .3rem;
  cursor: pointer;
  box-shadow: 4px 6px 14px rgba(0,0,0,.25), inset -3px 0 0 rgba(0,0,0,.1);
  transition: transform .25s, box-shadow .25s;
}
.shelf-book:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 4px 14px 28px rgba(0,0,0,.3);
}
.book-pages-edge {
  position: absolute;
  right: 0; top: 6px; bottom: 6px;
  width: 7px;
  background: linear-gradient(to right, #f0e6d0, #fdf6e3);
  border-radius: 0 4px 4px 0;
}
.book-character {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  transition: transform .25s;
}
.shelf-book:hover .book-character { transform: scale(1.1); }
.book-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.shelf-plank-main {
  height: 22px;
  width: 100%;
  background: linear-gradient(to bottom, #c9a97a, #8B6914);
  border: 2px solid #6b4e10;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  position: relative;
  z-index: 6;
}
.shelf-legs {
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}
.shelf-leg {
  width: 12px; height: 48px;
  background: linear-gradient(to bottom, #8B6914, #5c3a14);
  border-radius: 0 0 4px 4px;
}

.shelf-amazon-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.75rem;
  padding: 0.65rem 0.5rem 0;
  margin-top: -0.45rem;
  position: relative;
  z-index: 4;
}

.shelf-amazon-row .btn-amazon {
  flex: 1;
  max-width: 200px;
  margin-top: 0;
}

.btn-see-all {
  background: var(--dream-navy-mid);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: .9rem 2.2rem;
  border-radius: 99px;
  border-bottom: 5px solid var(--dream-navy);
  box-shadow: 0 6px 20px rgba(13, 27, 75, 0.3);
  transition: background .2s, transform .15s;
}
.btn-see-all:hover { background: var(--dream-blue); transform: translateY(-2px); }
.btn-see-all:active { transform: translateY(3px); border-bottom-width: 1px; }

/* Night Scene */
.night-scene {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  background: linear-gradient(to bottom, #0d1b4b 0%, #1a2a6c 40%, #2d1b5e 70%, #3d1e5a 100%);
}

/* Right panel — video trailer only, full frame */
.night-scene--trailer {
  aspect-ratio: 16 / 9;
  background: var(--dream-navy);
  border: 7px solid #fff;
  border-radius: 1.25rem;
  box-shadow:
    0 14px 48px rgba(13, 27, 75, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(126, 200, 232, 0.25);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.night-scene--trailer:hover {
  box-shadow:
    0 18px 56px rgba(13, 27, 75, 0.4),
    0 0 0 1px rgba(245, 200, 66, 0.25),
    0 0 56px rgba(245, 200, 66, 0.2);
  transform: translateY(-2px);
}
.night-scene--trailer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.night-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.night-star {
  position: absolute;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 2s) var(--delay, 0s) ease-in-out infinite;
}

/* Night fairy lights */
.night-fairy-rope {
  position: absolute;
  top: 12%;
  left: 5%; right: 5%;
  height: 1px;
  background: rgba(201,169,122,.5);
  z-index: 3;
}
.night-fairy-lights {
  position: absolute;
  top: 10%;
  left: 5%; right: 5%;
  display: flex;
  justify-content: space-between;
  z-index: 4;
}
.nfl {
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 8px 4px rgba(253,224,71,.8);
  animation: twinkle-fairy 1.4s ease-in-out infinite;
}

/* Night Lantern */
.night-lantern {
  position: absolute;
  top: 14%;
  right: 8%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nl-rope { width: 2px; height: 20px; background: #c9a97a; }
.nl-top { width: 28px; height: 6px; background: #c9a97a; border-radius: 3px 3px 0 0; }
.nl-body {
  width: 26px; height: 36px;
  background: linear-gradient(to bottom, #fde68a, #f59e0b);
  border: 2px solid #c9a97a;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 20px 10px rgba(245,200,66,.55);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* Night scene — book trailer full frame */
.night-trailer {
  container-type: size;
  position: absolute;
  top: 16%;
  left: 3.5%;
  right: 30%;
  bottom: 18%;
  z-index: 10;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(74, 144, 217, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.night-trailer:hover {
  border-color: rgba(253, 224, 71, 0.5);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(253, 224, 71, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.night-trailer iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
  pointer-events: auto;
  /* Fill entire box — cover, no empty edges */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  min-width: 100%;
  min-height: 100%;
}
@supports not (width: 100cqw) {
  .night-trailer iframe {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }
}

/* Bunny scene */
.bunny-scene {
  position: absolute;
  bottom: 0;
  right: 4%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bunny-glow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 90px;
  background: #4a90d9;
  border-radius: 50%;
  opacity: .35;
  filter: blur(20px);
  animation: glow-pulse 2s ease-in-out infinite;
}
.bunny {
  position: relative;
  width: 100px; height: 125px;
}
.bunny-ear {
  position: absolute;
  top: 0;
  width: 22px; height: 48px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
}
.bunny-ear::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #ffb6c1;
}
.bunny-ear.bl { left: 14px; transform: rotate(-14deg); }
.bunny-ear.br { right: 12px; transform: rotate(22deg); }
.bunny-head {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 54px;
  background: linear-gradient(to bottom, #f8f8f8, #ececec);
  border-radius: 50%;
  border: 2px solid #e0e0e0;
}
.bunny-eye {
  position: absolute;
  top: 16px;
  width: 9px; height: 9px;
  background: #2a2a2a;
  border-radius: 50%;
}
.bunny-eye.bel { left: 10px; }
.bunny-eye.ber { right: 10px; }
.bunny-nose {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 5px;
  background: #ffb6c1;
  border-radius: 50%;
}
.bunny-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 62px;
  background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
  border-radius: 40%;
  border: 2px solid #e0e0e0;
}
.bunny-belly {
  position: absolute;
  inset: 8px 10px 6px;
  background: #fff;
  border-radius: 50%;
  opacity: .6;
}
.bunny-paw {
  position: absolute;
  bottom: 16px;
  width: 28px; height: 18px;
  background: #f0f0f0;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
}
.bunny-paw.bpl { left: -10px; }
.bunny-paw.bpr { right: -10px; }
.bunny-book {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 26px;
  background: linear-gradient(to right, #2b6cb0, #4a90d9);
  border-radius: 3px;
  border: 2px solid #fff;
  box-shadow: 0 0 18px 6px rgba(74,144,217,.7);
  z-index: 5;
}
.bunny-book-spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.6);
  transform: translateX(-50%);
}
.bunny-cushion {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px; height: 14px;
  background: linear-gradient(to bottom, #7b5ea7, #5a4282);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .books-grid { grid-template-columns: 1fr; }
  .night-scene--trailer { min-height: 260px; border-width: 5px; }
}
@media (max-width: 500px) {
  .shelf-books--covers {
    gap: 1rem;
    min-height: 220px;
  }
  .cover-book { max-width: 150px; }
  .cover-book-label { font-size: 0.78rem; }
  .cover-book-author { font-size: 0.7rem; }
  .btn-amazon { font-size: 0.72rem; padding: 0.5rem 0.75rem; max-width: 160px; }
  .btn-amazon-icon { font-size: 1.15rem; }
  .shelf-amazon-row { gap: 1rem; padding-top: 0.5rem; margin-top: -0.35rem; }
  .shelf-books { gap: .5rem; height: 150px; }
  .shelf-book { height: 145px; }
  .ribbon-main { font-size: 1.4rem; padding: .5rem 1.6rem; }
}


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0;
  background: linear-gradient(180deg, #e8f2f8 0%, #eef6f1 52%, #f0f7ea 100%);
  border-top: none;
}

.mushroom-deco {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .72;
}
.md-left  { left: 0; }
.md-right { right: 0; transform: scaleX(-1); }

.footer-owl {
  position: absolute;
  bottom: 78px;
  left: 72px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.72;
}
.footer-owl .owl-accent-img {
  width: 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  position: relative;
  z-index: 5;
  padding-bottom: 3rem;
  align-items: start;
}

.footer-col-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .85rem;
}
.footer-icon-circle {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #4caf7a 0%, #2eb8c4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(46, 184, 196, 0.28);
}
.footer-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #1a2850;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.footer-sub {
  font-size: .88rem;
  color: #5a6878;
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 26rem;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(26, 40, 80, 0.1);
}
.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: .72rem .95rem;
  font-size: .88rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  background: #fff;
  color: #1a2850;
}
.newsletter-input::placeholder {
  color: #9aa5b5;
  font-weight: 600;
}
.newsletter-btn {
  flex-shrink: 0;
  background: #e14b40;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  padding: .72rem 1.15rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.newsletter-btn:hover {
  background: #c93d33;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .62rem;
  margin-top: .85rem;
  list-style: none;
  padding: 0;
}
.footer-links li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: #5a6878;
  transition: color .2s;
  text-decoration: none;
}
.footer-links li a svg {
  flex-shrink: 0;
}
.footer-links li a:hover { color: var(--oyster-green); }
.footer-links.plain li a {
  display: block;
  padding-left: 0;
}
.footer-links.plain li a:hover {
  color: var(--dream-blue);
}

/* Footer contact details */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: .85rem;
  list-style: none;
  padding: 0;
}
.footer-contact li a {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  font-weight: 700;
  color: #5a6878;
  text-decoration: none;
  transition: color .2s ease, transform .25s ease;
}
.footer-contact li a:hover {
  color: var(--dream-blue);
  transform: translateX(4px);
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: linear-gradient(145deg, var(--dream-cloud), #dce8f4);
  border: 1.5px solid rgba(61, 106, 158, .25);
  box-shadow: 0 4px 12px rgba(13, 27, 75, .1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer-contact li a:hover .footer-contact-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 16px rgba(13, 27, 75, .18);
}
.footer-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.footer-contact-label {
  font-family: 'Fredoka', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dream-blue);
}

.social-icons {
  display: flex;
  gap: .85rem;
  margin-top: .85rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform .2s, box-shadow .2s;
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.youtube   { background: #ff0000; }
.social-btn.pinterest { background: #bd081c; }

/* Footer bottom bar */
.footer-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(168, 216, 234, 0.45);
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: .5rem;
  background: rgba(255, 255, 255, 0.28);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #1a2850;
  font-size: .88rem;
}
.footer-copy { font-size: .78rem; color: #6a7a90; }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer { padding-top: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-btn { padding-inline: .9rem; }
}


/* ══════════════════════════════════════════════════
   INNER PAGE HERO BANNER
══════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 7rem;
  text-align: center;
  background: linear-gradient(165deg, var(--dream-navy) 0%, var(--dream-navy-mid) 48%, var(--dream-blue) 100%);
}

/* Twinkling star field */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 28% 60%, #fde047 50%, transparent 51%),
    radial-gradient(2px 2px at 42% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 45%, #a8d8ea 50%, transparent 51%),
    radial-gradient(2px 2px at 72% 25%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 55%, #fde047 50%, transparent 51%),
    radial-gradient(2px 2px at 92% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 70%, #a8d8ea 50%, transparent 51%),
    radial-gradient(2px 2px at 65% 72%, #fff 50%, transparent 51%);
  opacity: .8;
  animation: pageHeroTwinkle 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pageHeroTwinkle {
  from { opacity: .45; }
  to   { opacity: .95; }
}

/* Soft moon glow */
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: 8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 66, .28) 0%, transparent 68%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fde047;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(253, 224, 71, .35);
  border-radius: 99px;
  padding: .45rem 1.15rem;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(4px);
}

.page-hero-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .35);
  margin-bottom: 1rem;
}
.page-hero-title .ph-accent  { color: #f5c842; }
.page-hero-title .ph-accent2 { color: #7ec8e8; }

.page-hero-sub {
  font-size: clamp(.98rem, 2vw, 1.12rem);
  line-height: 1.7;
  color: #d5e2f5;
  max-width: 620px;
  margin: 0 auto 1.6rem;
}

.page-hero-crumbs {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: #a8d8ea;
  background: rgba(13, 27, 75, .45);
  border: 1px solid rgba(168, 216, 234, .3);
  border-radius: 99px;
  padding: .5rem 1.2rem;
}
.page-hero-crumbs a {
  color: #fde047;
  text-decoration: none;
  transition: color .25s ease;
}
.page-hero-crumbs a:hover { color: #fff; }
.page-hero-crumbs .crumb-sep { color: #f5c842; font-size: .7rem; }

/* Floating decorations */
.page-hero-float {
  position: absolute;
  z-index: 2;
  font-size: 1.8rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
.page-hero-float--1 { top: 32%; left: 7%;  animation-delay: 0s; }
.page-hero-float--2 { top: 24%; right: 10%; animation-delay: 1.2s; font-size: 2.2rem; }
.page-hero-float--3 { bottom: 26%; left: 14%; animation-delay: 2s; font-size: 1.4rem; }
.page-hero-float--4 { bottom: 30%; right: 18%; animation-delay: .7s; }

.page-hero-owl {
  position: absolute;
  z-index: 2;
  bottom: 18%;
  right: 6%;
  opacity: .9;
  pointer-events: none;
}

/* Bottom wave into next section */
.page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}
.page-hero-wave svg { width: 100%; height: 60px; display: block; }

@media (max-width: 768px) {
  .page-hero { padding: 8rem 0 5.5rem; }
  .page-hero-float, .page-hero-owl { display: none; }
}


/* ══════════════════════════════════════════════════
   CONTACT PAGE SECTION
══════════════════════════════════════════════════ */
.contact-section {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #e8f5dc 0%, var(--dream-cloud) 55%, #dce8f4 100%);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  border-radius: 26px;
  padding: 2.2rem 2rem;
  box-shadow: 0 18px 45px rgba(13, 27, 75, .12);
  border: 2px solid rgba(168, 216, 234, .5);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 66, .25), transparent 70%);
}

.contact-heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dream-navy-mid);
  margin-bottom: .6rem;
}
.contact-lead {
  font-size: .95rem;
  line-height: 1.7;
  color: #4a5a75;
  margin-bottom: 1.6rem;
}

.contact-info-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--dream-navy-mid);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: linear-gradient(145deg, var(--dream-cloud), #dce8f4);
  border: 1.5px solid rgba(61, 106, 158, .25);
  box-shadow: 0 4px 12px rgba(13, 27, 75, .1);
}

.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-input,
.contact-textarea {
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dream-navy-mid);
  background: #f4f8fd;
  border: 2px solid rgba(61, 106, 158, .22);
  border-radius: 14px;
  padding: .85rem 1.1rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--dream-blue);
  box-shadow: 0 0 0 4px rgba(61, 106, 158, .14);
}
.contact-textarea { min-height: 140px; resize: vertical; }

.contact-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(180deg, var(--dream-blue) 0%, var(--dream-navy-mid) 55%, var(--dream-navy) 100%);
  border: none;
  border-bottom: 3px solid var(--dream-navy);
  border-radius: 99px;
  padding: .85rem 2rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 24px rgba(13, 27, 75, .28);
}
.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(13, 27, 75, .35);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
}
