:root {
  color-scheme: light dark;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --bg: #06060a;
  --surface: rgba(255, 255, 255, 0.06);
  --panel: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, 0.75);
  --accent: #8cf3ff;
  --accent-strong: #61daf9;
  --stroke: rgba(255, 255, 255, 0.08);
  background-color: var(--bg);
  color: var(--text);
}

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

body {
  margin: 0;
  background: radial-gradient(circle at 12% 18%, #15193f, #05050b 70%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3.5rem);
  padding: 0;
  padding-bottom: 4rem;
}

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

a {
  color: inherit;
}

.hero,
main,
.footer {
  width: 100%;
  margin: 0;
}

.hero {
  position: relative;
  min-height: 80vh;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(4rem, 5vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 70% 20%,
      rgba(97, 218, 249, 0.25),
      transparent 40%
    ),
    radial-gradient(circle at 30% 10%, rgba(3, 252, 194, 0.3), transparent 35%);
  filter: blur(40px);
  z-index: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: clamp(140px, 20vw, 210px);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1.1;
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
}

.hero .lede {
  font-size: 1.15rem;
  color: rgba(247, 247, 251, 0.85);
  max-width: 56ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
}

.button,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.button--small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.button {
  background: linear-gradient(120deg, #8cf3ff, #61daf9, #52bdf0);
  color: #022439;
}

.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text);
}

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

.hero-media {
  display: grid;
  gap: 1.4rem;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
}

.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--primary {
  min-height: 340px;
}

main {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: clamp(1.75rem, 3vw, 3rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section:first-of-type {
  border-top: none;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 640px;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  padding: 1.7rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  box-shadow: none;
}

.card h3 {
  margin: 0.7rem 0;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.details li {
  margin-bottom: 0.5rem;
}

.visit-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.events .event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.events article {
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

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

.gallery-item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(10, 10, 20, 0.25);
  box-shadow: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.support {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer {
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.footer a {
  margin-left: 0.75rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 2.25rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links {
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-photo--primary {
    min-height: 240px;
  }
  body {
    padding: 1rem;
  }
}
