:root {
  --pink: #ffd7e8;
  --hot-pink: #ff6eb6;
  --bubblegum: #ff9bcf;
  --paper: #fff8fb;
  --ink: #42313a;
  --purple: #8b5a86;
  --mint: #b8ead7;
  --yellow: #fff3a6;
  --shadow: rgba(100, 45, 70, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Comic Sans MS", "Comic Sans", "Marker Felt", cursive;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(255, 155, 207, 0.22) 25%, transparent 25%) 0 0 / 42px 42px,
    linear-gradient(45deg, #ffe6f1, #fff8fb 36%, #ffe9c8 72%, #f1fff8);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  color: rgba(255, 88, 160, 0.28);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 1;
  transform: rotate(-14deg);
  content: "M O C H I";
}

body::before {
  top: 2rem;
  left: -1.5rem;
}

body::after {
  right: -2rem;
  bottom: 1rem;
  transform: rotate(12deg);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.32) 7px),
    repeating-linear-gradient(90deg, rgba(139, 90, 134, 0.06) 0 1px, transparent 1px 9px);
  mix-blend-mode: multiply;
}

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

.hero,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  text-align: center;
}

.blinkie {
  justify-self: center;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.75rem;
  color: #5d3155;
  font-size: clamp(0.88rem, 2vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background:
    linear-gradient(90deg, var(--yellow), var(--mint), var(--pink), var(--yellow));
  border: 3px dashed var(--hot-pink);
  box-shadow: 4px 4px 0 var(--purple);
  animation: jiggle 1.7s steps(2, end) infinite;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  display: grid;
  justify-items: center;
  margin-bottom: 0;
  color: #ff4da3;
  font-size: clamp(4rem, 14vw, 8.5rem);
  line-height: 0.86;
  text-shadow:
    3px 3px 0 #fff,
    7px 7px 0 var(--mint),
    10px 10px 0 var(--purple);
}

h1 span {
  display: block;
  max-width: 100%;
}

h1 span + span {
  margin-top: -0.08em;
  font-size: 0.58em;
}

h2 {
  margin-bottom: 0.75rem;
  color: #80406f;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 0.95;
  text-decoration: underline wavy var(--hot-pink);
}

.subtitle {
  max-width: 48rem;
  margin-inline: auto;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
}

.hero-card {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%) 0 0 / 18px 18px,
    var(--paper);
  border: 4px solid white;
  box-shadow:
    0 18px 40px var(--shadow),
    10px 10px 0 var(--bubblegum),
    -10px -10px 0 var(--mint);
  transform: rotate(-1deg);
}

.hero-card img {
  height: min(62vh, 720px);
  object-fit: cover;
  object-position: center;
  border: 3px solid #ffb3d5;
}

.tape {
  position: absolute;
  margin: 0;
  padding: 0.45rem 1.2rem;
  color: #76515d;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 243, 166, 0.78);
  border: 1px dotted #d39a48;
  box-shadow: 0 2px 8px rgba(88, 54, 44, 0.18);
}

.tape-left {
  top: -0.8rem;
  left: 1rem;
  transform: rotate(-8deg);
}

.tape-right {
  right: 1rem;
  bottom: -0.8rem;
  transform: rotate(8deg);
}

main {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.panel {
  padding: clamp(1.1rem, 3vw, 2rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(0deg, #fff 0 22px, #ffe4f0 23px 24px);
  border: 3px dotted var(--bubblegum);
  box-shadow: 8px 8px 0 rgba(139, 90, 134, 0.25);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.intro p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.5;
}

.stats {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 0.75rem;
  color: #503b47;
  background: #fff3fb;
  border: 2px solid #ffc0dc;
  box-shadow: 4px 4px 0 var(--yellow);
}

.stats span {
  display: block;
  color: #ba397c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  gap: 2rem;
  padding: 0.8rem 0;
  overflow: hidden;
  color: white;
  font-weight: 800;
  text-shadow: 2px 2px 0 #7a315f;
  background:
    repeating-linear-gradient(45deg, #ff75b8 0 14px, #ffb3d5 14px 28px);
  border-block: 4px solid white;
  box-shadow: 0 8px 0 var(--mint);
}

.marquee span {
  flex: 0 0 max-content;
  min-width: 100%;
  animation: slide 14s linear infinite;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.gallery h2 {
  grid-column: 1 / -1;
  text-align: center;
}

.photo-card {
  position: relative;
  grid-column: span 4;
  margin: 0;
  padding: 0.8rem 0.8rem 1.2rem;
  background: var(--paper);
  border: 2px solid white;
  box-shadow:
    0 16px 26px var(--shadow),
    6px 6px 0 #f7aacd;
}

.photo-card::before {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  width: 7rem;
  height: 2rem;
  background: rgba(190, 234, 215, 0.72);
  border: 1px dashed rgba(61, 124, 102, 0.45);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
}

.photo-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid #ffcee4;
  filter: saturate(1.08) contrast(0.98);
}

.photo-card figcaption {
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.25;
  text-align: center;
}

.rotate-left {
  transform: rotate(-2deg);
}

.rotate-right {
  transform: rotate(2deg);
}

.tall {
  margin-top: 2rem;
}

.tiny {
  margin-top: -1rem;
}

.awards {
  text-align: center;
}

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.badges p {
  display: grid;
  place-items: center;
  min-height: 9rem;
  margin: 0;
  padding: 1rem;
  color: #6f305c;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.2;
  background:
    radial-gradient(circle, var(--yellow) 0 44%, transparent 45%),
    radial-gradient(circle, #ffadd1 0 59%, transparent 60%);
}

.badges strong {
  color: #2f7d63;
  font-size: 1.35em;
  text-transform: uppercase;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 0 2rem;
  text-align: center;
}

footer a {
  color: #8c2866;
  font-weight: 800;
}

footer p {
  margin: 0;
}

@keyframes jiggle {
  0%,
  100% {
    transform: rotate(-1deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(2px);
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 2rem));
  }
}

@media (max-width: 760px) {
  .hero,
  main,
  footer {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  h1 {
    text-shadow:
      2px 2px 0 #fff,
      5px 5px 0 var(--mint),
      7px 7px 0 var(--purple);
  }

  h1 span + span {
    margin-top: 0;
  }

  .hero-card {
    transform: rotate(0deg);
  }

  .hero-card img {
    height: min(62vh, 480px);
  }

  .intro,
  .badges {
    grid-template-columns: 1fr;
  }

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

  .photo-card {
    grid-column: auto;
    transform: none;
  }

  .tall,
  .tiny {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
