@font-face {
  font-family: "Elms Sans";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/elms-sans@latest/latin-400-normal.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elms Sans";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/elms-sans@latest/latin-600-normal.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elms Sans";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/elms-sans@latest/latin-700-normal.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --c1: #f7d9c4;
  --c2: #ffdca9;
  --c3: #f8c8c8;
  --c4: #fcf9be;
  --c5: #f8edeb;
  --c6: #f8dfc1;
  --ink: #4a3f45;
  --ink-soft: #6f6368;
  --white: #fffefc;
  --shadow: rgba(74, 63, 69, 0.12);
  --shadow-strong: rgba(74, 63, 69, 0.18);
  --radius-xl: clamp(1.25rem, 3vw, 2rem);
  --font-display: "Caveat", cursive;
  --font-body: "Elms Sans", system-ui, sans-serif;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--c5);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.about-img-logo {
  width: 250px;
  height: auto;
  justify-self: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(520px, 92vw);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(248, 237, 235, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px var(--shadow);
  background: rgba(252, 249, 190, 0.88);
}

.header-inner {
  flex: 0 0 var(--header-h);
  height: var(--header-h);
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c3), var(--c2));
  color: var(--ink) !important;
  box-shadow: 0 4px 0 rgba(248, 200, 200, 0.6);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 6px 20px var(--shadow);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger {
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.burger::before {
  top: -7px;
}

.burger::after {
  top: 7px;
}

.nav-drawer {
  display: none;
}

@media (max-width: 840px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(1120px, 92vw);
    margin-inline: auto;
    padding: 0 6vw 1.25rem;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
    background: rgba(248, 237, 235, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 50px var(--shadow);
  }

  .nav-drawer a {
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    padding: 0.55rem 0;
  }

  .site-header.drawer-open {
    background: rgba(252, 249, 190, 0.95);
  }
}

main {
  padding-top: var(--header-h);
}

/* Hero sky */

.hero {
  position: relative;
  min-height: min(92vh, 840px);
  display: grid;
  place-items: center;
  overflow: clip;
}

.sky {
  background: radial-gradient(
      ellipse 140% 90% at 50% 108%,
      var(--c5) 0%,
      var(--c6) 42%,
      transparent 72%
    ),
    radial-gradient(ellipse 80% 55% at 15% -5%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% -8%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),
    linear-gradient(
      185deg,
      #cfefff 0%,
      #d9eaff 22%,
      #e9dfff 52%,
      #ffdfea 82%,
      var(--c1) 100%
    );
  animation: skyShift 18s ease-in-out infinite alternate;
}

@keyframes skyShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(12deg);
  }
}

.hero .cloud {
  z-index: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.92;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 180px;
  height: 64px;
  top: 12%;
  left: 8%;
  animation: floaty 14s ease-in-out infinite alternate;
}

.cloud-1::before {
  width: 90px;
  height: 90px;
  top: -42px;
  left: 24px;
}

.cloud-1::after {
  width: 72px;
  height: 72px;
  top: -30px;
  right: 32px;
}

.cloud-2 {
  width: 220px;
  height: 72px;
  top: 18%;
  right: 6%;
  animation: floaty 17s ease-in-out infinite alternate-reverse;
}

.cloud-2::before {
  width: 100px;
  height: 100px;
  top: -46px;
  left: 40px;
}

.cloud-2::after {
  width: 76px;
  height: 76px;
  top: -34px;
  left: 0;
}

.cloud-3 {
  width: 140px;
  height: 50px;
  bottom: 15%;
  left: 42%;
  animation: floaty 16s ease-in-out infinite alternate;
}

.cloud-3::before {
  width: 64px;
  height: 64px;
  top: -34px;
  left: 20px;
}

.cloud-3::after {
  width: 58px;
  height: 58px;
  top: -28px;
  right: 26px;
}

.cloud-4 {
  width: 100px;
  height: 36px;
  top: 6%;
  left: 38%;
  opacity: 0.72;
  animation: floaty 19s ease-in-out infinite alternate;
  animation-delay: -4s;
}

.cloud-4::before {
  width: 54px;
  height: 54px;
  top: -26px;
  left: 8px;
}

.cloud-4::after {
  width: 42px;
  height: 42px;
  top: -22px;
  right: 6px;
}

.cloud-5 {
  width: 160px;
  height: 56px;
  top: 38%;
  left: 4%;
  opacity: 0.78;
  animation: floaty 21s ease-in-out infinite alternate-reverse;
  animation-delay: -2s;
}

.cloud-5::before {
  width: 74px;
  height: 74px;
  top: -38px;
  left: 32px;
}

.cloud-5::after {
  width: 62px;
  height: 62px;
  top: -30px;
  right: 18px;
}

.cloud-6 {
  width: 130px;
  height: 44px;
  top: 46%;
  right: 14%;
  opacity: 0.68;
  animation: floaty 23s ease-in-out infinite alternate;
  animation-delay: -8s;
}

.cloud-6::before {
  width: 62px;
  height: 62px;
  top: -32px;
  left: 18px;
}

.cloud-6::after {
  width: 52px;
  height: 52px;
  top: -26px;
  right: 22px;
}

.cloud-7 {
  width: 200px;
  height: 64px;
  bottom: 8%;
  right: -2%;
  opacity: 0.55;
  animation: floaty 25s ease-in-out infinite alternate-reverse;
  animation-delay: -5s;
}

.cloud-7::before {
  width: 94px;
  height: 94px;
  top: -42px;
  left: 40px;
}

.cloud-7::after {
  width: 74px;
  height: 74px;
  top: -36px;
  right: 24px;
}

@keyframes floaty {
  0% {
    transform: translate3d(-6px, 0, 0);
  }

  100% {
    transform: translate3d(14px, 8px, 0);
  }
}

/* Polaroids + title (flanked stacks) */

.polaroid-scene {
  position: relative;
  z-index: 1;
  width: min(1100px, 96vw);
  min-height: clamp(460px, 64vh, 640px);
  padding-inline: clamp(0.5rem, 2.5vw, 1rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 3vw, 2.25rem);
}

.polaroid-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(118px, 15vw, 166px);
  pointer-events: auto;
}

.polaroid-stack--left {
  align-items: flex-end;
}

.polaroid-stack--right {
  align-items: flex-start;
}

.polaroid-stack .polaroid {
  align-self: stretch;
}

.polaroid-stack .polaroid:not(:first-child) {
  margin-top: clamp(-4rem, -9vw, -2.75rem);
}

.polaroid-stack--left .polaroid:nth-child(1) {
  z-index: 1;
}

.polaroid-stack--left .polaroid:nth-child(2) {
  z-index: 2;
  --mx-base: -70px;
}

.polaroid-stack--left .polaroid:nth-child(3) {
  z-index: 3;
}

.polaroid-stack--right .polaroid:nth-child(1) {
  z-index: 1;
}

.polaroid-stack--right .polaroid:nth-child(2) {
  z-index: 2;
  --mx-base: 70px;
}

.polaroid-stack--right .polaroid:nth-child(3) {
  z-index: 3;
}

.polaroid {
  --mx-base: 0px;
  --mx: 0px;
  --my: 0px;
  position: relative;
  width: 100%;
  padding: 0.55rem 0.55rem 1.6rem;
  background: linear-gradient(180deg, var(--white) 0%, #fbf7f5 100%);
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 10px 36px var(--shadow-strong), 0 2px 0 rgba(0, 0, 0, 0.04);
  transform: translate(calc(var(--mx-base) + var(--mx)), var(--my)) rotate(var(--r));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  cursor: grab;
}

.polaroid:active {
  cursor: grabbing;
}

.polaroid:hover {
  transform: translate(calc(var(--mx-base) + var(--mx)), calc(var(--my) - 4px)) rotate(var(--r))
    scale(1.03);
  box-shadow: 0 16px 48px rgba(74, 63, 69, 0.2);
  z-index: 8;
}

.polaroid-photo {
  height: clamp(118px, 18vw, 142px);
  border-radius: 2px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.polaroid-photo span {
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.polaroid-photo.p1 {
  background: linear-gradient(145deg, var(--c3), var(--c4));
}

.polaroid-photo.p2 {
  background: linear-gradient(145deg, var(--c2), var(--c6));
}

.polaroid-photo.p3 {
  background: linear-gradient(145deg, #e0c4ff, var(--c3));
}

.polaroid-photo.p4 {
  background: linear-gradient(145deg, var(--c4), var(--c1));
}

.polaroid-photo.p5 {
  background: linear-gradient(145deg, var(--c1), var(--c2));
}

.polaroid-photo.p6 {
  background: linear-gradient(145deg, var(--c3), #f5d2ff);
}

.hero-title-wrap {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(0.75rem, 2.5vw, 1.5rem);
  flex: 0 1 auto;
  min-width: min(22rem, 88vw);
  max-width: 36rem;
  z-index: 10;
}

.hero-title-wrap::before {
  content: "";
  position: absolute;
  inset: clamp(-0.5rem, -1.5vw, -1rem);
  border-radius: 2rem;
  background: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(248, 237, 235, 0.18) 55%,
    transparent 82%
  );
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: rgba(74, 63, 69, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.75rem, 15vw, 9rem);
  line-height: 0.95;
  color: var(--white);
  text-shadow: 2px 4px 0 var(--c3), 6px 10px 0 rgba(255, 200, 200, 0.35),
    0 0 40px rgba(255, 255, 255, 0.8);
}

.lead {
  margin: 1rem auto 1.75rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: rgba(74, 63, 69, 0.92);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c3), var(--c2));
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(253, 200, 200, 0.75), 0 14px 32px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 3px 0 rgba(253, 200, 200, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 2px dashed rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  transform: rotate(-2deg) scale(1.02);
  background: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(74, 63, 69, 0.55);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c3);
  animation: bob 1.4s ease-in-out infinite alternate;
}

@keyframes bob {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(8px);
  }
}

@media (max-width: 720px) {
  .cloud-3 {
    display: none;
  }

  .polaroid-scene {
    flex-direction: column;
    flex-wrap: wrap;
    min-height: unset;
    padding-block: clamp(1.75rem, 6vw, 2.75rem);
    gap: clamp(1rem, 4vw, 1.75rem);
  }

  .hero-title-wrap {
    order: -1;
    width: 100%;
    max-width: 28rem;
  }

  .polaroid-stack {
    flex-direction: row;
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: center;
  }

  .polaroid-stack--left,
  .polaroid-stack--right {
    align-items: center;
  }

  .polaroid-stack .polaroid:not(:first-child) {
    margin-top: 0;
    margin-left: clamp(-3rem, -12vw, -1.5rem);
  }

  .polaroid-stack .polaroid {
    width: clamp(112px, 28vw, 142px);
  }
}

/* Sections */

#about,
#gallery,
#events,
#contact {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section {
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, var(--white) 0%, var(--c5) 100%);
}

.section-wave {
  margin-top: -2rem;
  border-radius: clamp(24px, 5vw, 48px) clamp(24px, 5vw, 48px) 0 0;
  background: var(--c5);
  padding-top: calc(3rem + 2vw);
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-inline: auto;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

/* About */

.about-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  /* align-items: start; */
}

.about-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  list-style: none;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 44px var(--shadow);
}

.about-highlights li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(74, 63, 69, 0.08);
}

.about-highlights li:last-child {
  border-bottom: none;
}

.about-highlights strong {
  display: block;
  margin-bottom: 0.25rem;
}

.about-highlights span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  margin: 0;
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-frame {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  box-shadow: 0 18px 40px var(--shadow);
  border: 4px solid var(--white);
}

.gallery-item figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.gallery-frame.g1 {
  background: linear-gradient(145deg, var(--c3), var(--c4));
}

.gallery-frame.g2 {
  background: linear-gradient(145deg, var(--c2), var(--c6));
}

.gallery-frame.g3 {
  background: linear-gradient(145deg, #e0c4ff, var(--c3));
}

.gallery-frame.g4 {
  background: linear-gradient(145deg, var(--c4), var(--c1));
}

.gallery-frame.g5 {
  background: linear-gradient(145deg, var(--c1), var(--c2));
}

.gallery-frame.g6 {
  background: linear-gradient(145deg, var(--c3), #f5d2ff);
}

/* Event registration */

#eventRegStatus{
  color: red;
}

.events-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}

.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* align-items: center; */
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px var(--shadow);
}

.event-card .btn {
  flex-shrink: 0;
}

.event-card-body {
  /* flex: 1 1 200px; */
}

.event-date {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(74, 63, 69, 0.7);
}

.event-card h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.1rem;
}

.event-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.event-desc {
  line-height: 1.45;
}

.event-card--empty .event-empty-msg {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.event-card--with-image {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.event-card-thumb {
  flex: 0 0 min(140px, 36vw);
  /* min-height: 132px;
  max-width: 220px; */
  background: linear-gradient(145deg, var(--c4), var(--c6));
}

.event-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card--with-image .event-card-body {
  padding: 1.25rem 1.35rem;
  /* align-self: center; */
}

@media (max-width: 520px) {
  .event-card--with-image {
    flex-direction: column;
  }

  .event-card-thumb {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    min-height: 160px;
  }
}

.reg-panel {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: linear-gradient(155deg, var(--c6), var(--white));
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.reg-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.field-hint {
  margin: -0.35rem 0 0.15rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.reg-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.reg-form input,
.reg-form select,
.reg-form textarea,
.contact-form input,
.contact-form textarea {
  /* width: 100%; */
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  box-shadow: 0 6px 20px var(--shadow);
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c3);
}

.reg-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.reg-server-hint {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.reg-server-hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
}

.reg-name-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

@media (max-width: 640px) {
  .reg-name-row {
    grid-template-columns: 1fr;
  }
}

.payment-fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.payment-fieldset legend {
  padding: 0;
  margin-bottom: 0.5rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px var(--shadow);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-option:has(input:focus-visible) {
  border-color: var(--c3);
}

.payment-option:has(input:checked) {
  border-color: rgba(248, 200, 200, 0.95);
  background: rgba(255, 255, 255, 0.92);
}

.payment-option input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.payment-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.payment-option-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.payment-option small {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.stripe-panel {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.reg-stripe-flow-hint {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.reg-stripe-no-button-note {
  margin: 0.75rem 0 0;
}

.stripe-checkout-intro {
  margin: 0.75rem 0 0.5rem;
}

.stripe-checkout-mount {
  min-height: 480px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 28px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.stripe-element-mount {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(74, 63, 69, 0.08);
  box-shadow: 0 6px 20px var(--shadow);
}

.stripe-errors {
  min-height: 1.25em;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b42318;
}

.stripe-wallet-copy {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.collect-intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.godaddy-collect-mount {
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.collect-errors {
  min-height: 1.25em;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b42318;
}

/* Contact */

.section-contact {
  background: linear-gradient(135deg, var(--c4), var(--c1), var(--c2));
  padding-block: clamp(3.75rem, 9vw, 6rem);
}

.contact-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: start;
}

.contact-details {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px rgba(74, 63, 69, 0.1);
}

.contact-details h3 {
  margin: 0 0 1rem;
}

.contact-details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.contact-details a {
  color: var(--ink);
  font-weight: 600;
}

.contact-note {
  font-size: 0.85rem;
  font-style: italic;
}

.contact-form-column {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px rgba(74, 63, 69, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

#contactStatus {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.pill {
  border: none;
  cursor: pointer;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--c6);
  color: var(--ink);
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 6px 0 rgba(247, 217, 196, 0.9);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill.is-active {
  background: linear-gradient(135deg, var(--c4), var(--c2));
  box-shadow: 0 8px 0 rgba(248, 200, 200, 0.55);
}

.mood-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blob-card {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 28px 72px 40px 64px / 72px 40px 64px 28px;
  background: linear-gradient(135deg, var(--c4), var(--c1));
  box-shadow: 0 24px 50px var(--shadow);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.blob-card:nth-child(2) {
  background: linear-gradient(145deg, var(--c2), var(--c3));
  border-radius: 60px 32px 60px 32px / 32px 60px 32px 60px;
}

.blob-card:nth-child(3) {
  background: linear-gradient(155deg, var(--white), var(--c6));
  border-radius: 48px 40px 80px 40px / 40px 80px 48px 40px;
}

.blob-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  filter: saturate(1.05);
}

.blob-card.is-dimmed {
  opacity: 0.38;
  transform: scale(0.98);
  pointer-events: none;
}

.blob-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.blob-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Flip cards */

.event-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  perspective: 1200px;
}

.flip-card {
  min-height: 220px;
  border-radius: var(--radius-xl);
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 220px;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 26px 50px var(--shadow);
}

.flip-inner[aria-expanded="true"] {
  transform: rotateY(180deg);
}

.flip-inner:focus-visible {
  outline: 3px solid var(--c3);
  outline-offset: 4px;
}

.flip-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-front {
  background: linear-gradient(135deg, var(--c6), var(--c4));
}

.flip-card:nth-child(2) .flip-front {
  background: linear-gradient(135deg, var(--c5), var(--c1));
}

.flip-card:nth-child(3) .flip-front {
  background: linear-gradient(135deg, var(--c4), var(--c2));
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, var(--c5), var(--white));
}

.flip-front h3,
.flip-front p {
  margin: 0.35rem 0 0;
}

.flip-front .tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(74, 63, 69, 0.75);
}

.flip-back .mini {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.flip-card.is-hidden {
  display: none;
}

/* Roulette */

.roulette {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.roulette-window {
  width: min(460px, 100%);
  min-height: 120px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% -20%, var(--c4) 0%, transparent 52%),
    linear-gradient(135deg, var(--c6), var(--c3));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.55),
    inset 0 0 48px rgba(255, 255, 255, 0.4), 0 18px 40px var(--shadow);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.roulette-window.is-spinning {
  animation: wobble 0.45s linear infinite alternate;
}

@keyframes wobble {
  0% {
    transform: rotate(-1.5deg) scale(1.01);
  }

  100% {
    transform: rotate(1.5deg) scale(1.01);
  }
}

.roulette-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.65rem);
  text-align: center;
}

.activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  min-height: 2rem;
}

.activity-chips li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 16px var(--shadow);
  animation: popIn 0.35s ease;
}

@keyframes popIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 16px 40px var(--shadow);
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c3), var(--c4));
  font-weight: 800;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* CTA */

.section-cta {
  background: linear-gradient(135deg, var(--c1), var(--c4), var(--c2));
  padding-block: clamp(3.75rem, 9vw, 6rem);
}

.cta-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
  box-shadow: 0 30px 60px rgba(74, 63, 69, 0.12);
}

.cta-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3rem);
}

.cta-card p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-form input {
  flex: 1 1 200px;
  max-width: 320px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  outline: none;
  box-shadow: 0 8px 24px var(--shadow);
}

.cta-form input:focus {
  border-color: var(--c3);
}

.fine-print {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  min-height: 1.25em;
  font-weight: 600;
}

/* Footer */

.footer {
  padding-block: 2.75rem 3.25rem;
  background: linear-gradient(145deg, var(--c3) 0%, var(--c1) 42%, var(--c4) 100%);
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 -10px 36px rgba(74, 63, 69, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.logo-footer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.35rem;
}

.footer p {
  margin: 0;
  max-width: 260px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
  color: var(--ink-soft);
  border-bottom-color: rgba(74, 63, 69, 0.25);
}

.footer-link-icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  opacity: 0.92;
}

.footer-link-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.footer-link:hover .footer-link-icon {
  opacity: 1;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 {
  transition-delay: 90ms;
}

.reveal.delay-2 {
  transition-delay: 180ms;
}

/* Sparkle overlay + toast */

.sparkle-canvas {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 70;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  translate: 0 120%;
  opacity: 0;
  transition: translate 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.toast.is-on {
  translate: 0 0;
  opacity: 1;
}

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

  .sky {
    animation: none;
  }

  .cloud-1,
  .cloud-2,
  .cloud-3 {
    animation: none;
  }

  .scroll-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .polaroid {
    transition: none;
  }

  .roulette-window.is-spinning {
    animation: none;
  }
}
