:root {
  --ink: #151515;
  --paper: #fff8ef;
  --white: #ffffff;
  --teal: #1f8f8c;
  --teal-deep: #0f5e63;
  --coral: #ee8492;
  --coral-soft: #ffd9df;
  --sky: #a8ddec;
  --sky-soft: #e8f7fb;
  --gold: #ffd76a;
  --lavender: #8e6ab2;
  --line: rgba(21, 21, 21, 0.16);
  --shadow: 0 22px 70px rgba(21, 21, 21, 0.12);
  --section-space: clamp(5rem, 10vw, 9rem);
  --title-font: "Boulder", "Cooper Black", "Arial Rounded MT Bold", Arial, sans-serif;
  --body-font: Inter, Avenir, "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(168, 221, 236, 0.26) 0 16%, transparent 16%),
    linear-gradient(180deg, #fffdf9 0, var(--paper) 42%, #fff 100%);
  font-family: var(--body-font);
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--title-font);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 205, 55, 0.35));
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 0.75rem);
  color: rgba(21, 21, 21, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-header nav a,
.site-header nav button {
  text-decoration: none;
}

.site-header nav button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header nav a,
.site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-header nav a:hover,
.site-header nav button:hover,
.site-header nav a:focus-visible,
.site-header nav button:focus-visible {
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
  outline: 0;
}

.site-header .nav-cta {
  background: var(--coral);
}

.site-header nav a[href$="#donate"] {
  background: var(--gold);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 0 0 clamp(2rem, 4vw, 3.25rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: clamp(16rem, 31vw, 23rem) 0 auto;
  width: 100%;
  height: clamp(20rem, 37vw, 32rem);
  background:
    radial-gradient(90% 44% at 72% 24%, rgba(238, 132, 146, 0.28) 0 34%, transparent 35%),
    radial-gradient(85% 52% at 28% 58%, rgba(168, 221, 236, 0.48) 0 38%, transparent 39%),
    radial-gradient(70% 42% at 58% 70%, rgba(255, 255, 255, 0.62) 0 42%, transparent 43%);
  opacity: 0.92;
  clip-path: polygon(0 20%, 13% 9%, 29% 18%, 43% 8%, 58% 17%, 73% 6%, 88% 14%, 100% 7%, 100% 76%, 84% 84%, 68% 76%, 51% 88%, 35% 78%, 17% 86%, 0 77%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(220px, 0.38fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 4.25rem) clamp(1rem, 4vw, 3.5rem) 0;
}

.firefly-field {
  position: absolute;
  inset: 1rem clamp(1rem, 4vw, 3.5rem) -1rem;
  z-index: 0;
  pointer-events: none;
}

.eyebrow,
.section-label {
  margin: 0 0 0.8rem;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 12.5ch;
  margin-top: 40px;
  font-size: clamp(2.55rem, 5.35vw, 5.8rem);
  line-height: 0.93;
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.92;
}

.hero-title-lockup {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(1.6rem, 3vw, 2.25rem) 0 100px;
  background: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.masthead-eyebrow {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title-banner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 7vw, 6.5rem);
}

.title-crop {
  width: min(100%, 565px);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 2048 / 589;
}

.conference-title {
  display: block;
  width: 100%;
  height: auto;
}

.floating-logo {
  position: absolute;
  z-index: 3;
  width: clamp(72px, 10vw, 132px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
  pointer-events: none;
  transform: rotate(var(--logo-rotate)) scale(var(--logo-scale, 1));
  translate: 0 0;
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 260ms ease;
  animation: logoFloat 4.8s ease-in-out infinite;
  will-change: transform, translate;
}

.floating-logo.is-near {
  --logo-scale: 1.08;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.26));
  animation-name: logoFloat, logoBounce;
  animation-duration: 4.8s, 520ms;
  animation-timing-function: ease-in-out, cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-iteration-count: infinite, 1;
}

.header-firefly {
  position: absolute;
  left: -3rem;
  top: 42%;
  z-index: 4;
  width: clamp(18px, 2.2vw, 28px);
  height: clamp(18px, 2.2vw, 28px);
  background-image: url("assets/firefly.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter:
    drop-shadow(0 0 7px rgba(255, 205, 55, 1))
    drop-shadow(0 0 22px rgba(255, 205, 55, 0.8));
  opacity: 0;
  pointer-events: none;
  animation: headerFirefly 11s ease-in-out infinite 1.2s;
}

.club-logo {
  --logo-rotate: -8deg;
  left: clamp(0.65rem, 3vw, 2.5rem);
  bottom: clamp(-4rem, -4.4vw, -1.75rem);
}

.firefly-logo {
  --logo-rotate: 7deg;
  right: clamp(0.65rem, 3vw, 2.5rem);
  bottom: clamp(-3.8rem, -4vw, -1.65rem);
  animation-delay: -1.5s;
}

.hero-details {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-top: clamp(1.1rem, 2.5vw, 2.2rem);
}

.event-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.8rem 1.25rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-family: var(--title-font);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.1;
}

.event-place::before {
  content: "-";
  margin-right: 0.35rem;
}

.intro {
  max-width: 660px;
  margin: clamp(1.4rem, 2.8vw, 2.2rem) 0 0;
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  font-weight: 720;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.05rem;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.button:hover,
.interest-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.button:disabled {
  color: rgba(21, 21, 21, 0.5);
  background: rgba(21, 21, 21, 0.12);
  cursor: not-allowed;
  transform: none;
  box-shadow: 2px 2px 0 rgba(21, 21, 21, 0.38);
}

.button.primary {
  color: var(--ink);
  background: var(--coral);
}

.button.secondary {
  background: var(--white);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-self: center;
}

.jar {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  filter: drop-shadow(0 16px 28px rgba(21, 21, 21, 0.12));
  transform: rotate(-8deg);
}

.jar-fireflies {
  position: absolute;
  inset: 10% 22% 13% 22%;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-8deg);
}

.jar-bug {
  position: absolute;
  width: clamp(14px, 1.8vw, 22px);
  height: clamp(14px, 1.8vw, 22px);
  background-image: url("assets/firefly.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter:
    drop-shadow(0 0 5px rgba(255, 205, 55, 1))
    drop-shadow(0 0 16px rgba(255, 205, 55, 0.68));
  opacity: 0.9;
  transform: rotate(var(--jar-rotate, 0deg));
  animation:
    jarFireflyDrift var(--jar-speed, 5.6s) ease-in-out infinite alternate,
    fireflyGlow 2.2s ease-in-out infinite;
  animation-delay: var(--jar-delay, 0s);
}

.jar-bug-1 {
  --jar-speed: 5.2s;
  --jar-delay: -0.6s;
  --jar-rotate: -24deg;
  left: 30%;
  top: 24%;
}

.jar-bug-2 {
  --jar-speed: 6.4s;
  --jar-delay: -1.8s;
  --jar-rotate: 38deg;
  right: 26%;
  top: 42%;
}

.jar-bug-3 {
  --jar-speed: 5.8s;
  --jar-delay: -2.7s;
  --jar-rotate: 112deg;
  left: 24%;
  bottom: 26%;
}

.jar-bug-4 {
  --jar-speed: 7s;
  --jar-delay: -3.4s;
  --jar-rotate: -78deg;
  right: 34%;
  bottom: 18%;
}

.firefly-bug {
  position: absolute;
  width: clamp(18px, 2.4vw, 30px);
  height: clamp(18px, 2.4vw, 30px);
  background-image: url("assets/firefly.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter:
    drop-shadow(0 0 5px rgba(255, 205, 55, 0.92))
    drop-shadow(0 0 14px rgba(255, 205, 55, 0.55));
  opacity: 0.84;
  transform: translate3d(0, 0, 0) rotate(var(--bug-rotate, 0deg));
  animation:
    fireflyDrift var(--bug-speed, 9s) ease-in-out infinite alternate,
    fireflyGlow 2.7s ease-in-out infinite;
  animation-delay: var(--bug-delay, 0s);
  will-change: transform, opacity, filter;
}

.bug-1 {
  --bug-rotate: -22deg;
  --bug-speed: 8s;
  --bug-delay: -1s;
  left: 7%;
  top: 18%;
}

.bug-2 {
  --bug-rotate: 16deg;
  --bug-speed: 10s;
  --bug-delay: -3s;
  left: 44%;
  top: 8%;
}

.bug-3 {
  --bug-rotate: 42deg;
  --bug-speed: 11s;
  --bug-delay: -4.5s;
  right: 28%;
  top: 36%;
}

.bug-4 {
  --bug-rotate: -12deg;
  --bug-speed: 9s;
  --bug-delay: -2.2s;
  left: 54%;
  bottom: 14%;
}

.bug-5 {
  --bug-rotate: 26deg;
  --bug-speed: 12s;
  --bug-delay: -5s;
  right: 8%;
  top: 15%;
}

.bug-6 {
  --bug-rotate: -38deg;
  --bug-speed: 10.5s;
  --bug-delay: -6s;
  left: 22%;
  bottom: 22%;
}

.bug-7 {
  --bug-rotate: 10deg;
  --bug-speed: 13s;
  --bug-delay: -7s;
  right: 17%;
  bottom: 30%;
}

.feature-band {
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem);
  color: var(--ink);
  background: var(--coral-soft);
  border-block: 1px solid var(--line);
  text-align: center;
}

.feature-band p {
  max-width: 1060px;
  margin: 0 auto;
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 3.4vw, 3.25rem);
  font-weight: 900;
  line-height: 0.98;
}

.feature-band a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.registration-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--sky-soft);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.registration-band h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 4.3rem);
}

.registration-band-copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.registration-band-copy p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
}

.interest {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(4rem, 8vw, 7rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.donate {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.donate h2 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
}

.donate-emphasis {
  text-shadow: 0.08em 0.08em 0 var(--gold);
}

.donate-copy p:not(.section-label) {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
}

.donate-widget {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.donate-widget givebutter-widget {
  display: block;
  width: min(100%, 540px);
  margin: auto;
}

.mission {
  width: 100%;
  margin: 0;
  padding: var(--section-space) max(1rem, calc((100vw - 1180px) / 2));
  border-block: 1px solid var(--line);
}

.section-copy {
  max-width: 30rem;
  margin: clamp(1.3rem, 2.4vw, 2rem) 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  padding: 0.85rem 1rem 0.85rem 2.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(21, 21, 21, 0.05);
  font-weight: 900;
}

.program-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--sparkle-x1, 82%) var(--sparkle-y1, 28%), rgba(238, 132, 146, 0.62) 0 0.22rem, transparent 0.25rem),
    radial-gradient(circle at var(--sparkle-x2, 88%) var(--sparkle-y2, 64%), rgba(168, 221, 236, 0.72) 0 0.18rem, transparent 0.22rem),
    linear-gradient(var(--shimmer-angle, 112deg), transparent 0 34%, rgba(238, 132, 146, 0.16) 42%, rgba(168, 221, 236, 0.2) 50%, transparent 60%);
  background-size: 100% 100%, 100% 100%, 220% 100%;
  background-position: 0 0, 0 0, 120% 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.program-list li:hover,
.program-list li:focus-visible {
  border-color: rgba(21, 21, 21, 0.32);
  box-shadow: 0 10px 30px rgba(21, 21, 21, 0.08);
}

.program-list li:hover::after,
.program-list li:focus-visible::after {
  opacity: 1;
  transform: scale(1);
  animation: tileShimmer var(--shimmer-speed, 1700ms) ease-out both;
}

.program-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

@keyframes tileShimmer {
  0% {
    background-position: 0 0, 0 0, 125% 0;
  }

  100% {
    background-position: 0 0, 0 0, -90% 0;
  }
}

.endorsed {
  padding: var(--section-space) clamp(1rem, 4vw, 3.5rem);
  background: var(--white);
  border-block: 1px solid var(--line);
  text-align: center;
}

.endorsement-list {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.8fr 0.72fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 1080px;
  margin: 1.25rem auto 0;
}

.endorsement-list img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.interest {
  align-items: start;
}

.interest h2 {
  max-width: none;
}

.mission {
  text-align: left;
  background: rgba(255, 255, 255, 0.58);
}

.mission h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.mission-copy {
  max-width: 900px;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 400;
}

.mission-copy p {
  margin: 0;
}

.mission-copy p + p {
  margin-top: 1.2rem;
}

.interest-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.interest-card {
  display: grid;
  grid-template-rows: 1rem clamp(112px, 10vw, 142px) 1fr;
  align-items: start;
  gap: 1rem;
  min-height: 272px;
  padding: 1rem;
  color: var(--ink);
  background: var(--sky-soft);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
  text-align: left;
}

.interest-card:nth-child(2) {
  background: #fff4c9;
}

.interest-card:nth-child(3) {
  background: var(--coral-soft);
}

.interest-card > span:first-child {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interest-icon {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: clamp(92px, 10vw, 132px);
  height: clamp(92px, 10vw, 132px);
  margin: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.interest-icon img {
  display: block;
  width: 52%;
  height: 52%;
  border-radius: 999px;
  object-fit: contain;
}

.interest-card:nth-child(2) .interest-icon img {
  width: 56%;
  height: 56%;
}

.interest-card:nth-child(3) .interest-icon img {
  width: 62%;
  height: 62%;
}

.interest-card strong {
  align-self: end;
  width: 100%;
  max-width: none;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 0.96;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 320px;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3.5rem);
  color: var(--white);
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.footer-sponsor {
  display: block;
  max-width: 620px;
  margin-top: 0;
  padding-top: 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}

.footer-brand {
  margin-bottom: 0.3rem;
  font-family: var(--title-font);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 1.8rem);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer nav a {
  text-decoration: none;
}

.footer-cta {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.footer-cta:hover {
  color: var(--gold);
}

.registration-modal {
  width: min(940px, calc(100% - 2rem));
  max-height: min(860px, calc(100vh - 2rem));
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.registration-modal::backdrop {
  background: rgba(21, 21, 21, 0.58);
  backdrop-filter: blur(6px);
}

.registration-modal-panel {
  max-height: min(860px, calc(100vh - 2rem));
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--ink);
}

.registration-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.registration-modal h2 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.modal-intro {
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 760;
}

.registration-sections {
  display: grid;
  gap: 0.85rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.registration-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-marker {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
}

.registration-step h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1;
}

.registration-step p {
  margin: 0.8rem 0 0;
}

.registration-step ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.communication-callout {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.9rem;
  background: var(--coral-soft);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
}

.communication-callout-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
}

.communication-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 0 transparent;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.external-window-icon,
.communication-icon {
  display: inline-grid;
  place-items: center;
}

.external-window-icon {
  justify-self: end;
  align-self: center;
  width: 1rem;
  height: 1rem;
  color: var(--teal-deep);
}

.external-window-icon svg,
.communication-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.communication-link:hover,
.communication-link:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  outline: 0;
  transform: translate(-1px, -1px);
}

.communication-link strong {
  font-weight: 900;
}

.communication-link em {
  display: none;
}

.communication-icon {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.modal-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.modal-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--teal);
}

.registration-modal-actions {
  position: sticky;
  bottom: -2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(1.25rem, 3vw, 2rem) calc(clamp(1.25rem, 3vw, 2.25rem) * -1) calc(clamp(1.25rem, 3vw, 2.25rem) * -1);
  padding: 1rem clamp(1.25rem, 3vw, 2.25rem);
  background: rgba(255, 248, 239, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.registration-modal-actions p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.registration-modal-actions .button {
  flex: 0 0 auto;
}

[data-reveal],
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible,
[data-reveal-group] > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logoFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }
}

@keyframes logoBounce {
  0%,
  100% {
    transform: rotate(var(--logo-rotate)) scale(var(--logo-scale, 1));
  }

  45% {
    transform: rotate(calc(var(--logo-rotate) + 4deg)) scale(1.14);
  }

  72% {
    transform: rotate(calc(var(--logo-rotate) - 2deg)) scale(1.04);
  }
}

@keyframes fireflyDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--bug-rotate, 0deg)) scale(0.92);
  }

  28% {
    transform: translate3d(22px, -18px, 0) rotate(calc(var(--bug-rotate, 0deg) + 18deg)) scale(1);
  }

  58% {
    transform: translate3d(-14px, 20px, 0) rotate(calc(var(--bug-rotate, 0deg) - 10deg)) scale(0.86);
  }

  100% {
    transform: translate3d(30px, 10px, 0) rotate(calc(var(--bug-rotate, 0deg) + 8deg)) scale(1.04);
  }
}

@keyframes fireflyGlow {
  0%,
  100% {
    opacity: 0.34;
    filter:
      drop-shadow(0 0 3px rgba(255, 205, 55, 0.6))
      drop-shadow(0 0 9px rgba(255, 205, 55, 0.28));
  }

  45% {
    opacity: 0.95;
    filter:
      drop-shadow(0 0 8px rgba(255, 205, 55, 1))
      drop-shadow(0 0 22px rgba(255, 205, 55, 0.72));
  }
}

@keyframes headerFirefly {
  0% {
    opacity: 0;
    transform: translate3d(-2vw, 0, 0) rotate(72deg) scale(0.86);
  }

  12% {
    opacity: 0.95;
  }

  45% {
    transform: translate3d(52vw, -22px, 0) rotate(108deg) scale(1.06);
  }

  82% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate3d(108vw, 8px, 0) rotate(124deg) scale(0.9);
  }
}

@keyframes jarFireflyDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(calc(var(--jar-rotate, 0deg) - 12deg)) scale(0.86);
  }

  42% {
    transform: translate3d(12px, -16px, 0) rotate(calc(var(--jar-rotate, 0deg) + 18deg)) scale(1.04);
  }

  100% {
    transform: translate3d(-10px, 14px, 0) rotate(calc(var(--jar-rotate, 0deg) + 8deg)) scale(0.94);
  }
}

@media (max-width: 960px) {
  .hero-copy,
  .content-grid,
  .registration-band,
  .interest,
  .donate,
  .mission {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: clamp(3.5rem, 8vw, 4.75rem);
  }

  .hero-art {
    justify-content: center;
    max-width: 240px;
    margin-inline: auto;
  }

  .jar-fireflies {
    inset: 10% 20% 13% 20%;
  }

  .firefly-field {
    inset: 1.5rem 1rem 0;
  }

  .bug-3,
  .bug-5 {
    display: none;
  }

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

  .interest-actions {
    grid-template-columns: 1fr;
  }

  .donate-widget {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 0.85rem;
    padding-inline: 0.75rem;
  }

  .site-header nav {
    width: 100%;
    justify-content: stretch;
    gap: 0.32rem;
    text-align: center;
  }

  .site-header nav a,
  .site-header nav button,
  .site-header nav .nav-cta {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.55rem;
    padding: 0.48rem 0.34rem;
    font-size: clamp(0.68rem, 2.9vw, 0.86rem);
    line-height: 1;
  }

  h2 {
    max-width: 10ch;
  }

  .interest h2,
  .donate h2,
  .mission h2 {
    max-width: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .title-banner {
    padding: 0 1rem;
  }

  .title-crop {
    aspect-ratio: 2048 / 589;
  }

  .floating-logo {
    width: clamp(58px, 19vw, 82px);
  }

  .club-logo {
    left: 0.5rem;
    bottom: -2.75rem;
  }

  .firefly-logo {
    right: 0.5rem;
    bottom: -2.75rem;
  }

  .event-meta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    border-radius: 8px;
  }

  .event-place::before {
    content: none;
  }

  .interest-card {
    grid-template-rows: 1rem 108px auto;
    min-height: 232px;
    gap: 0.8rem;
  }

  .interest-icon {
    width: 96px;
    height: 96px;
  }

  .interest-card strong {
    width: 100%;
    max-width: none;
    font-size: clamp(1.5rem, 8.5vw, 2rem);
  }

  .button {
    flex: 1 1 100%;
  }

  .registration-band {
    padding: 1.25rem;
  }

  .registration-step,
  .registration-modal-actions {
    grid-template-columns: 1fr;
  }

  .registration-modal-actions {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .registration-modal-actions .button {
    flex: 1 1 auto;
  }

  .program-list,
  .endorsement-list {
    grid-template-columns: 1fr;
  }

  .firefly-bug {
    width: 20px;
    height: 20px;
  }

  .header-firefly {
    display: none;
  }

  .bug-2,
  .bug-7 {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1;
    transform: none;
  }
}
