:root {
  --earth: #1a0d2e;
  --sage: #3d9e85;
  --sage-light: #85c9b5;
  --cream: #fdf4f7;
  --warmwhite: #fefbfd;
  --terracotta: #c9416a;
  --terracotta-light: #f0a0b8;
  --gold: #f5b830;
  --gold-soft: #fde896;
  --plum: #7a3d8c;
  --plum-light: #c082d0;
  --sky: #6ab8d8;
  --rose: #e8527e;
  --text: #1a0d2e;
  --text-light: #5e4870;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--warmwhite);
  overflow-x: hidden;
  line-height: 1.8;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--plum); }

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

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(254, 251, 253, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(26,13,46,0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.nav-logo span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--earth);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--terracotta); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--earth);
  transition: all 0.3s;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(160deg, var(--cream) 0%, #f0ecff 100%);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--earth);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--terracotta); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--earth);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(122,61,140,0.55), transparent 60%),
    radial-gradient(ellipse at 80% 25%, rgba(201,65,106,0.5), transparent 50%),
    radial-gradient(ellipse at 50% 88%, rgba(61,158,133,0.3), transparent 50%),
    radial-gradient(ellipse at 70% 68%, rgba(245,184,48,0.2), transparent 40%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-content .logo-mark {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
  animation: fadeUp 1s ease both;
}
.hero-content .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease 0.15s both;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--terracotta-light);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(253,244,247,0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  animation: fadeUp 1s ease 0.3s both;
}
.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--terracotta), var(--plum));
  color: var(--cream);
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 1s ease 0.45s both;
}
.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(201,65,106,0.55);
  color: var(--cream);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253,244,247,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== SECTIONS ========== */
section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
  color: var(--earth);
}
.section-heading em {
  font-style: italic;
  color: var(--terracotta);
}

/* ========== ABOUT / MISSION ========== */
#mission {
  background: var(--warmwhite);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.mission-image {
  position: relative;
}
.mission-image img {
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/5;
}
.mission-image::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid var(--plum-light);
  border-radius: 24px;
  z-index: -1;
}

/* ========== PROGRAMS / GATHERINGS ========== */
#gatherings {
  background: #f8f4ff;
}
.gatherings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.program-card {
  background: var(--warmwhite);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  box-shadow: 0 2px 16px rgba(26,13,46,0.06);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(122,61,140,0.15);
}
.program-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.program-card-body {
  padding: 1.75rem;
}
.program-card-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tag-garden { background: rgba(61,158,133,0.15); color: var(--sage); }
.tag-archery { background: rgba(245,184,48,0.2); color: #b08010; }
.tag-music { background: rgba(122,61,140,0.15); color: var(--plum); }
.tag-fundraiser { background: rgba(232,82,126,0.15); color: var(--rose); }

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--earth);
}
.program-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== QUEERAOKE FEATURE ========== */
#queeraoke {
  background: var(--earth);
  position: relative;
  overflow: hidden;
}
.queeraoke-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(122,61,140,0.55), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(201,65,106,0.45), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(61,158,133,0.2), transparent 40%);
}
#queeraoke .section-label { color: var(--gold-soft); }
#queeraoke .section-heading { color: var(--cream); }
#queeraoke .section-heading em { color: var(--gold); }

.queeraoke-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.queeraoke-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.queeraoke-images img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.queeraoke-images img:first-child {
  margin-top: 2rem;
}
.queeraoke-text p {
  color: rgba(253,244,247,0.8);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* ========== FOUNDER ========== */
#founder {
  background: var(--warmwhite);
}
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}
.founder-photo-stack {
  position: relative;
}
.founder-photo-stack img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.founder-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--warmwhite);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.founder-photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: unset;
}
.founder-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.founder-text .founder-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--earth);
  margin-bottom: 0.25rem;
}
.founder-text .founder-pronouns {
  font-size: 0.9rem;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ========== VALUES STRIP ========== */
.values-strip {
  background: linear-gradient(135deg, var(--rose) 0%, var(--plum) 50%, var(--sage) 100%);
  padding: 3rem 2rem;
  overflow: hidden;
}
.values-marquee {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.values-marquee span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  opacity: 0.95;
}
.values-marquee .dot {
  color: var(--gold-soft);
  font-size: 1rem;
  line-height: 1.5rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== DONATE ========== */
#donate {
  background: #f8f4ff;
  text-align: center;
}
#donate .section-heading {
  margin-bottom: 1rem;
}
.donate-intro {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.donate-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.donate-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.donate-btn--venmo {
  background: #3d95ce;
  color: #fff;
}
.donate-btn--venmo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(61,149,206,0.45);
  color: #fff;
}
.donate-btn--cashapp {
  background: #00c244;
  color: #fff;
}
.donate-btn--cashapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(0,194,68,0.45);
  color: #fff;
}

/* ========== CONTACT / FOOTER ========== */
#connect {
  background: linear-gradient(160deg, #fdf4f7 0%, #f0ecff 100%);
  text-align: center;
}
#connect .section-heading {
  margin-bottom: 1rem;
}
#connect p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.connect-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--terracotta), var(--plum));
  color: var(--cream);
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s, box-shadow 0.3s;
}
.connect-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(201,65,106,0.45);
  color: var(--cream);
}

footer {
  background: var(--earth);
  color: rgba(253,244,247,0.5);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}
footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
footer .footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--cream);
}
footer .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
footer .footer-links a {
  color: rgba(253,244,247,0.5);
  font-size: 0.85rem;
}
footer .footer-links a:hover { color: var(--terracotta-light); }
footer .footer-location {
  font-style: italic;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .mission-grid,
  .queeraoke-layout,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mission-image { order: -1; }
  .mission-image::after { display: none; }

  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-photo-stack {
    max-width: 340px;
  }

  .gatherings-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .queeraoke-images {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .queeraoke-images img:first-child {
    margin-top: 0;
  }
  .values-marquee span {
    font-size: 1.1rem;
  }
}
