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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: white;
  overflow-x: hidden;
}

.page-container {
  min-height: 100vh;
  background: linear-gradient(to bottom, #0f172a, #1e3a8a, #000000);
}

/* Navigation */
.navbar {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container {
  position: relative;
}

.logo {
  width: auto;
  height: 60px;
  max-width: 180px;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.25)) brightness(1.08);
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 28px rgba(59, 130, 246, 0.35)) brightness(1.12);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: bold;
}

.brand-text p {
  font-size: 0.875rem;
  color: #93c5fd;
}

.nav-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
}

.constellation-icon {
  position: relative;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dome-icon {
  font-size: 2rem;
  z-index: 2;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.constellation-icon .star {
  position: absolute;
  color: #93c5fd;
  font-size: 1rem;
  animation: twinkle 2s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(147, 197, 253, 0.8));
}

.star-1 {
  top: 5px;
  left: 20px;
  animation-delay: 0s;
}

.star-2 {
  top: 15px;
  right: 25px;
  animation-delay: 0.3s;
}

.star-3 {
  bottom: 10px;
  left: 15px;
  animation-delay: 0.6s;
}

.star-4 {
  bottom: 5px;
  right: 20px;
  animation-delay: 0.9s;
}

.star-5 {
  top: 50%;
  left: 5px;
  animation-delay: 1.2s;
}

.star-6 {
  top: 50%;
  right: 5px;
  animation-delay: 1.5s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Animated Buttons */
.animated-btn {
  background: linear-gradient(45deg, #dc2626, #ef4444);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.animated-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.animated-btn:hover::before {
  width: 300px;
  height: 300px;
}

.animated-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.btn-primary {
  background: linear-gradient(45deg, #2563eb, #3b82f6);
}

.btn-primary:hover {
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ef4444;
  color: #f87171;
}

.btn-secondary:hover {
  background: #ef4444;
  color: white;
}

.large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 1rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0.8) 70%),
    url("images/planetarium-dome.jpg") center / cover;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: auto;
  height: clamp(140px, 28vw, 220px);
  max-width: min(480px, 90vw);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.3)) brightness(1.1);
}

.hero-badge {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate, float 6s ease-in-out infinite;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.8));
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: #93c5fd;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Animated Cards */
.animated-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.animated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.animated-card:hover::before {
  left: 100%;
}

.animated-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Star Animation */
.animated-card[data-stars="true"] {
  position: relative;
}

.animated-card[data-stars="true"]:hover::after {
  content: "✨";
  position: absolute;
  top: 20%;
  right: 20%;
  font-size: 1.5rem;
  animation: starBurst 0.8s ease-out;
  pointer-events: none;
}

@keyframes starBurst {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.5) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(360deg);
  }
}

/* Create multiple stars */
.animated-card[data-stars="true"]:hover {
  animation: createStars 0.8s ease-out;
}

@keyframes createStars {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  25% {
    box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.8), -10px -10px 0 rgba(255, 255, 255, 0.6), 15px -15px 0
      rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 20px 20px 0 rgba(255, 255, 255, 0.6), -20px -20px 0 rgba(255, 255, 255, 0.4), 25px -25px 0
      rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Sections */
.fundraising {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.progress-card {
  max-width: 64rem;
  margin: 0 auto;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.card-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-header p {
  color: #93c5fd;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.progress-bar {
  width: 100%;
  height: 1rem;
  background: #374151;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  border-radius: 0.5rem;
  animation: progressFill 2s ease-out;
}

@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 0%;
  }
}

.progress-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.raised {
  color: #60a5fa;
}

.goal {
  color: #a78bfa;
}

.progress-text {
  text-align: center;
  color: #d1d5db;
}

.about,
.shows,
.visit,
.support {
  padding: 5rem 0;
}

.video-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnail-link {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.video-thumbnail {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.video-play-button {
  display: none;
}

.shows {
  background: rgba(0, 0, 0, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #93c5fd;
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid,
.shows-grid,
.support-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.show-card h3,
.support-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.show-details {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.visit-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.visit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.visit-content > div {
  margin-bottom: 1.5rem;
}

.visit-content p {
  margin-bottom: 0.5rem;
}

.support {
  background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), rgba(59, 130, 246, 0.1));
  text-align: center;
}

.support-card {
  text-align: center;
  cursor: pointer;
  color: inherit;
}

.support-card:hover {
  color: inherit;
}

.support-card h3,
.support-card .support-tier-name {
  font-size: 1.5rem;
  color: #a78bfa;
  margin-bottom: 1rem;
}

.support-card h4 {
  color: #a78bfa;
  margin-bottom: 1rem;
}

.donate-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.commitment-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.commitment-card {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.commitment-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: #93c5fd;
}

.commitment-card p {
  color: #d1d5db;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: auto;
  height: 32px;
  max-width: 96px;
  border-radius: 4px;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 12px rgba(59, 130, 246, 0.2)) brightness(1.05);
}

.footer-section:first-child {
  text-align: left;
}

.footer-section:last-child {
  text-align: right;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.contact-info p {
  margin-bottom: 0.25rem;
  line-height: 1.2;
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header fixes */
  .nav-container {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .nav-brand {
    flex: 1;
    min-width: 0;
  }

  .brand-text h1 {
    font-size: 1rem;
  }

  .brand-text p {
    font-size: 0.75rem;
  }

  .logo {
    height: 40px;
    width: auto;
    max-width: 110px;
  }

  .nav-graphic {
    display: none;
  }

  .donate-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .donate-btn .btn-icon {
    font-size: 0.875rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0 1rem;
    max-width: 100%;
  }

  .hero-logo-wrap {
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .hero-logo {
    height: clamp(72px, 22vw, 110px);
    max-width: min(260px, 88vw);
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Video section - hide iframe on mobile, show thumbnail */
  .video-section {
    padding: 3rem 1rem;
  }

  .video-wrapper iframe {
    display: none;
  }

  .video-thumbnail-link {
    display: block;
  }

  .video-thumbnail {
    display: block;
  }

  .video-play-button {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }

  .video-play-button::before {
    content: "▶";
    color: white;
    font-size: 2rem;
    margin-left: 4px;
  }

  .video-thumbnail-link:hover .video-play-button {
    background: rgba(220, 38, 38, 1);
    transform: translate(-50%, -50%) scale(1.1);
  }

  /* Footer fixes */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%;
  }

  .footer-section:first-child,
  .footer-section:last-child {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .features-grid,
  .shows-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .progress-card,
  .commitment-card,
  .support-card {
    min-width: 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation delays */
.features-grid .animated-card:nth-child(1) {
  animation-delay: 0.1s;
}
.features-grid .animated-card:nth-child(2) {
  animation-delay: 0.2s;
}
.features-grid .animated-card:nth-child(3) {
  animation-delay: 0.3s;
}

.shows-grid .animated-card:nth-child(1) {
  animation-delay: 0.1s;
}
.shows-grid .animated-card:nth-child(2) {
  animation-delay: 0.2s;
}
.shows-grid .animated-card:nth-child(3) {
  animation-delay: 0.3s;
}
.shows-grid .animated-card:nth-child(4) {
  animation-delay: 0.4s;
}
.shows-grid .animated-card:nth-child(5) {
  animation-delay: 0.5s;
}
.shows-grid .animated-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Ripple effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Login gate / modal */
.login-gate-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #0f172a, #1e3a8a, #000000);
  padding: 1rem;
}
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.login-modal {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}
.login-modal h2 {
  margin-bottom: 1.25rem;
  color: #93c5fd;
  font-size: 1.5rem;
  text-align: center;
}
.login-modal input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 1rem;
}
.login-modal input[type="password"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.login-modal .btn-login {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.login-modal .btn-login:hover { opacity: 0.95; }
.login-modal .login-error {
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  text-align: center;
}
.login-modal .login-locked {
  color: #fca5a5;
  text-align: center;
  padding: 1rem 0;
}
.locked-page {
  text-align: center;
  color: #93c5fd;
  max-width: 400px;
}
.locked-page h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.locked-page p { color: #d1d5db; }

/* Masthead Donate Now: requested aqua and a gentle continuous pulse. */
.donate-btn.animated-btn {
  background: #27F5F2;
  color: #062e38;
  box-shadow: 0 0 12px rgba(39,245,242,.2);
  transform-origin: center;
}
.donate-btn.animated-btn:hover {
  background: #27F5F2;
  color: #062e38;
  box-shadow: 0 6px 24px rgba(39,245,242,.45);
}
.donate-btn.animated-btn:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .donate-btn.animated-btn { animation: donate-aqua-pulse 3s ease-in-out infinite; }
}
@keyframes donate-aqua-pulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(39,245,242,.18); }
  50% { transform: translateY(-2px) scale(1.025); box-shadow: 0 0 22px rgba(39,245,242,.42); }
}

/* Original logo artwork with transparent navy removal and larger presentation. */
.logo, .logo:hover, .hero-logo, .footer-logo {
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.25));
  border-radius: 0;
}
.hero-logo {
  width: clamp(280px, 38vw, 380px);
  height: auto;
  max-width: 88vw;
}
.hero-logo-wrap { overflow: visible; }
@media (max-width: 768px) {
  .hero-logo { width: min(320px, 80vw); height: auto; max-width: 88vw; }
}

/* Fundraising panel: clearer separation while retaining the existing page palette. */
.fundraising .progress-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, #101c32, #0a1122);
  border: 1px solid rgba(212, 175, 85, 0.8);
  border-top: 3px solid #d4af55;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 85, 0.1);
}
.fundraising .progress-card:hover {
  border-color: #d4af55;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 85, 0.16);
}
.fundraising .card-header p,
.fundraising .progress-labels,
.fundraising .progress-text { color: #e2e8f0; }
.fundraising .progress-bar {
  background: #24344e;
  border: 1px solid #50627f;
}
.fundraising .goal { color: #f3d68a; font-size: 1.35rem; }
#fundraising { scroll-margin-top: 80px; }


/* Fundraising motion: match the feature cards' full-face sheen and surrounding glow. */
.fundraising .progress-card { cursor: default; isolation: isolate; }
.fundraising .progress-card > * { position: relative; z-index: 1; }
.fundraising .progress-card::before {
  content: ""; position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; left: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 15%, rgba(96,165,250,.06) 32%, rgba(255,255,255,.16) 50%, rgba(212,175,85,.09) 60%, transparent 82%);
  transform: translateX(-115%); transition: none;
}
.fundraising .progress-card:hover::before { left: 0; }
.fundraising .progress-card:hover {
  border-color: #f3d68a;
  box-shadow: 0 22px 48px rgba(0,0,0,.5), 0 0 36px rgba(59,130,246,.38), 0 0 15px rgba(212,175,85,.24);
}
@media (prefers-reduced-motion: no-preference) {
  .fundraising .progress-card.fund-in-view {
    animation: fund-arrive .85s cubic-bezier(.2,.7,.2,1) backwards, fund-glow 4.5s ease-in-out .85s infinite;
  }
  .fundraising .fund-in-view::before { animation: fund-card-sheen 6s ease-in-out .35s infinite; }
  .fundraising .fund-in-view .goal { animation: fund-goal .9s ease-out .2s both; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fundraising .progress-card.fund-in-view:hover {
    animation: none; transform: translateY(-6px) scale(1.01);
  }
  .fundraising .progress-card.fund-in-view:hover::before { animation: fund-hover-sheen 1.2s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  .fundraising .progress-card { animation: none; transition: none; }
  .fundraising .progress-card:hover { transform: none; }
}
@keyframes fund-arrive {
  from { opacity: .3; transform: translateY(28px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fund-glow {
  0%,100% { box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 0 18px rgba(59,130,246,.13), 0 0 10px rgba(212,175,85,.1); }
  50% { box-shadow: 0 24px 54px rgba(0,0,0,.5), 0 0 38px rgba(59,130,246,.3), 0 0 20px rgba(212,175,85,.2); }
}
@keyframes fund-card-sheen {
  0% { transform: translateX(-115%); opacity: 0; }
  5% { opacity: 1; }
  34% { transform: translateX(115%); opacity: 1; }
  35%,100% { transform: translateX(115%); opacity: 0; }
}
@keyframes fund-hover-sheen {
  0% { transform: translateX(-115%); opacity: 1; }
  100% { transform: translateX(115%); opacity: 1; }
}
@keyframes fund-goal {
  from { opacity: .4; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Campaign editorial pass: concise hierarchy and consistent actions. */
.brand-text .brand-name { color: #fff; font-size: 1.25rem; font-weight: 700; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 2000; padding: .75rem 1rem; background: #27f5f2; color: #062e38; }
.skip-link:focus { top: .5rem; }
.hero { overflow: hidden; padding: 3rem 1rem; min-height: auto; }
.hero-title { font-size: clamp(2.6rem,6vw,4.8rem); line-height: 1.12; margin-bottom: 1.2rem; }
.hero-subtitle { font-size: clamp(1.2rem,3vw,1.7rem); margin-bottom: 1rem; }
.hero-description { max-width: 42rem; margin-bottom: 1.5rem; }
.hero-badge { animation: none; background: rgba(212,175,85,.12); color: #f3d68a; border-color: rgba(212,175,85,.4); font-size: .9rem; }
.hero-logo-wrap { margin-bottom: 1rem; }
.eyebrow { color: #f3d68a; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .65rem; }
.section-header .eyebrow, .fundraising .card-header .eyebrow { color: #f3d68a; font-size: .8rem; }
.section-header { margin-bottom: 2.25rem; }
.section-header h2, .closing-appeal h2 { font-size: clamp(1.7rem,3.8vw,2.5rem); line-height: 1.2; margin-bottom: 1rem; }
.section-header p { font-size: 1.12rem; }
.about, .support, .video-section { padding: 3.5rem 0; }
.campaign-cta.animated-btn { display: inline-flex; width: fit-content; justify-content: center; background: #27f5f2; color: #062e38; text-decoration: none; font-weight: 700; }
.campaign-cta.animated-btn:hover { box-shadow: 0 8px 28px rgba(39,245,242,.3); }
.campaign-cta:focus-visible, .text-link:focus-visible, .support-card:focus-visible, summary:focus-visible { outline: 2px solid #27f5f2; outline-offset: 5px; }
.text-link, main p a { color: #a5f3fc; text-underline-offset: 4px; }
.text-link { padding: .65rem; }
.panel-action { display: flex; justify-content: center; margin-top: 1.25rem; }
.fundraising { padding: 2.75rem 0; }
.video-section .container { max-width: 1050px; }
.video-wrapper { padding-bottom: 0; height: auto; aspect-ratio: 16 / 9; }
.support-card { text-decoration: none; display: flex; flex-direction: column; text-align: left; }
.support-card .card-icon { font-size: 1.6rem; margin-bottom: .8rem; }
.support-card p { color: #e2e8f0; }
.support-card h3 { color: #f3d68a; }
.card-action { display: block; color: #a5f3fc; font-weight: 600; margin-top: auto; padding-top: 1.25rem; }
.campaign-questions { padding: 3rem 0; }
.questions-inner { max-width: 850px; }
.campaign-questions details { border-bottom: 1px solid rgba(148,163,184,.3); padding: 1.1rem 0; }
.campaign-questions summary { font-size: 1.08rem; font-weight: 600; cursor: pointer; }
.campaign-questions details p { color: #cbd5e1; padding-top: .8rem; }
.closing-appeal { text-align: center; padding-top: 3rem; }
.closing-appeal .campaign-cta { margin: 1rem auto 0; }
.home-link { color: #a5f3fc; font-weight: 600; padding: .7rem 1rem; border: 1px solid rgba(165,243,252,.45); border-radius: .5rem; }
.donation-hero .hero-logo { width: clamp(250px,30vw,320px); }
#about, #support, #vision, #ways-to-give, #main-content { scroll-margin-top: 90px; }
@media (max-width: 600px) {
  .nav-container { gap: .5rem; }
  .nav-brand { gap: .5rem; min-width: 0; }
  .brand-text .brand-name { font-size: 1rem; }
  .brand-text p:not(.brand-name) { font-size: .68rem; }
  .donate-btn.animated-btn { padding: .65rem .75rem; white-space: nowrap; }
  .hero { padding: 2rem 1rem; }
  .hero-title { font-size: 2.65rem; }
  .features-grid, .support-grid { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .animated-card { padding: 1.5rem; }
  .fundraising { padding: 2rem 0; }
  .progress-card .card-header h2 { font-size: 1.7rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-section:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title { animation: none; }
}

/* The complete masthead identity is a home link on both pages. */
a.nav-brand { color: inherit; text-decoration: none; border-radius: .5rem; }
a.nav-brand:focus-visible { outline: 2px solid #27f5f2; outline-offset: 4px; }
a.nav-brand:hover .brand-name { color: #a5f3fc; }

/* Community page and lightweight shared navigation, October 10 2026. */
.nav-container {height:auto;min-height:76px;gap:1.5rem;}
.nav-actions {display:flex;align-items:center;gap:1.75rem;flex-shrink:0;}
.community-nav {color:#f3d68a;text-decoration:none;font-size:1.05rem;font-weight:700;position:relative;padding:.8rem 0;white-space:nowrap;}
.community-nav:hover,.community-nav[aria-current="page"] {color:#27f5f2;}
.community-nav[aria-current="page"]::after {content:"";position:absolute;bottom:.25rem;left:0;width:32px;height:2px;background:#27f5f2;}
.community-nav:focus-visible {outline:2px solid #27f5f2;outline-offset:5px;}
.community-hero {position:relative;overflow:hidden;padding:6rem 0 5rem;background:radial-gradient(ellipse at 80% 10%,#1d4c7955,transparent 60%);}
.community-intro {position:relative;z-index:1;text-align:center;}
.community-intro h1 {font-size:clamp(2.6rem,5.3vw,4.5rem);line-height:1.09;letter-spacing:-.04em;margin:1.1rem auto 1.7rem;max-width:1000px;}
.community-intro h1 span {color:#f3d68a;}
.community-lead {color:#d6e6f7;font-size:clamp(1.05rem,2vw,1.3rem);margin-bottom:1.5rem;}
.community-orbit {position:absolute;width:700px;height:700px;left:50%;top:-455px;margin-left:-350px;border:1px solid #b8d9ff30;border-radius:50%;box-shadow:0 0 100px #27f5f211,inset 0 0 100px #27f5f211;}
.community-orbit:after {content:"";position:absolute;inset:-70px;border:1px solid #b8d9ff15;border-radius:50%;}
.community-orbit span {position:absolute;bottom:50px;right:138px;color:#f3d68a;font-size:1.4rem;text-shadow:0 0 25px #f3d68a;}
.community-purpose {padding:3.5rem 0;background:#08162e55;border-block:1px solid #a4c6fa22;}
.purpose-grid,.invite-grid {display:grid;grid-template-columns:1fr 1.15fr;gap:4rem;align-items:start;}
.community-page h2 {font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.16;letter-spacing:-.025em;}
.community-page main p:not(.eyebrow) {color:#d5e2f2;}
.purpose-grid p+p {margin-top:1rem;}
.community-possibilities {padding:4.5rem 0;scroll-margin-top:110px;}
.experience-grid {display:grid;grid-template-columns:1fr 1fr;gap:0 4rem;margin-top:2.5rem;}
.experience-grid article {padding:2rem 0 2.5rem;border-top:1px solid #a5c8ef55;}
.experience-number {font-size:.72rem;letter-spacing:.15em;font-weight:700;color:#99eff2;}
.experience-grid h3 {font-size:clamp(1.55rem,2.5vw,2rem);line-height:1.18;margin:1rem 0;}
.experience-grid p {max-width:30rem;line-height:1.75;}
.community-page .program-note {max-width:760px;font-size:.9rem;opacity:.82;margin-top:1rem;}
.community-invite {padding:3.5rem 0;border-block:1px solid #a4c6fa33;background:#07132366;}
.invite-grid .text-link {display:inline-block;padding:.75rem 0;margin-top:.5rem;}
.community-give {text-align:center;padding:4.5rem 0 5rem;background:radial-gradient(ellipse at 50% 100%,#145f7833,transparent 70%);}
.community-give p:not(.eyebrow) {max-width:590px;margin:1.5rem auto;}
.community-give .campaign-cta {margin:auto;}
.community-teaser {margin:2rem auto 0;text-align:center;max-width:42rem;color:#d5e2f2;}
.community-teaser a {display:inline-block;margin-top:.5rem;}
@media (prefers-reduced-motion:no-preference){.community-orbit span {animation:community-star 5s ease-in-out infinite;}@keyframes community-star{50%{opacity:.45;transform:scale(.8);}}}
@media(max-width:768px){.nav-container{padding:.65rem 1rem;gap:.25rem;}.nav-brand{flex-basis:100%;}.nav-actions{width:100%;justify-content:space-between;gap:1rem;padding:.2rem 0;}.nav-actions .home-link{margin-left:auto;}.community-hero{padding:3rem 0;}.purpose-grid,.invite-grid{grid-template-columns:1fr;gap:1.3rem;}.experience-grid{gap:0 2rem;}.community-purpose,.community-invite{padding:2.5rem 0;}.community-possibilities{padding:3rem 0;}}
@media(max-width:520px){.experience-grid{grid-template-columns:1fr;}.community-intro h1{font-size:2.65rem;}.community-intro .eyebrow{font-size:.68rem;}.community-lead br{display:none;}.experience-grid article{padding:1.6rem 0;}.community-give{padding:3rem 0;}}

/* Matching navigation buttons, October 10 2026. */
.nav-actions { gap: .75rem; }
.nav-actions .nav-button {
 display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
 min-height: 36px; min-width: 152px; padding: 7px 14px;
 background: #27f5f2; color: #062e38; border: 1px solid #27f5f2;
 border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 20px;
 text-decoration: none; white-space: nowrap; position: relative;
 transition: background .2s ease, box-shadow .2s ease;
}
.nav-actions .nav-button:hover { background: #a5fffd; box-shadow: 0 2px 10px #27f5f226; }
.nav-actions .nav-button[aria-current="page"] { outline: 2px solid #f3d68a; outline-offset: 3px; }
.nav-actions .nav-button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
@media(prefers-reduced-motion:no-preference) {
 .nav-actions .nav-button { animation: none; box-shadow: 0 2px 8px #27f5f214; }
}
@media(max-width:1000px) {
 .nav-container { flex-wrap: wrap; padding-top: .65rem; padding-bottom: .65rem; gap: .75rem; }
 .nav-brand { flex-basis: 100%; }
 .nav-actions { width: 100%; }
}
@media(max-width:600px) {
 .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
 .nav-actions .nav-button { min-width: 0; width: 100%; padding: 7px 10px; font-size: 14px; }
 .nav-actions .home-link { grid-column: 1 / -1; justify-self: end; }
}
