:root {
  --bg: #fff4cf;
  --bg-soft: #fffaf0;
  --ink: #17365d;
  --ink-soft: #39597f;
  --line: #0d2340;
  --red: #ef5350;
  --red-dark: #c93330;
  --yellow: #ffd53d;
  --blue: #2f80ed;
  --blue-dark: #1f5aa6;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 20px 50px rgba(16, 36, 67, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --wrapper: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 213, 61, 0.8), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 128, 237, 0.18), transparent 24%),
    linear-gradient(180deg, #fffbe9 0%, #ffe48e 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.wrapper {
  width: min(calc(100% - 32px), var(--wrapper));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 224, 0.88);
  border-bottom: 2px solid rgba(13, 35, 64, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-family: "Bungee", cursive;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.nav-toggle {
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-toggle:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(13, 35, 64, 0.2);
}

.nav-toggle {
  display: none;
  font: inherit;
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 48%),
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.36), transparent 22%);
  pointer-events: none;
}

.hero-grid,
.contact-grid,
.two-column,
.spotlight-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 72px 0 56px;
}

.page-hero .wrapper {
  padding: 72px 0 28px;
}

.hero-copy h1,
.page-hero h1 {
  font-family: "Bungee", cursive;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--blue-dark);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-dark);
}

.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
  color: var(--ink-soft);
}

.narrow {
  max-width: 780px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--blue-dark);
  border-color: rgba(13, 35, 64, 0.12);
}

.hero-art {
  position: relative;
  min-height: 460px;
}

.landing-active [data-landing-pop] {
  animation-duration: 0.95s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  will-change: transform, opacity;
}

.landing-active [data-landing-pop="eyebrow"] {
  animation-name: popInUp;
  animation-delay: 0.08s;
}

.landing-active [data-landing-pop="title"] {
  animation-name: popInLeft;
  animation-delay: 0.18s;
}

.landing-active [data-landing-pop="lead"] {
  animation-name: popInLeft;
  animation-delay: 0.34s;
}

.landing-active [data-landing-pop="buttons"] {
  animation-name: popInUp;
  animation-delay: 0.52s;
}

.landing-active [data-landing-pop="art"] {
  animation-name: heroArtEntrance;
  animation-delay: 0.18s;
}

.landing-active [data-landing-pop="ball"] {
  animation-name: bounceSpinIn;
  animation-delay: 0.34s;
}

.landing-active [data-landing-pop="card-left"] {
  animation-name: cardSlideLeft;
  animation-delay: 0.62s;
}

.landing-active [data-landing-pop="card-right"] {
  animation-name: cardSlideRight;
  animation-delay: 0.8s;
}

.landing-active [data-landing-pop="card-bottom"] {
  animation-name: cardSlideUp;
  animation-delay: 0.98s;
}

.landing-active [data-landing-pop="section-heading"] {
  animation-name: popInUp;
  animation-delay: 1.15s;
}

.landing-active [data-landing-pop="feature-one"] {
  animation-name: playfulLift;
  animation-delay: 1.4s;
}

.landing-active [data-landing-pop="feature-two"] {
  animation-name: playfulLift;
  animation-delay: 1.58s;
}

.landing-active [data-landing-pop="feature-three"] {
  animation-name: playfulLift;
  animation-delay: 1.76s;
}

.landing-active [data-landing-pop="spotlight-copy"] {
  animation-name: popInLeft;
  animation-delay: 1.98s;
}

.landing-active [data-landing-pop="spotlight-timeline"] {
  animation-name: popInRight;
  animation-delay: 2.12s;
}

.pokeball {
  position: absolute;
  inset: 40px 18px 20px 18px;
  margin: auto;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 49.5%, #f9fafb 49.5% 100%);
  border: 10px solid var(--line);
  box-shadow: var(--shadow);
}

.pokeball::before {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  right: 0;
  height: 16px;
  background: var(--line);
}

.pokeball-center {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  border: 12px solid var(--line);
  z-index: 1;
}

.pokeball-center::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--line);
}

.floating-card {
  position: absolute;
  width: 170px;
  padding: 22px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(13, 35, 64, 0.12);
  box-shadow: var(--shadow);
  text-align: center;
  font-family: "Bungee", cursive;
  color: var(--blue-dark);
}

.card-one {
  top: 24px;
  left: 2px;
  transform: rotate(-10deg);
}

.card-two {
  right: 2px;
  top: 132px;
  transform: rotate(12deg);
  animation-delay: 1.2s;
}

.card-three {
  left: 96px;
  bottom: 8px;
  transform: rotate(-4deg);
  animation-delay: 0.7s;
}

@keyframes floatCard {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes popInUp {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.96);
  }
  65% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popInLeft {
  0% {
    opacity: 0;
    transform: translateX(-42px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateX(8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes popInRight {
  0% {
    opacity: 0;
    transform: translateX(42px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateX(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroArtEntrance {
  0% {
    opacity: 0;
    transform: translateY(38px) scale(0.92);
  }
  55% {
    opacity: 1;
    transform: translateY(-10px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounceSpinIn {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-18deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.06) rotate(7deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes cardSlideLeft {
  0% {
    opacity: 0;
    transform: translate(-42px, 28px) rotate(-18deg) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translate(10px, -6px) rotate(-7deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-10deg) scale(1);
  }
}

@keyframes cardSlideRight {
  0% {
    opacity: 0;
    transform: translate(42px, -18px) rotate(22deg) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translate(-8px, 4px) rotate(8deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(12deg) scale(1);
  }
}

@keyframes cardSlideUp {
  0% {
    opacity: 0;
    transform: translate(-10px, 44px) rotate(-10deg) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translate(4px, -8px) rotate(-2deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-4deg) scale(1);
  }
}

@keyframes playfulLift {
  0% {
    opacity: 0;
    transform: translateY(42px) rotate(-1.5deg) scale(0.94);
  }
  55% {
    opacity: 1;
    transform: translateY(-10px) rotate(1deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.section {
  padding: 26px 0 56px;
}

.section-alt {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.content-card h2,
.history-card h2,
.contact-form h2,
.thank-you-card h1 {
  font-family: "Bungee", cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.feature-grid,
.story-grid,
.history-layout {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.content-card,
.timeline-card,
.history-card,
.stat-card,
.contact-form,
.thank-you-card,
.collection-card,
.collection-note {
  background: var(--card);
  border: 2px solid rgba(13, 35, 64, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card,
.content-card,
.timeline-card,
.history-card,
.stat-card,
.contact-form,
.thank-you-card {
  padding: 28px;
}

.feature-card h3,
.timeline-step h3,
.stat-card h3,
.collection-card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.feature-card p,
.content-card p,
.timeline-step p,
.history-card p,
.stat-card li,
.faq-item p,
.collection-note,
.contact-form label,
.thank-you-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.spotlight-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.timeline-card {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #ffec99);
  border: 3px solid rgba(13, 35, 64, 0.14);
  font-family: "Bungee", cursive;
  color: var(--red-dark);
}

.stat-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.collection-note {
  margin-bottom: 22px;
  padding: 18px 20px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  padding: 14px;
  overflow: hidden;
}

.collection-figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 5 / 7;
  background: linear-gradient(135deg, #3b5ba7, #ffcf3f 68%, #f5f7fb);
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.collection-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.85rem;
}

.collection-copy {
  padding-top: 14px;
}

.collection-copy h3 {
  font-size: 1rem;
}

.collection-copy p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(13, 35, 64, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--blue-dark);
}

.faq-item p {
  margin: 14px 0 0;
}

.contact-grid,
.two-column {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(13, 35, 64, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(47, 128, 237, 0.2);
  border-color: rgba(47, 128, 237, 0.6);
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.thank-you-card {
  text-align: center;
}

.centered {
  justify-content: center;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: rgba(20, 41, 72, 0.92);
  color: rgba(255, 255, 255, 0.92);
}

.footer-shell a {
  font-weight: 700;
  color: #ffd53d;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .story-grid,
  .history-layout,
  .contact-grid,
  .two-column,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 360px;
  }

  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    text-align: center;
  }

  .hero-grid {
    padding-top: 52px;
  }

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

@media (max-width: 520px) {
  .wrapper {
    width: min(calc(100% - 22px), var(--wrapper));
  }

  .feature-card,
  .content-card,
  .timeline-card,
  .history-card,
  .stat-card,
  .contact-form,
  .thank-you-card {
    padding: 22px;
  }

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

  .timeline-step {
    grid-template-columns: 1fr;
  }
}

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

  .floating-card,
  .landing-active [data-landing-pop] {
    animation: none !important;
  }
}
