/* Final art direction: dimensional paper, complete character silhouettes,
   and a full-height underwater chapter rather than detached stock cutouts. */
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-paper {
  min-height: 1040px;
}
.hero-buttons {
  position: relative;
  z-index: 3;
  margin: 23px auto 0;
}
.hero-facts {
  margin: 36px auto 344px;
  max-width: 690px;
}
.hero-friends {
  position: absolute;
  width: 550px;
  max-width: 55%;
  height: auto;
  left: 50%;
  bottom: 58px;
  translate: -50% 0;
  z-index: 2;
  filter: drop-shadow(0 12px 7px #102a580c);
  transform-origin: 50% 100%;
}
.hero-fish {
  width: 25%;
  max-width: 335px;
  left: 2%;
  top: 185px;
  transform: rotate(-10deg);
}
.hero-octopus {
  width: 19%;
  max-width: 245px;
  right: 3%;
  top: 205px;
  transform: rotate(7deg);
}
.hero-fish > img,
.hero-octopus > img {
  filter: drop-shadow(0 14px 14px #102a5812);
}
.hero-octopus .octopus-note {
  right: 15px;
  top: -30px;
}
.fish-note {
  font-size: 1rem;
  left: 10%;
  top: 112%;
  color: #477e87;
}
.doodle-curve {
  top: 109%;
  left: 0;
}
.hero-wave {
  height: 225px;
}
.joy-strip {
  display: block;
  overflow: hidden;
  padding-inline: 0;
}
.joy-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  width: 120%;
  margin-left: -10%;
}
.joy-strip-inner > span {
  white-space: nowrap;
}
.joy-strip-inner > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--yellow);
}
.story-section {
  min-height: 680px;
  height: 90svh;
  max-height: 1000px;
  padding: 0;
  isolation: isolate;
  background: #bce5e8;
}
.story-backdrop {
  position: absolute;
  inset: -1px;
  z-index: -2;
  background: url("../assets/images/underwater-garden.webp") center/cover
    no-repeat;
}
.story-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #d9f5ff00 25%,
    #e5f5ee55 52%,
    #e5f5ee77 76%,
    #d9f5ff00
  );
}
.story-section .wave-top {
  z-index: 3;
  height: 70px;
}
.story-section .wave-bottom {
  z-index: 3;
  height: 65px;
}
.story-grid {
  height: 100%;
  gap: 60px;
  align-items: center;
  padding-block: 65px;
  position: relative;
  z-index: 1;
}
.story-scene {
  height: 450px;
  position: relative;
}
.story-fish {
  width: 410px;
  max-width: 100%;
  top: 80px;
  left: 0;
  z-index: 2;
}
.story-orbit {
  width: 360px;
  height: 360px;
  left: 0;
  top: 55px;
  border-color: #3d8b9a60;
}
.story-orbit::after {
  background: #c1ece648;
}
.story-doodle {
  right: 20px;
  top: 28px;
  font-size: 1rem;
  color: #285d6b;
}
.story-octopus {
  position: absolute;
  width: 115px;
  bottom: -5px;
  left: 15px;
  transform: rotate(8deg);
  z-index: 3;
  filter: drop-shadow(0 9px 6px #164a5815);
}
.story-copy .handwritten {
  color: #266879;
}
.story-copy h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}
.story-copy > p {
  color: #24495e;
  max-width: 405px;
  font-weight: 600;
}
.story-caption {
  position: absolute;
  bottom: 62px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #234e60;
  z-index: 2;
}
.light-rays {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background: conic-gradient(
    from 160deg at 50% -10%,
    transparent 0 9deg,
    #fff9e240 10deg 13deg,
    transparent 14deg 26deg,
    #fff9e240 27deg 31deg,
    transparent 32deg
  );
  pointer-events: none;
}
.pyjama-scene {
  height: auto;
  max-width: 830px;
  margin-top: 28px;
  padding: 20px 0 15px;
}
.pyjama-ensemble {
  width: 100%;
  position: relative;
  z-index: 2;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 12px 8px #b14e6310);
}
.pyjama-doodle {
  top: 2px;
  left: -25px;
  z-index: 3;
}
.pyjama-star {
  top: 15px;
  right: -15px;
}
.activity-fish {
  width: 250px;
}
.hero-date-line {
  display: none;
}
.water-play-scene {
  position: absolute;
  width: 265px;
  max-width: 90%;
  left: 50%;
  top: 53%;
  translate: -50% -50%;
  filter: drop-shadow(0 10px 7px #2a7a6710);
}
.activity-water:hover .water-play-scene {
  transform: translateY(-5px) rotate(-2deg);
}
.success-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.final-cta {
  background: #d9f1ef;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#e5f5efed, #d9f1efb8),
    url("../assets/images/underwater-garden.webp") center 80% / cover;
  z-index: -1;
}
.footer-fish {
  width: 235px;
  left: -35px;
  top: 20px;
}
.final-cta .bubble-field {
  inset: -70px -40px -90px;
  z-index: 0;
}
.page-hidden *,
.page-hidden *::before,
.page-hidden *::after {
  animation-play-state: paused !important;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
@media (min-width: 1600px) {
  .hero-paper {
    min-height: 1090px;
  }
  .hero-friends {
    width: 625px;
    bottom: 54px;
  }
  .hero-facts {
    margin-bottom: 360px;
  }
  .hero-fish {
    top: 190px;
    left: 3%;
  }
  .hero-octopus {
    top: 210px;
    right: 4%;
  }
}
@media (max-width: 1199px) {
  .hero-paper {
    min-height: 1000px;
  }
  .hero-friends {
    width: 525px;
    bottom: 63px;
  }
  .hero-fish {
    top: 205px;
    width: 22%;
    left: 1%;
  }
  .hero-octopus {
    top: 210px;
    width: 19%;
    right: 2%;
  }
  .hero-facts {
    max-width: 550px;
    margin-bottom: 330px;
  }
  .fish-note {
    font-size: 0.9rem;
  }
  .story-grid {
    gap: 35px;
  }
  .story-fish {
    width: 355px;
    top: 100px;
  }
  .story-orbit {
    width: 300px;
    height: 300px;
    top: 85px;
  }
  .story-doodle {
    right: 0;
    font-size: 0.9rem;
  }
  .story-octopus {
    width: 103px;
    bottom: 10px;
  }
  .footer-fish {
    width: 180px;
    left: -25px;
    top: 55px;
  }
}
@media (max-width: 899px) {
  .hero-paper {
    min-height: 960px;
  }
  .hero-friends {
    max-width: 66%;
    width: 500px;
    bottom: 62px;
  }
  .hero-fish {
    width: 23%;
    top: 245px;
    left: 0.5%;
  }
  .hero-octopus {
    width: 20%;
    top: 250px;
    right: 1%;
  }
  .hero-facts {
    max-width: 470px;
    margin-bottom: 300px;
  }
  .fish-note {
    font-size: 0.75rem;
  }
  .hero-octopus .octopus-note {
    right: 0;
    top: -28px;
    font-size: 0.8rem;
  }
  .story-section {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 70px 0 75px;
  }
  .story-grid {
    padding: 0;
    gap: 25px;
  }
  .story-scene {
    height: 360px;
  }
  .story-fish {
    width: 290px;
    top: 65px;
    left: 0;
  }
  .story-orbit {
    width: 260px;
    height: 260px;
    top: 40px;
  }
  .story-octopus {
    width: 85px;
    bottom: 0;
    left: 0;
  }
  .story-doodle {
    top: 13px;
    font-size: 0.8rem;
  }
  .story-copy h2 {
    font-size: 2.5rem;
  }
  .story-copy > p {
    font-size: 0.94rem;
  }
  .story-caption {
    display: none;
  }
  .story-section .wave-top,
  .story-section .wave-bottom {
    height: 40px;
  }
  .joy-strip-inner {
    gap: 24px;
  }
  .joy-strip-inner > span:last-child {
    display: none;
  }
  .joy-strip-inner > svg:last-of-type {
    display: none;
  }
  .pyjama-scene {
    padding-top: 15px;
    margin-top: 30px;
  }
  .pyjama-doodle {
    top: -3px;
    left: 0;
    font-size: 0.95rem;
  }
  .pyjama-star {
    right: 0;
    top: 3px;
  }
  .footer-fish {
    width: 150px;
    left: -25px;
    top: 70px;
  }
}
@media (max-width: 699px) {
  .hero-paper {
    min-height: 0;
    padding: 33px 15px 0;
  }
  .hero-copy {
    display: block;
  }
  .hero-art {
    position: relative;
    inset: auto;
    height: 285px;
    margin: 10px -3px 0;
    max-width: 450px;
    margin-inline: auto;
  }
  .hero-fish {
    width: 39%;
    max-width: 165px;
    left: 7%;
    top: 10px;
    transform: rotate(-10deg);
  }
  .hero-octopus {
    width: 29%;
    max-width: 126px;
    right: 10%;
    top: 3px;
    transform: rotate(7deg);
  }
  .hero-octopus .octopus-note {
    top: -13px;
    right: -27px;
    font-size: 0.7rem;
  }
  .hero-friends {
    width: 100%;
    max-width: 100%;
    bottom: 0;
    left: 50%;
    translate: -50% 0;
  }
  .hero-art .sparkle-one {
    top: 25px;
    left: 49%;
    width: 15px;
    height: 15px;
  }
  .hero-art .sparkle-two {
    top: 139px;
    right: 4%;
    width: 16px;
    height: 16px;
  }
  .hero-art .sparkle-three {
    top: 132px;
    left: 3%;
    width: 13px;
    height: 13px;
  }
  .hero-buttons {
    margin: 22px auto 0;
    gap: 18px;
  }
  .hero-facts {
    margin: 26px auto 66px;
    max-width: 340px;
    gap: 8px;
  }
  .hero-facts > span {
    font-size: 0.7rem;
    padding: 8px 10px;
  }
  .hero-facts > span:first-child {
    flex-basis: auto;
  }
  .hero-fish .fish-note,
  .doodle-curve {
    display: none;
  }
  .hero-wave {
    height: 125px;
  }
  .joy-strip {
    font-size: 0.76rem;
    padding-block: 14px;
  }
  .joy-strip-inner {
    gap: 16px;
    width: 100%;
    margin: 0;
  }
  .joy-strip-inner > span:nth-of-type(n + 3),
  .joy-strip-inner > svg:nth-of-type(n + 2) {
    display: none;
  }
  .joy-strip-inner > svg {
    width: 12px;
    height: 12px;
  }
  .story-section {
    padding: 60px 0 68px;
  }
  .story-backdrop {
    background-position: 48% center;
  }
  .story-backdrop::after {
    background: linear-gradient(
      #dcf4f300,
      #e5f5ef90 40%,
      #e5f5efde 62%,
      #d9f1ef44
    );
  }
  .story-grid {
    gap: 17px;
  }
  .story-scene {
    height: 290px;
    width: min(345px, 100%);
  }
  .story-fish {
    width: 290px;
    left: 20px;
    top: 39px;
    max-width: 90%;
  }
  .story-orbit {
    width: 250px;
    height: 250px;
    left: 30px;
    top: 10px;
    background: #ffffff18;
  }
  .story-octopus {
    width: 75px;
    left: 0;
    bottom: -5px;
  }
  .story-doodle {
    right: 2px;
    top: 3px;
    font-size: 0.75rem;
  }
  .story-copy h2 {
    font-size: 2.25rem;
  }
  .story-copy > p {
    color: #24495e;
    font-size: 0.96rem;
  }
  .story-copy .handwritten {
    font-size: 0.91rem;
  }
  .activity-fish {
    width: 175px;
  }
  .pyjama-scene {
    margin-top: 28px;
    padding: 23px 0 13px;
    max-width: 470px;
  }
  .pyjama-ensemble {
    width: 112%;
    max-width: 112%;
    margin-left: -6%;
  }
  .pyjama-doodle {
    font-size: 0.75rem;
    top: 0;
    left: 0;
  }
  .pyjama-star {
    width: 18px;
    height: 18px;
    top: 4px;
    right: 0;
  }
  .footer-fish {
    width: 90px;
    top: -25px;
    left: -27px;
    opacity: 0.4;
  }
  .final-cta::before {
    background:
      linear-gradient(#e5f5eff0, #d9f1efe0),
      url("../assets/images/underwater-garden.webp") center/cover;
  }
  .final-cta .bubble-field {
    inset: -50px -15px -75px;
  }
}
@media (max-width: 374px) {
  .hero-paper {
    padding-inline: 11px;
  }
  .hero-art {
    height: 240px;
    margin-top: 14px;
  }
  .hero-fish {
    width: 39%;
    left: 5%;
    top: 0;
  }
  .hero-octopus {
    width: 29%;
    right: 8%;
    top: 0;
  }
  .hero-buttons {
    margin-top: 19px;
  }
  .hero-facts {
    gap: 6px;
    margin-top: 25px;
  }
  .hero-facts > span {
    font-size: 0.64rem;
    padding: 8px;
  }
  .hero-art .sparkle-two {
    top: 110px;
  }
  .hero-art .sparkle-three {
    top: 103px;
  }
  .story-copy h2 {
    font-size: 2rem;
  }
  .story-fish {
    width: 260px;
    top: 40px;
    left: 15px;
  }
  .story-orbit {
    width: 225px;
    height: 225px;
    left: 20px;
  }
  .story-scene {
    height: 270px;
  }
  .activity-fish {
    width: 147px;
  }
  .pyjama-doodle {
    font-size: 0.67rem;
  }
  .joy-strip {
    font-size: 0.69rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-fish,
  .hero-fish,
  .hero-octopus,
  .hero-friends,
  .pyjama-ensemble {
    will-change: auto;
  }
  .story-caption {
    opacity: 1;
  }
  .light-rays {
    display: none;
  }
}
@media (max-width: 699px) {
  .hero-date-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 800;
    margin: 0 0 17px;
  }
  .hero-date-line .icon {
    width: 15px;
    height: 15px;
  }
  .hero-tagline {
    margin-bottom: 23px;
  }
  .hero-art {
    height: 264px;
    margin-top: 12px;
  }
  .hero-friends {
    bottom: 0;
  }
  .hero-buttons {
    margin-top: 17px;
  }
  .water-play-scene {
    width: 180px;
    max-width: 115%;
  }
}
@media (max-width: 374px) {
  .hero-date-line {
    font-size: 0.65rem;
    gap: 6px;
    margin-bottom: 14px;
  }
  .hero-art {
    height: 230px;
  }
  .water-play-scene {
    width: 150px;
  }
}
@media (hover: none) {
  .activity-water:hover .water-play-scene {
    transform: none;
  }
}
