@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #080711;
  --ink-soft: #171024;
  --paper: #fff6f3;
  --muted: #c2b5ce;
  --pink: #ff36a6;
  --orange: #ffb547;
  --cyan: #32f1ed;
  --violet: #8954ff;
  --lavender: #c99aff;
  --electric-blue: #5b69ff;
  --lemon: #fff36b;
  --lime: #9dff5c;
  --coral: #ff5d7a;
  --grape: #b14aff;
  --line: rgba(255, 255, 255, .14);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

* { box-sizing: border-box; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: #f7e8ff;
  color: #211332;
}

body::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(164deg, transparent 0 10.5%, rgba(255, 70, 190, .05) 10.7%, rgba(255, 70, 190, .42) 10.85%, rgba(255, 255, 255, .8) 10.92%, rgba(255, 70, 190, .24) 11%, transparent 11.3%),
    linear-gradient(20deg, transparent 0 22.4%, rgba(157, 255, 92, .05) 22.55%, rgba(157, 255, 92, .38) 22.62%, rgba(255, 255, 255, .72) 22.68%, rgba(157, 255, 92, .2) 22.76%, transparent 23%),
    linear-gradient(12deg, transparent 0 33.8%, rgba(50, 241, 237, .05) 33.95%, rgba(50, 241, 237, .4) 34.02%, rgba(255, 255, 255, .76) 34.08%, rgba(50, 241, 237, .22) 34.16%, transparent 34.4%),
    linear-gradient(171deg, transparent 0 46.5%, rgba(137, 84, 255, .05) 46.65%, rgba(137, 84, 255, .36) 46.72%, rgba(255, 255, 255, .78) 46.78%, rgba(137, 84, 255, .2) 46.86%, transparent 47.1%),
    linear-gradient(6deg, transparent 0 58.3%, rgba(255, 243, 107, .05) 58.45%, rgba(255, 243, 107, .4) 58.52%, rgba(255, 255, 255, .74) 58.58%, rgba(255, 243, 107, .2) 58.66%, transparent 58.9%),
    linear-gradient(8deg, transparent 0 70.1%, rgba(255, 181, 71, .05) 70.25%, rgba(255, 181, 71, .38) 70.32%, rgba(255, 255, 255, .74) 70.38%, rgba(255, 181, 71, .18) 70.46%, transparent 70.7%),
    linear-gradient(167deg, transparent 0 85.5%, rgba(50, 241, 237, .05) 85.65%, rgba(50, 241, 237, .38) 85.72%, rgba(255, 255, 255, .72) 85.78%, rgba(50, 241, 237, .18) 85.86%, transparent 86.1%);
  content: "";
  opacity: .72;
  pointer-events: none;
}

body::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 54, 166, .75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(50, 241, 237, .75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 243, 107, .8) 0 1px, transparent 1.6px);
  background-position: 6% 12%, 38% 64%, 72% 28%, 88% 82%;
  background-repeat: repeat;
  background-size: 180px 180px, 230px 230px, 200px 200px, 260px 260px;
  content: "";
  opacity: .5;
  pointer-events: none;
  animation: glitter-drift 22s linear infinite;
}

@keyframes glitter-drift {
  0%, 100% { background-position: 6% 12%, 38% 64%, 72% 28%, 88% 82%; }
  50% { background-position: 10% 16%, 34% 60%, 76% 32%, 84% 78%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes twinkle {
  0%, 100% { transform: scale(.75) rotate(0deg); opacity: .55; }
  50% { transform: scale(1.15) rotate(18deg); opacity: 1; }
}

.deco-star {
  position: absolute;
  z-index: 2;
  width: 1.9rem;
  height: 1.9rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .85), transparent 38%),
    linear-gradient(var(--angle, 115deg), var(--pink) 0%, var(--orange) 15%, var(--lemon) 30%, var(--lime) 45%, var(--cyan) 60%, var(--electric-blue) 75%, var(--violet) 88%, var(--grape) 100%);
  clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(255, 255, 255, .9)) drop-shadow(0 2px 3px rgba(40, 10, 50, .3));
  pointer-events: none;
  animation: twinkle 3.6s ease-in-out infinite;
}

.deco-heart {
  position: absolute;
  z-index: 2;
  width: 1.6rem;
  height: 1.6rem;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85), transparent 38%),
    linear-gradient(var(--angle, 115deg), var(--pink) 0%, var(--orange) 15%, var(--lemon) 30%, var(--lime) 45%, var(--cyan) 60%, var(--electric-blue) 75%, var(--violet) 88%, var(--grape) 100%);
  clip-path: polygon(50.0% 23.9%, 50.2% 22.2%, 51.5% 17.5%, 54.7% 11.3%, 60.2% 5.2%, 67.7% 1.0%, 76.5% 0.0%, 85.4% 2.7%, 93.0% 8.7%, 98.2% 17.3%, 100.0% 27.3%, 98.2% 37.7%, 93.0% 47.7%, 85.4% 57.2%, 76.5% 66.0%, 67.7% 74.4%, 60.2% 82.3%, 54.7% 89.3%, 51.5% 95.0%, 50.2% 98.7%, 50.0% 100.0%, 49.8% 98.7%, 48.5% 95.0%, 45.3% 89.3%, 39.8% 82.3%, 32.3% 74.4%, 23.5% 66.0%, 14.6% 57.2%, 7.0% 47.7%, 1.8% 37.7%, 0.0% 27.3%, 1.8% 17.3%, 7.0% 8.7%, 14.6% 2.7%, 23.5% 0.0%, 32.3% 1.0%, 39.8% 5.2%, 45.3% 11.3%, 48.5% 17.5%, 49.8% 22.2%);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(255, 255, 255, .9)) drop-shadow(0 2px 3px rgba(40, 10, 50, .3));
  pointer-events: none;
  animation: twinkle 3.6s ease-in-out infinite;
}

.deco-star--a { top: 8%; left: 6%; --angle: 0deg; animation-delay: -.4s; }
.deco-star--b { top: 14%; right: 9%; width: 1.4rem; height: 1.4rem; --angle: 23deg; animation-delay: -1.8s; }
.deco-star--c { top: 40%; left: 4%; width: 1.7rem; height: 1.7rem; --angle: 46deg; animation-delay: -2.6s; }
.deco-star--d { bottom: 28%; right: 6%; --angle: 69deg; animation-delay: -.9s; }
.deco-star--e { bottom: 16%; left: 10%; width: 1.5rem; height: 1.5rem; --angle: 92deg; animation-delay: -2.2s; }
.deco-star--f { top: 10%; left: 3%; --angle: 115deg; animation-delay: -1.3s; }
.deco-star--g { top: 16%; right: 4%; width: 1.5rem; height: 1.5rem; --angle: 138deg; animation-delay: -2.9s; }
.deco-star--h { bottom: 8%; right: 10%; width: 1.7rem; height: 1.7rem; --angle: 161deg; animation-delay: -.5s; }
.deco-star--i { top: 8%; left: 8%; --angle: 184deg; animation-delay: -1.1s; }
.deco-star--j { bottom: 8%; right: 8%; width: 1.5rem; height: 1.5rem; --angle: 207deg; animation-delay: -2.7s; }
.deco-star--k { top: 6%; right: 5%; width: 1.6rem; height: 1.6rem; --angle: 230deg; animation-delay: -.3s; }
.deco-star--l { top: 8%; left: 4%; --angle: 253deg; animation-delay: -2.3s; }
.deco-star--m { top: 14%; right: 5%; width: 1.5rem; height: 1.5rem; --angle: 276deg; animation-delay: -1.7s; }
.deco-star--n { bottom: 10%; left: 8%; width: 1.7rem; height: 1.7rem; --angle: 299deg; animation-delay: -3.1s; }
.deco-star--o { top: 10%; left: 6%; width: 1.6rem; height: 1.6rem; --angle: 322deg; animation-delay: -2s; }
.deco-star--p { bottom: 14%; right: 7%; --angle: 345deg; animation-delay: -.8s; }

.deco-heart--a { top: 26%; right: 14%; --angle: 18deg; animation-delay: -1s; }
.deco-heart--b { bottom: 34%; left: 16%; width: 1.4rem; height: 1.4rem; --angle: 54deg; animation-delay: -2.4s; }
.deco-heart--c { top: 54%; right: 22%; width: 1.3rem; height: 1.3rem; --angle: 90deg; animation-delay: -.6s; }
.deco-heart--d { top: 32%; left: 2%; width: 1.4rem; height: 1.4rem; --angle: 126deg; animation-delay: -1.6s; }
.deco-heart--e { bottom: 14%; right: 3%; --angle: 162deg; animation-delay: -2.1s; }
.deco-heart--f { bottom: 30%; left: 4%; width: 1.4rem; height: 1.4rem; --angle: 198deg; animation-delay: -1.9s; }
.deco-heart--g { top: 36%; right: 3%; width: 1.5rem; height: 1.5rem; --angle: 234deg; animation-delay: -.7s; }
.deco-heart--h { bottom: 14%; right: 6%; width: 1.5rem; height: 1.5rem; --angle: 270deg; animation-delay: -1.4s; }
.deco-heart--i { top: 32%; right: 3%; --angle: 306deg; animation-delay: -2.8s; }
.deco-heart--j { top: 20%; right: 10%; --angle: 342deg; animation-delay: -1.5s; }

a { color: inherit; }

.topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 2rem;
  padding: .4rem 1rem;
  background: linear-gradient(100deg, var(--pink), #ff824e 28%, var(--lemon) 52%, var(--cyan) 76%, var(--lavender));
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.topline__sparkle { color: #f04c9b; font-size: .9rem; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 1.35rem 2.5rem;
}

.wordmark {
  color: #211332;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.09em;
  text-decoration: none;
}

.wordmark span { padding-left: .22rem; color: var(--cyan); font-size: .8em; text-shadow: 0 0 12px var(--pink); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header nav a {
  color: #49375c;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover, .site-footer a:hover { color: #b51c90; }

.site-header nav .nav-cta {
  padding: .7rem 1rem;
  border: 1px solid rgba(75, 39, 99, .3);
  border-radius: 99px;
  color: #211332;
}

.nav-cta span { margin-left: .35rem; color: var(--cyan); }

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem 5rem;
  isolation: auto;
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 42%, rgba(255, 54, 166, .24), transparent 38%),
    radial-gradient(ellipse at 84% 58%, rgba(50, 241, 237, .24), transparent 40%),
    radial-gradient(ellipse at 24% 80%, rgba(157, 255, 92, .2), transparent 36%),
    radial-gradient(ellipse at 78% 18%, rgba(255, 243, 107, .22), transparent 34%),
    radial-gradient(ellipse at 52% 46%, rgba(201, 154, 255, .34), transparent 58%),
    linear-gradient(135deg, rgba(255, 240, 251, .62), rgba(240, 229, 255, .58) 54%, rgba(231, 251, 255, .62));
  content: "";
}

.hero__glow {
  position: absolute;
  z-index: 0;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .3;
}

.hero__glow--pink { top: 20%; left: 9%; background: var(--pink); }
.hero__glow--blue { right: 8%; bottom: 10%; background: var(--electric-blue); }
.hero__glow--lime { top: 60%; left: 46%; background: var(--lime); }
.hero__glow--lemon { top: 10%; right: 22%; background: var(--lemon); }

.hero__laser {
  position: absolute;
  z-index: 0;
  width: 120%;
  height: 1px;
  opacity: .55;
  transform-origin: center;
}

.hero__laser--one {
  top: 34%;
  left: -10%;
  background: linear-gradient(90deg, transparent, #ff398c 24%, #ffb35b 55%, transparent);
  box-shadow: 0 0 14px 1px rgba(255, 79, 163, .75);
  transform: rotate(-11deg);
}

.hero__laser--two {
  top: 53%;
  left: -10%;
  background: linear-gradient(90deg, transparent, #483aff 38%, #48f4fa 74%, transparent);
  box-shadow: 0 0 12px 1px rgba(80, 235, 239, .75);
  opacity: .4;
  transform: rotate(8deg);
}

.hero__laser--three {
  top: 70%;
  left: -10%;
  background: linear-gradient(90deg, transparent, #9dff5c 30%, #fff36b 62%, transparent);
  box-shadow: 0 0 14px 1px rgba(157, 255, 92, .7);
  opacity: .35;
  transform: rotate(-5deg);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #7431b1;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero .eyebrow { margin-bottom: .35rem; }

.eyebrow__dot {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-right: .4rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  vertical-align: .05rem;
}

.hero h1 {
  position: relative;
  width: min(100%, 1080px);
  margin: .1rem 0 .15rem;
  line-height: 0;
}

.hero h1 img {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

.hero h1 img[hidden] { display: none; }
.joyfest-live-logo { display: block; width: 100%; height: auto; overflow: visible; }
.joyfest-foreground {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero__tagline {
  margin: .25rem 0 .8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

.hero__tagline span {
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--cyan));
  background-clip: text;
  color: transparent;
}

.hero__tagline .hero__name {
  display: inline-block;
  margin-top: .15rem;
  letter-spacing: .01em;
  line-height: 1.3;
  padding-bottom: .08em;
  background: linear-gradient(100deg, var(--pink), var(--orange) 30%, var(--lemon) 55%, var(--cyan) 75%, var(--violet));
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 54, 166, .5)) drop-shadow(0 0 26px rgba(137, 84, 255, .32));
}

.hero__intro {
  max-width: 26rem;
  margin: .6rem auto 1rem;
  color: #311b4a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.hero__intro span {
  color: var(--grape);
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: .85rem 1.35rem;
  border-radius: 99px;
  font-size: .87rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--bright { background: linear-gradient(105deg, var(--pink), #ff824e 48%, var(--lemon)); box-shadow: 0 0 24px rgba(255, 79, 163, .35), inset 0 1px rgba(255, 255, 255, .75); color: var(--ink); }
.button--bright:hover { box-shadow: 0 0 32px rgba(255, 79, 163, .48), inset 0 1px rgba(255, 255, 255, .8); }
.button--dark { background: var(--ink); color: var(--paper); }
.button:disabled { cursor: not-allowed; opacity: .86; }
.button--dark:disabled:hover { transform: none; }

.hero__note {
  position: relative;
  max-width: 17rem;
  margin: .3rem auto 0;
  color: #7431b1;
  font-family: "Space Grotesk", sans-serif;
  font-size: .95rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.45;
  text-align: center;
}

.hero__note::before, .hero__note::after {
  position: absolute;
  top: .69rem;
  font-size: 2.1rem;
  font-style: normal;
  line-height: 1;
  transform: translateY(-50%);
  background: linear-gradient(160deg, var(--pink), var(--orange), var(--lemon), var(--cyan), var(--violet));
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(255, 255, 255, .75));
}

.hero__note::before { left: -2.2rem; content: "✳"; }
.hero__note::after { right: -2.2rem; content: "✳"; }

.hero__bottom {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  left: 2rem;
  display: flex;
  justify-content: space-between;
  color: rgba(48, 31, 68, .55);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 6px 16px rgba(120, 40, 160, .35));
  animation: float 7s ease-in-out infinite;
}

.section-shell { padding: 7rem max(2rem, calc((100vw - 1120px) / 2)); }

.details::before,
.activities::before,
.fund::before,
.rsvp::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: repeating-linear-gradient(100deg, var(--pink) 0 22px, var(--coral) 22px 44px, var(--lemon) 44px 66px, var(--lime) 66px 88px, var(--cyan) 88px 110px, var(--grape) 110px 132px);
  content: "";
}

.details {
  position: relative;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(50, 241, 237, .45), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(255, 54, 166, .44), transparent 48%),
    linear-gradient(135deg, rgba(165, 107, 255, .72), rgba(227, 144, 255, .68) 52%, rgba(191, 140, 255, .72));
  color: #1a1030;
}

.section-heading { max-width: 38rem; margin: 0 auto 3rem; text-align: center; }
.section-heading .eyebrow { color: #6f287e; }
.activities .eyebrow, .fund .eyebrow { color: #ff9bd5; }
.section-heading h2, .activities h2, .fund h2, .rsvp h2, .rsvp h1, .section-heading h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
}

.section-heading h2 span, .section-heading h1 span { color: #fff36b; text-shadow: 0 2px 0 rgba(99, 42, 142, .3); }
.section-heading > p:last-child { margin: 1rem 0 0; color: #38244f; }

.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.detail-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, .68);
  background: linear-gradient(145deg, #fff4fd, #f2d7ff);
  box-shadow: 0 12px 28px rgba(88, 39, 133, .2), inset 0 1px rgba(255, 255, 255, .9);
}

.detail-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.detail-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .12;
}

.detail-card--date { color: #dc278f; background: linear-gradient(145deg, #fff0fa, #ffd0ef); }
.detail-card--place { color: #087caa; background: linear-gradient(145deg, #e5ffff, #b7f9f1); }
.detail-card--vibe { color: #9b5b00; background: linear-gradient(145deg, #fff9cb, #ffe2a7); }
.detail-card__icon { font-size: 1.5rem; }
.detail-card--place .detail-card__icon { font-size: 1.85rem; }
.detail-card__label { margin: 1.25rem 0 .35rem; color: #574365; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.detail-card__top { display: flex; min-height: 2.2rem; align-items: center; justify-content: center; gap: .5rem; margin-bottom: .25rem; }
.detail-card__top .detail-card__label { margin: 0; }
.detail-card h3 { margin: .75rem 0 0; color: #211332; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; letter-spacing: -.04em; }
.detail-card .placeholder { margin: .5rem 0 0; color: #554766; font-size: .9rem; }

.activities {
  position: relative;
  display: grid;
  min-height: 460px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(255, 54, 166, .22), transparent 38%),
    radial-gradient(ellipse at 85% 50%, rgba(50, 241, 237, .24), transparent 42%),
    linear-gradient(120deg, rgba(255, 240, 249, .65), rgba(241, 232, 255, .62) 52%, rgba(232, 250, 255, .65));
  color: #211332;
}

.activities__art {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 48% 52% 51% 49% / 53% 40% 60% 47%;
  background:
    radial-gradient(ellipse at 35% 28%, rgba(255, 255, 255, .95), transparent 18%),
    radial-gradient(ellipse at 48% 53%, rgba(255, 54, 166, .38), transparent 34%),
    radial-gradient(ellipse at 55% 60%, rgba(50, 241, 237, .33), transparent 42%),
    radial-gradient(ellipse at 68% 30%, rgba(157, 255, 92, .28), transparent 36%),
    radial-gradient(ellipse at 30% 75%, rgba(255, 243, 107, .26), transparent 38%),
    radial-gradient(ellipse at 46% 53%, #d6b8ff, #ab85e4 55%, #eea9e7 78%);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, .45), 0 18px 45px rgba(105, 62, 151, .16);
}

.activities__art::before, .activities__art::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 54, 166, .62);
  border-radius: 50%;
  content: "";
  transform: rotate(-25deg) scaleY(.55);
}

.activities__art::after { border-color: rgba(30, 176, 195, .62); transform: rotate(25deg) scaleY(.55); }

.orb {
  z-index: 1;
  width: 5rem;
  height: 5rem;
}

.orb--pink {
  top: 23%;
  left: 23%;
  background-image: image-set(url("assets/soap-bubble-80.png") 1x, url("assets/soap-bubble-80@2x.png") 2x);
  animation-delay: -2s;
}

.orb--gold {
  top: 43%;
  right: 20%;
  width: 3.4rem;
  height: 3.4rem;
  background-image: image-set(url("assets/soap-bubble-56.png") 1x, url("assets/soap-bubble-56@2x.png") 2x);
  animation-delay: -4s;
}

.orb--blue {
  bottom: 15%;
  left: 43%;
  width: 2.4rem;
  height: 2.4rem;
  background-image: image-set(url("assets/soap-bubble-40.png") 1x, url("assets/soap-bubble-40@2x.png") 2x);
  animation-delay: -1s;
}

.orb--lime {
  top: 8%;
  right: 32%;
  width: 2rem;
  height: 2rem;
  background-image: image-set(url("assets/soap-bubble-32.png") 1x, url("assets/soap-bubble-32@2x.png") 2x);
  animation-delay: -3s;
}

.orb--grape {
  bottom: 22%;
  left: 12%;
  width: 1.6rem;
  height: 1.6rem;
  background-image: image-set(url("assets/soap-bubble-24.png") 1x, url("assets/soap-bubble-24@2x.png") 2x);
  animation-delay: -5s;
}

.laser-line {
  position: absolute;
  top: 51%;
  left: -8%;
  width: 116%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), #fff, var(--cyan), transparent);
  box-shadow: 0 0 18px 3px rgba(255, 79, 163, .5);
  transform: rotate(-15deg);
}

.activities__copy { max-width: 30rem; }
.activities h2 span, .fund h2 span { color: var(--pink); }
.activities__copy > p:not(.eyebrow), .fund__intro > p:not(.eyebrow) { max-width: 30rem; margin: 1.1rem 0 1.5rem; color: #514260; line-height: 1.75; }
.text-link { color: var(--cyan); font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link span { padding-left: .3rem; }

.fur-patch {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: grid;
  width: 6.5rem;
  height: 6.5rem;
  place-content: center;
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 47% 53% 58% 42% / 44% 48% 52% 56%;
  background:
    radial-gradient(circle at 30% 22%, rgba(45, 12, 28, .85) 0 7%, transparent 8%),
    radial-gradient(circle at 58% 16%, rgba(45, 12, 28, .8) 0 6%, transparent 7%),
    radial-gradient(circle at 76% 40%, rgba(45, 12, 28, .85) 0 7%, transparent 8%),
    radial-gradient(circle at 20% 52%, rgba(45, 12, 28, .8) 0 6%, transparent 7%),
    radial-gradient(circle at 48% 58%, rgba(45, 12, 28, .85) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 70%, rgba(45, 12, 28, .8) 0 6%, transparent 7%),
    radial-gradient(circle at 34% 80%, rgba(45, 12, 28, .85) 0 7%, transparent 8%),
    radial-gradient(circle at 60% 86%, rgba(45, 12, 28, .8) 0 6%, transparent 7%),
    radial-gradient(circle at 42% 38%, rgba(255, 243, 107, .5) 0 3%, transparent 4%),
    linear-gradient(145deg, #ff9bd5, #ff65b9 38%, #ffb347 72%, #fff36b);
  box-shadow: 0 0 25px rgba(255, 93, 122, .45), 0 0 40px rgba(157, 255, 92, .2);
  color: white;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-align: center;
  transform: rotate(12deg);
}

.fund {
  position: relative;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(50, 241, 237, .32), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(255, 54, 166, .3), transparent 42%),
    radial-gradient(ellipse at 55% 100%, rgba(91, 105, 255, .18), transparent 52%),
    linear-gradient(135deg, rgba(255, 232, 247, .72), rgba(242, 229, 255, .7) 48%, rgba(230, 250, 255, .72));
  color: #211332;
}
.fund__intro { max-width: 47rem; margin: 0 auto 3rem; text-align: center; }
.fund h2 span { color: var(--cyan); }
.fund__intro > p:not(.eyebrow) { max-width: 42rem; margin: 1rem auto 0; color: #c3b7cb; }
.fund__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.fund-card {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff4fc, #e9d4ff);
  box-shadow: 0 12px 28px rgba(7, 4, 20, .24), inset 0 1px rgba(255, 255, 255, .9);
}

.fund-card--venue { background: linear-gradient(145deg, #fff0fa, #ffd2ee); box-shadow: inset 0 4px var(--pink), 0 12px 28px rgba(7, 4, 20, .24); }
.fund-card--extras { background: linear-gradient(145deg, #e6fffc, #ccf7ff); box-shadow: inset 0 4px var(--cyan), 0 12px 28px rgba(7, 4, 20, .24); }
.fund-card__top { display: flex; align-items: center; justify-content: space-between; }
.fund-card__number { color: #725f82; font-family: "Space Grotesk", sans-serif; font-size: .85rem; font-weight: 700; }
.fund-card__tag { padding: .35rem .65rem; border-radius: 99px; background: #ffc9e9; color: #9b176a; font-size: .66rem; font-weight: 800; }
.fund-card--extras .fund-card__tag { background: #b7f5ef; color: #086f78; }
.fund-card h3 { margin: 1.2rem 0 .2rem; font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; letter-spacing: -.05em; }
.fund-card h3, .fund-card__amount strong { color: #211332; }
.fund-card > p { margin: 0; color: #554766; font-size: .83rem; }
.fund-card h3 + p { min-height: 2.5rem; line-height: 1.5; }

.star-meter { container-type: inline-size; display: flex; justify-content: center; gap: .05rem; margin: 1.4rem 0 .7rem; }

.star { position: relative; display: inline-block; font-size: 19cqw; line-height: 1; }
.star__bg, .star__fill { display: block; }
.star__bg { color: rgba(78, 48, 98, .18); }
.star__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--pink), #ff824e, var(--lemon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.star-meter--extras .star__fill { background: linear-gradient(90deg, var(--cyan), var(--electric-blue), var(--pink)); }

.star--full .star__fill { animation: star-glow 2.4s ease-in-out infinite; }

.star--full::before,
.star--full::after {
  position: absolute;
  content: "✦";
  color: var(--lemon);
  text-shadow: 0 0 6px var(--lemon);
  pointer-events: none;
  animation: twinkle 1.8s ease-in-out infinite;
}
.star--full::before { top: -.32em; right: -.3em; font-size: .5em; animation-delay: .15s; }
.star--full::after { bottom: -.22em; left: -.34em; font-size: .4em; animation-delay: .65s; }

@keyframes star-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6)) drop-shadow(0 0 5px var(--pink)); }
  50% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)) drop-shadow(0 0 13px var(--lemon)); }
}
.fund-card__amount { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.fund-card__amount strong { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; }
.fund-card__amount span { color: #665374; font-size: .75rem; }
.fund-card__raised, .fund-card__goal { display: flex; align-items: baseline; gap: .35rem; }
.fund-card .fund-card__update { margin-top: .55rem; color: #665374; font-size: .7rem; }
.fund__footnote { margin: 1.25rem 0 0; color: #514260; font-size: .75rem; text-align: center; }

.rsvp {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 78, 179, .9) 0%, rgba(167, 68, 237, .88) 34%, rgba(91, 105, 255, .88) 66%, rgba(36, 207, 228, .9) 100%);
  color: white;
  text-align: center;
}

.rsvp .eyebrow { color: var(--lemon); }
.rsvp h2 span, .rsvp h1 span { color: var(--lemon); }
.rsvp > p:not(.eyebrow, .rsvp__note) { max-width: 34rem; margin: 1rem auto 1.5rem; color: rgba(255, 255, 255, .88); line-height: 1.7; }
.rsvp__note { margin: .9rem 0 0; color: rgba(255, 255, 255, .78); font-size: .72rem; }
.site-footer {
  position: relative;
  z-index: auto;
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(2rem, calc((100vw - 1120px) / 2));
  background: linear-gradient(100deg, rgba(255, 240, 249, .82), rgba(240, 231, 255, .82), rgba(232, 251, 255, .82));
  color: #211332;
}

.wordmark--footer { color: #211332; font-size: 1.1rem; }
.site-footer p { color: #675775; font-size: .72rem; text-align: center; }
.site-footer__util { color: #49375c; font-size: .75rem; text-decoration: none; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

main {
  position: relative;
  z-index: auto;
}

/* Keep content above bubbles without raising the section backgrounds. The
   low specificity preserves absolute positioning and depth of decorations. */
:where(main > section > *, .site-footer > *) {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 1.2rem 1.25rem; }
  .site-header nav { justify-content: flex-end; flex-wrap: wrap; gap: .65rem 1rem; max-width: 23rem; }
  .site-header nav a { font-size: .72rem; }
  .site-header nav .nav-cta { padding: .55rem .75rem; }
  .hero { min-height: 620px; padding-top: 3rem; }
  .hero__bottom { right: 1rem; left: 1rem; font-size: .48rem; letter-spacing: .12em; }
  .section-shell { padding: 5rem 1.25rem; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 180px; }
  .activities { grid-template-columns: 1fr; gap: 2rem; }
  .activities__art { min-height: 250px; }
  .fur-patch { right: 7%; bottom: 6%; width: 5.2rem; height: 5.2rem; }
  .fund__cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .deco-star, .deco-heart { display: none; }
  .hero__note { max-width: 12rem; }
  .hero__note::before, .hero__note::after { font-size: 1.4rem; }
  .hero__note::before { left: -1.3rem; }
  .hero__note::after { right: -1.3rem; }
  .topline { font-size: .58rem; letter-spacing: .1em; }
  .site-header { display: block; }
  .site-header nav { justify-content: flex-start; max-width: none; margin-top: .9rem; }
  .site-header nav a { font-size: .68rem; }
  .hero { min-height: 540px; padding-right: 1rem; padding-left: 1rem; }
  .hero__tagline { font-size: 2.35rem; }
  .hero__intro { font-size: .9rem; }
  .hero__bottom { gap: .5rem; font-size: .42rem; letter-spacing: .08em; }
  .activities { padding-top: 4rem; }
  .site-footer { flex-wrap: wrap; justify-content: center; padding: 1.5rem 1rem; }
  .site-footer p { order: 1; width: 100%; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .joyfest-foreground { display: none !important; }
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .orb, .deco-star, .deco-heart, body::after { animation: none; }
  .star--full .star__fill, .star--full::before, .star--full::after { animation: none; }
}

/* Location page */

.detail-card--address { color: #5a2db3; background: linear-gradient(145deg, #f3edff, #ddc8ff); }
.detail-card--parking { color: #2f8a3c; background: linear-gradient(145deg, #f2ffe9, #d7f7b8); }
.detail-card--info { color: #c15a00; background: linear-gradient(145deg, #fff3e3, #ffdbab); }

.location-map {
  position: relative;
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px dashed rgba(75, 39, 99, .35);
  border-radius: 1.2rem;
  background: repeating-linear-gradient(135deg, rgba(91, 105, 255, .08) 0 10px, rgba(255, 255, 255, .5) 10px 20px);
  color: #574365;
  font-size: .85rem;
  font-weight: 600;
}

.location-map__pin {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 18px rgba(88, 39, 133, .22);
  font-size: 1.3rem;
}

.location-map__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* RSVP + Volunteer page */

.rsvp-page__footnote { margin: 1.75rem 0 0; color: #514260; font-size: .75rem; text-align: center; }

.rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.rsvp-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff4fc, #e9d4ff);
  box-shadow: 0 12px 28px rgba(7, 4, 20, .24), inset 0 1px rgba(255, 255, 255, .9);
}

.rsvp-card--attend { background: linear-gradient(145deg, #fff0fa, #ffd2ee); box-shadow: inset 0 4px var(--pink), 0 12px 28px rgba(7, 4, 20, .24); }
.rsvp-card--volunteer { background: linear-gradient(145deg, #e6fffc, #ccf7ff); box-shadow: inset 0 4px var(--cyan), 0 12px 28px rgba(7, 4, 20, .24); }

.rsvp-card__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  padding: .3rem .6rem;
  border-radius: 99px;
  background: rgba(33, 19, 50, .82);
  color: white;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.rsvp-card__top { display: flex; align-items: center; justify-content: space-between; padding-right: 7rem; }
.rsvp-card__tag { padding: .35rem .65rem; border-radius: 99px; background: #ffc9e9; color: #9b176a; font-size: .66rem; font-weight: 800; }
.rsvp-card--volunteer .rsvp-card__tag { background: #b7f5ef; color: #086f78; }
.rsvp-card h2 { margin: 1.1rem 0 .2rem; font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; letter-spacing: -.05em; color: #211332; }
.rsvp-card > p { margin: 0 0 1.1rem; color: #554766; font-size: .83rem; }

.field-group { display: grid; gap: .85rem; margin-bottom: 1.1rem; }

.field { display: block; }
.field > span:first-child { display: block; margin-bottom: .3rem; color: #49375c; font-size: .78rem; font-weight: 700; }

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid rgba(75, 39, 99, .28);
  border-radius: .6rem;
  background: rgba(255, 255, 255, .8);
  font: inherit;
  font-size: .85rem;
  color: #211332;
  resize: vertical;
}

.field input:disabled,
.field textarea:disabled,
.field--choices:disabled { opacity: .7; cursor: not-allowed; }

.field--choices { padding: 0; border: 0; }
.field--choices legend { margin-bottom: .4rem; color: #49375c; font-size: .78rem; font-weight: 700; }
.field--choices label { display: flex; align-items: center; gap: .4rem; margin-bottom: .3rem; color: #49375c; font-size: .82rem; font-weight: 600; }

.pill-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 1.1rem; }
.pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .72);
  color: #086f78;
  font-size: .78rem;
  font-weight: 700;
}
.pill input:disabled { cursor: not-allowed; }

@media (max-width: 760px) {
  .rsvp-grid { grid-template-columns: 1fr; }
  .rsvp-card__top { padding-right: 0; }
  .rsvp-card__badge { position: static; display: inline-block; margin-bottom: .8rem; }
}
