:root {
  --bg: #fff3a8;
  --ink: #1a1208;
  --coral: #ff4d3a;
  --teal: #00b3a4;
  --cream: #fff8e7;
  --deep: #2b1a0e;
  --shadow: rgba(43, 26, 14, 0.18);
  --font-display: "Rubik Bubbles", system-ui, sans-serif;
  --font-title: "Unbounded", system-ui, sans-serif;
  --font-body: "Shantell Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 77, 58, 0.28), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(0, 179, 164, 0.3), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255, 140, 0, 0.22), transparent 45%),
    linear-gradient(160deg, #ffe566 0%, #fff3a8 45%, #ffe0c2 100%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  filter: blur(8px);
  animation: morph 12s ease-in-out infinite, drift 18s ease-in-out infinite;
  opacity: 0.55;
}

.blob-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -8%;
  top: 18%;
  background: #ff7a66;
  animation-delay: 0s, -2s;
}

.blob-b {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  right: -6%;
  top: 8%;
  background: #35d6c6;
  animation-delay: -4s, -6s;
}

.blob-c {
  width: min(44vw, 380px);
  height: min(44vw, 380px);
  right: 18%;
  bottom: -10%;
  background: #ffb347;
  animation-delay: -7s, -1s;
}

@keyframes morph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; transform: rotate(0deg) scale(1); }
  33% { border-radius: 58% 42% 40% 60% / 55% 48% 52% 45%; transform: rotate(12deg) scale(1.08); }
  66% { border-radius: 40% 60% 58% 42% / 42% 58% 42% 58%; transform: rotate(-8deg) scale(0.94); }
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 30px -40px; }
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 3px solid var(--deep);
  background: var(--deep);
  color: var(--cream);
  padding: 0.55rem 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  white-space: nowrap;
}

.ticker__group span {
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 42px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 4rem;
  position: relative;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: clamp(0.7rem, 1.6vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
  opacity: 0.75;
  animation: fadeUp 0.8s ease both;
}

.brand {
  margin: 0;
  line-height: 0.88;
  display: grid;
  gap: 0.15em;
}

.brand__line {
  display: flex;
  justify-content: center;
  gap: 0.02em;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 18vw, 11rem);
  letter-spacing: 0.02em;
  color: var(--deep);
  text-shadow:
    0.04em 0.04em 0 var(--coral),
    0.08em 0.08em 0 rgba(0, 179, 164, 0.45);
}

.brand__line--accent {
  color: var(--coral);
  text-shadow:
    0.04em 0.04em 0 var(--deep),
    0.08em 0.08em 0 rgba(255, 179, 71, 0.65);
}

.brand__line span {
  display: inline-block;
  animation:
    letterIn 0.7s cubic-bezier(0.22, 1.4, 0.36, 1) both,
    wiggle 2.8s ease-in-out infinite;
  animation-delay:
    calc(var(--d, 0) * 0.07s),
    calc(0.9s + var(--d, 0) * 0.12s);
  transform-origin: 50% 80%;
}

.brand__line span:nth-child(1) { --d: 0; }
.brand__line span:nth-child(2) { --d: 1; }
.brand__line span:nth-child(3) { --d: 2; }
.brand__line span:nth-child(4) { --d: 3; }
.brand__line span:nth-child(5) { --d: 4; }
.brand__line--accent span:nth-child(1) { --d: 5; }
.brand__line--accent span:nth-child(2) { --d: 6; }
.brand__line--accent span:nth-child(3) { --d: 7; }

@keyframes letterIn {
  from { opacity: 0; transform: translateY(0.7em) rotate(-12deg) scale(0.6); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-0.04em); }
}

.hero__sub {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  animation: fadeUp 0.8s ease 0.55s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  animation: fadeUp 0.8s ease 0.7s both;
}

.btn {
  appearance: none;
  border: 3px solid var(--deep);
  background: var(--coral);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--deep);
  background: #ff6352;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--deep);
}

.btn--ghost {
  background: var(--cream);
  color: var(--deep);
}

.btn--ghost:hover {
  background: #fff;
}

.stamp {
  position: absolute;
  right: clamp(4%, 8vw, 12%);
  bottom: 12%;
  width: clamp(110px, 18vw, 170px);
  height: clamp(110px, 18vw, 170px);
  border: 5px solid var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--coral);
  letter-spacing: 0.08em;
  transform: rotate(-18deg) scale(0);
  opacity: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(255, 77, 58, 0.35);
  text-transform: uppercase;
}

.stamp.is-on {
  animation: stampIn 0.55s cubic-bezier(0.2, 1.4, 0.3, 1) forwards;
}

@keyframes stampIn {
  0% { opacity: 0; transform: rotate(-40deg) scale(1.6); }
  60% { opacity: 1; transform: rotate(-12deg) scale(0.92); }
  100% { opacity: 1; transform: rotate(-18deg) scale(1); }
}

.proof,
.gallery,
.finale {
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0.75rem 0 2rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.9;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact {
  padding: 1.35rem 1.2rem 1.5rem;
  border: 3px solid var(--deep);
  border-radius: 18px;
  background: color-mix(in srgb, var(--cream) 82%, white);
  box-shadow: 5px 5px 0 var(--deep);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  transition-delay: calc(var(--i) * 0.1s);
}

.fact.is-in {
  transform: translateY(0);
  opacity: 1;
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.fact span {
  font-size: 1rem;
  line-height: 1.35;
}

.gallery {
  text-align: center;
}

.gallery .section-lead {
  margin-inline: auto;
}

.wall {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sticker {
  position: relative;
  padding: 1.2rem 1.15rem 1.35rem;
  border: 3px solid var(--deep);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--deep);
  transform: rotate(var(--r, 0deg)) translateY(28px);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    box-shadow 0.2s ease;
  transition-delay: calc(var(--i) * 0.08s);
  overflow: hidden;
}

.sticker::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(43, 26, 14, 0.08);
}

.sticker::after {
  content: "★";
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  font-size: 1rem;
  opacity: 0.55;
}

.sticker.is-in {
  opacity: 1;
  transform: rotate(var(--r, 0deg)) translateY(0);
  animation: stickerFloat 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.25s);
}

.sticker:hover {
  z-index: 2;
  box-shadow: 8px 8px 0 var(--deep);
  transform: rotate(0deg) translateY(-4px) scale(1.03);
  animation: none;
}

.sticker--coral { background: #ff6f5c; color: var(--cream); }
.sticker--teal { background: #14c4b4; color: var(--cream); }
.sticker--sun { background: #ffc857; color: var(--deep); }
.sticker--cream { background: var(--cream); color: var(--deep); }

.sticker__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.sticker h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.sticker p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  opacity: 0.95;
}

@keyframes stickerFloat {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  50% { transform: rotate(var(--r, 0deg)) translateY(-6px); }
}

.finale {
  text-align: center;
  padding-bottom: 6rem;
}

.finale__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.05;
  color: var(--deep);
}

.finale__title .wiggle {
  display: inline-block;
  color: var(--teal);
  animation: wiggle 1.8s ease-in-out infinite;
}

.finale__text {
  max-width: 28rem;
  margin: 1rem auto 1.75rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 60;
  translate: -50% 120%;
  max-width: min(92vw, 420px);
  padding: 0.95rem 1.2rem;
  border: 3px solid var(--deep);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--deep);
  font-family: var(--font-title);
  font-size: 0.95rem;
  text-align: center;
  transition: translate 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-on {
  translate: -50% 0;
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 55;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track {
    animation: none;
  }
}
