:root {
  --ink: #24143a;
  --ink-soft: #4a3b63;
  --paper: #f6f1e8;
  --paper-2: #fffdf8;
  --line: rgba(36, 20, 58, 0.12);
  --violet: #6d4aff;
  --blue: #2f7dff;
  --mint: #1fb98a;
  --gold: #e7a43a;
  --rose: #e23d8a;
  --shadow: 0 24px 50px rgba(36, 20, 58, 0.12);
  --radius: 28px;
  --header: 4.5rem;
  --max: 1120px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(109, 74, 255, 0.12), transparent 55%),
    radial-gradient(900px 420px at -10% 8%, rgba(31, 185, 138, 0.12), transparent 50%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 80;
}

.skip:focus {
  top: 1rem;
}

.spectrum {
  height: 6px;
  background: linear-gradient(
    90deg,
    #e23d8a 0%,
    #e7a43a 18%,
    #f3e27a 36%,
    #1fb98a 54%,
    #2f7dff 74%,
    #6d4aff 100%
  );
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 241, 232, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-footer .brand img {
  width: 52px;
  height: 52px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 0.98rem;
}

.brand-name span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

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

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.btn-primary {
  color: white;
  background: linear-gradient(120deg, var(--violet), var(--blue) 55%, var(--mint));
  box-shadow: 0 10px 24px rgba(47, 125, 255, 0.28);
}

.btn-ghost {
  background: var(--paper-2);
  border-color: var(--line);
}

.hero {
  padding: 4.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--violet);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--mint));
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.prism-card {
  position: relative;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 360px;
}

.prism-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 210deg at 70% 30%, #e23d8a, #e7a43a, #1fb98a, #2f7dff, #6d4aff, #e23d8a);
  opacity: 0.18;
}

.prism-shape {
  position: absolute;
  inset: 18% 16% 16%;
  clip-path: polygon(50% 8%, 92% 86%, 8% 86%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.prism-copy {
  position: relative;
  z-index: 1;
  margin-top: 14rem;
  background: rgba(255, 253, 248, 0.88);
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.quote,
.stat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  color: var(--ink);
}

.card h3 {
  margin-top: 0.4rem;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.band {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 36px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  gap: 2rem;
}

.band p,
.band .muted {
  color: rgba(246, 241, 232, 0.78);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.quote {
  font-size: 1.25rem;
  font-family: var(--font-display);
  line-height: 1.4;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.page-hero {
  padding: 3.5rem 0 1rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

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

.list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: white;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
}

.donate {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.donate-points li:last-child {
  border-bottom: 0;
}

.donate-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.donate-card .btn {
  width: 100%;
}

.donate-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

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

.site-footer .list a {
  display: inline-block;
  margin: 0.2rem 0;
}

.legal {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.muted {
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header) + 6px);
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .grid-3,
  .grid-2,
  .band,
  .split,
  .contact-grid,
  .footer-grid,
  .stats,
  .donate {
    grid-template-columns: 1fr;
  }

  .prism-card {
    min-height: 300px;
  }
}

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

  .btn {
    transition: none;
  }
}
