:root {
  --bg: #050505;
  --bg-soft: #0a0c12;
  --card: #111111;
  --card-light: #171a22;
  --blue: #0000ff;
  --blue-bright: #00aeff;
  --text: #f5f7fa;
  --muted: #a7aab0;
  --line: rgba(0, 174, 255, 0.28);
  --shadow: 0 0 28px rgba(0, 123, 255, 0.2);
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 80, 255, 0.18), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(0, 174, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 18px rgba(0, 174, 255, 0.8);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background: rgba(0, 174, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 7rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: auto 8% 8% auto;
  width: min(38rem, 70vw);
  height: min(38rem, 70vw);
  content: "";
  background: radial-gradient(circle, rgba(0, 174, 255, 0.1), transparent 67%);
  transform: translate(30%, 25%);
  z-index: -2;
}

.hero-glow {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(28rem, 82vw);
  margin-bottom: 1rem;
  filter: none;
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
}

.hero-logo:hover,
.hero-logo:focus-visible {
  transform: scale(1.04);
}

.eyebrow {
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 14ch;
  margin-top: 0.4rem;
  font-size: clamp(2.15rem, 6vw, 4.35rem);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-tagline {
  margin-top: 1rem;
  color: var(--text);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: var(--shadow);
  color: white;
}

.button-secondary {
  background: rgba(0, 174, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.content-section {
  scroll-margin-top: 5rem;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.panel,
.card,
.contact-links,
.donate-panel {
  background:
    linear-gradient(145deg, rgba(0, 174, 255, 0.08), transparent 40%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.panel {
  padding: clamp(1.35rem, 4vw, 2rem);
  color: var(--muted);
  font-size: 1.08rem;
}

.panel p + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow),
.muted {
  margin-top: 1rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.card {
  min-height: 11rem;
  padding: 1.35rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  border-color: rgba(0, 174, 255, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card p {
  margin-top: 1rem;
  color: var(--text);
  font-weight: 700;
}

.card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.donate-panel {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.donate-panel p:not(.eyebrow) {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-links {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: rgba(0, 174, 255, 0.08);
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(0, 174, 255, 0.1);
  transform: translateY(-2px);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-card strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(0, 174, 255, 0.16);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content a {
  color: var(--blue-bright);
  font-weight: 700;
}

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 4.4rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 0.6rem;
    background: rgba(10, 12, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .split,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
