:root {
  --bg: #f6f1ff;
  --text: #140f24;
  --muted: #5f5677;
  --accent: #5a2d82;
  --accent-2: #3a1a5c;
  --accent-soft: #eadcff;
  --card: #ffffff;
  --border: #d8c9ef;
  --sidebar: rgba(246, 241, 255, 0.92);
  --radius: 24px;
  --shadow: 0 14px 28px rgba(20, 15, 36, 0.1);
  --header-height: 76px;
  --logo-shift-x: 0px;
  --logo-shift-y: 0px;
  --logo-scale: 0.3;
}

body.dark-mode {
  --bg: #060014;
  --text: #f8f7ff;
  --muted: #dac7ff;
  --accent: #c587ff;
  --accent-2: #f5adff;
  --accent-soft: rgba(167, 113, 255, 0.18);
  --card: rgba(18, 5, 35, 0.95);
  --border: rgba(255, 255, 255, 0.2);
  --sidebar: rgba(18, 5, 40, 0.85);
  --shadow: 0 18px 34px rgba(5, 0, 20, 0.42);
}

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

body {
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 6vw 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 58px;
  background: rgba(246, 241, 255, 0.93);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(217, 205, 238, 0.7);
  box-shadow: 0 8px 18px rgba(20, 15, 36, 0.08);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  font-size: 1rem;
}

.logo-dock {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(90, 45, 130, 0.12);
  border: 1px solid rgba(217, 205, 238, 0.8);
}

.logo-dock img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  display: block;
}

.is-logo-docked .logo-dock img {
  opacity: 1;
  transform: scale(1);
}

.nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-size: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 205, 238, 0.8);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 12px rgba(90, 45, 130, 0.06);
}

.nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--accent-2);
  background: rgba(90, 45, 130, 0.16);
}

.nav a.is-active {
  color: var(--accent-2);
  background: rgba(90, 45, 130, 0.18);
  box-shadow: inset 0 0 0 1px rgba(90, 45, 130, 0.2);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  align-self: center;
  margin: 0 4px;
}

.nav-legal {
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(90, 45, 130, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle.is-dark {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-label::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--accent), 0 -6px 0 var(--accent);
}

.page {
  min-height: 100vh;
  display: block;
  padding-top: var(--header-height);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 255, 0.98)),
    radial-gradient(circle at 100% 0, rgba(90, 45, 130, 0.08), transparent 42%);
  position: relative;
  overflow-x: hidden;
}

body.dark-mode .page {
  background:
    linear-gradient(180deg, rgba(8, 2, 20, 0.98), rgba(18, 5, 35, 0.98)),
    radial-gradient(circle at 100% 0, rgba(197, 135, 255, 0.12), transparent 40%);
}

body.dark-mode .site-header {
  background: color-mix(in srgb, var(--sidebar), rgba(255, 255, 255, 0.05));
  border-bottom-color: color-mix(in srgb, var(--border), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 22px rgba(5, 0, 20, 0.28);
}

body.dark-mode .nav {
  background: color-mix(in srgb, var(--accent-soft), var(--sidebar) 80%);
  border-color: var(--border);
  box-shadow: 0 8px 18px rgba(5, 0, 20, 0.22);
}

body.dark-mode .donate-cta {
  background: color-mix(in srgb, var(--accent-soft), var(--card) 40%);
  border-color: var(--border);
  box-shadow: 0 10px 22px rgba(5, 0, 20, 0.22);
}

body.dark-mode .modal-overlay {
  background: rgba(0, 0, 0, 0.65);
}

body.dark-mode .modal {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 18px 34px rgba(5, 0, 20, 0.32);
}

body.dark-mode .modal p,
body.dark-mode .modal-note,
body.dark-mode .pay-hint {
  color: var(--muted);
}

body.dark-mode .modal-close {
  border-color: var(--border);
  background: color-mix(in srgb, var(--accent-soft), rgba(255, 255, 255, 0.08));
  color: var(--muted);
}

body.dark-mode .modal-close:hover {
  background: color-mix(in srgb, var(--accent-soft), rgba(255, 255, 255, 0.18));
}

body.dark-mode .pay-card {
  background: color-mix(in srgb, var(--accent-soft), var(--card) 50%);
  border-color: color-mix(in srgb, var(--border), transparent 30%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

body.dark-mode .pay-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

body.dark-mode .pay-card .pay-head strong {
  color: var(--text);
}

body.dark-mode .pay-link .pay-hint {
  color: var(--muted);
}

body.dark-mode .pay-logo {
  background: color-mix(in srgb, var(--accent-soft), rgba(255, 255, 255, 0.05));
  color: var(--text);
}

body.dark-mode .pay-logo--paypal {
  background: rgba(0, 48, 135, 0.4);
  color: color-mix(in srgb, #ffffff, transparent 40%);
}

body.dark-mode .pay-logo--whydonate {
  background: rgba(214, 33, 90, 0.3);
  color: #ffe7f1;
}

body.dark-mode .pay-logo--gofundme {
  background: rgba(0, 185, 100, 0.28);
  color: #defff2;
}

body.dark-mode .iban {
  background: color-mix(in srgb, var(--card), rgba(255, 255, 255, 0.1));
  border-color: var(--border);
  color: var(--text);
}

main {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding: 72px 6vw 110px;
  text-align: center;
  align-items: center;
  margin: 2px auto;
}

main > .section,
main > .cta {
  content-visibility: visible;
  contain: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
  position: relative;
  padding-top: 48px;
  width: 100%;
}

.hero-logo {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(150px, 19vw, 220px);
  margin-bottom: 6px;
  transition: transform 0.7s ease, opacity 0.5s ease;
  transform-origin: center;
}

.hero-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(90, 45, 130, 0.14);
}

.is-logo-docked .hero-logo {
  transform: translate(var(--logo-shift-x), var(--logo-shift-y))
    scale(var(--logo-scale));
  opacity: 0;
  pointer-events: none;
}

.hero-text,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(3.4rem, 4.2vw, 4.1rem);
  letter-spacing: -0.06em;
  margin: 18px 0 26px;
}

.lead {
  font-size: 1.6rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.5rem;
  color: var(--muted);
}

.hero-actions {
  display: inline-block;
  margin: 18px auto;
  max-width: 560px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: none;
}

.hero-card h2 {
  font-size: 1.4rem;
}

.with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--accent);
  vertical-align: -0.12em;
}

.heading-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(90, 45, 130, 0.12);
  color: var(--accent-2);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.heading-icon .icon,
.contact-card-icon .icon,
.pay-logo .icon,
.theme-toggle .icon,
.modal-close .icon {
  width: 1.05em;
  height: 1.05em;
}

.theme-toggle .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.hero-card p {
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.hero-metrics div {
  display: grid;
  gap: 4px;
}

.metric-icon {
  color: var(--accent-2);
  font-size: 0.95rem;
}

.hero-metrics strong {
  font-size: 1.2rem;
  display: block;
  color: var(--accent);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  width: 100%;
}

.section[data-reveal] {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

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

.section p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.grid.small {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tile {
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(90, 45, 130, 0.12);
  color: var(--accent-2);
  font-size: 1rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.category-card {
  background: var(--card);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-card h3 {
  font-size: 1.4rem;
}

.category-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  padding-left: 0;
}

.category-list li {
  display: flex;
  gap: 8px;
}

.category-list li::before {
  content: "-";
  color: var(--accent);
}

.category-tag {
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.register-card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.register-step {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.register-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: start;
}

.offer-card {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
}

.offer-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-tags span {
  background: rgba(90, 45, 130, 0.08);
  color: var(--accent-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.offer-form {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.offer-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
}

.offer-form textarea {
  resize: vertical;
}

.offer-form .full {
  grid-column: 1 / -1;
}

.offer-form button {
  grid-column: 1 / -1;
  justify-self: flex-start;
}

.section-donate .donate-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.section-team {
  gap: 26px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.team-card {
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(217, 205, 238, 0.72);
  box-shadow: 0 14px 30px rgba(20, 15, 36, 0.05), 0 2px 6px rgba(20, 15, 36, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card-figure {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(234, 220, 255, 0.28);
  min-height: 220px;
  flex: 0 0 auto;
}

.team-card-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-card-body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 4px;
  text-align: center;
  background: var(--card);
  position: relative;
  z-index: 1;
}

.team-card-body h3 {
  font-size: 1rem;
}

.team-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
}

.donate-card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.donate-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
}

.donate-card span {
  color: var(--muted);
}

.contact-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(217, 205, 238, 0.72);
  box-shadow: 0 14px 30px rgba(20, 15, 36, 0.05), 0 2px 6px rgba(20, 15, 36, 0.03);
  text-decoration: none;
  color: var(--text);
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.contact-card:hover {
  box-shadow: 0 16px 32px rgba(90, 45, 130, 0.06), 0 3px 10px rgba(90, 45, 130, 0.04);
  transform: translateY(-1px);
}

.contact-actions {
  margin-top: 16px;
}

.contact-page {
  display: grid;
  gap: 32px;
}

.contact-hero {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-detail {
  background: rgba(90, 45, 130, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 6px;
  align-items: start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(90, 45, 130, 0.14);
  color: var(--accent-2);
  font-size: 0.95rem;
  margin-top: 2px;
}

.contact-detail-content {
  display: grid;
  gap: 6px;
}

.contact-detail-content span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-detail-meta i {
  color: var(--accent-2);
}

.contact-detail a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: flex-start;
}

.contact-consent {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--muted);
}

.contact-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.auth {
  gap: 32px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.auth-card {
  background: var(--card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.auth-social {
  display: grid;
  gap: 10px;
}

.auth-divider {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.auth-form input {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
}

.auth-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-roles button {
  border: 1px solid var(--border);
  background: rgba(90, 45, 130, 0.08);
  color: var(--accent-2);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.auth-roles button.is-selected {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(90, 45, 130, 0.24);
}

.auth-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  max-width: 900px;
}

.legal h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

.legal-card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.nav-legal.is-active {
  background: rgba(90, 45, 130, 0.22);
}

.cta {
  background: transparent;
  color: var(--text);
  padding: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.cta-actions {
  display: inline-block;
  margin: 20px auto
}

.cta h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.cta p {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 8vw 60px;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(217, 205, 238, 0.7);
}

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

.footer a:hover {
  color: var(--accent);
}

.btn {
  border: none;
  padding: 18px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.22rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 8px;
}

.btn .btn-icon i {
  line-height: 1;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 14px rgba(90, 45, 130, 0.14);
  font-size: 1.34rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.22rem;
}

.cta .btn-ghost {
  background: rgba(90, 45, 130, 0.08);
  color: var(--accent);
  border-color: rgba(90, 45, 130, 0.16);
  padding: 18px 44px;
  font-size: 1.22rem;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.btn:hover {
  box-shadow: 0 10px 20px rgba(90, 45, 130, 0.16);
}

.btn.is-active {
  box-shadow: 0 10px 20px rgba(90, 45, 130, 0.2);
}

body.page-legal .logo-dock img,
body.page-auth .logo-dock img,
body.page-contact .logo-dock img {
  opacity: 1;
  transform: scale(1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

  .hero-logo {
    transform: none !important;
    opacity: 1 !important;
  }

  .logo-dock img {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .section[data-reveal] {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 6vw 10px;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0 4px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .nav a {
    padding: 8px 10px;
    width: 100%;
  }

  .nav-actions {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .nav-toggle:checked ~ .nav,
  .nav-toggle:checked ~ .nav-actions {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-logo {
    margin-bottom: 20px;
  }

  .cta {
    padding: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    gap: 80px;
    padding: 50px 6vw 90px;
  }

  .hero-logo {
    width: 160px;
  }

  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .team-card {
    border-radius: 22px;
  }

  .team-card-figure {
    aspect-ratio: auto;
    min-height: 132px;
  }

  .team-card-body {
    padding: 14px 14px 16px;
    gap: 2px;
  }

  .team-card-body h3 {
    font-size: 0.95rem;
  }

  .team-card-body p {
    font-size: 0.82rem;
  }
}



/* --- Apple-like micro-polish / layout tightening (overlay on your style) --- */
:root{
  --maxw: 1180px;
  --shadow-soft: 0 12px 28px rgba(20, 15, 36, 0.06), 0 2px 6px rgba(20, 15, 36, 0.04);
}

.skip{
  position:absolute; left:14px; top:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(217,205,238,.7);
  border-radius: 999px;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(20, 15, 36, 0.08);
  transform: translateY(-160%);
  transition: transform .18s ease;
  z-index: 9999;
}
.skip:focus{ transform: translateY(0); outline: 2px solid rgba(90,45,130,.28); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

main{
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-about .prose{
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}
.prose h3{
  margin-top: 18px;
  font-size: 1.55rem;
}
.divider{
  width: 180px;
  height: 3px;
  background: rgba(197,134,255,.36);
  border-radius: 999px;
  margin: 40px auto;
}
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 42px auto 0;
  max-width: 820px;
  width: 100%;
  padding: 0;
}

.checklist li {
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(217,205,238,.82);
  box-shadow: 0 8px 18px rgba(20, 15, 36, 0.06);
  display: grid;
  gap: 10px;
  text-align: left;
  color: var(--text);
}

.checklist li strong {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--accent-2);
  letter-spacing: 0.01em;
}

.checklist li span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .checklist {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .checklist li {
    padding: 20px;
  }
}

.hero-video .video-frame{
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  /*border: 1px solid rgba(217,205,238,.85);*/
  box-shadow: 0 8px 18px rgba(90,45,130,.1);
  background: #000;
}
.hero-video video{
  width: 100%;
  height: auto;
  display:block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-note{
  font-size: .95rem;
  color: var(--muted);
}

/* Gallery */
.section-impressions .gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.gallery-card{
  background: var(--card);
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(90, 45, 130, 0.08);
  display:grid;
}
.gallery-card img{
  width:100%;
  height: 230px;
  object-fit: cover;
  display:block;
}
.gallery-card figcaption{
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 900px){
  .checklist{
    grid-template-columns: 1fr;
  }
}

/* Donate CTA row */
.donate-cta{
  display:grid;
  justify-items:center;
  gap: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(217,205,238,.85);
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: 0 12px 28px rgba(90,45,130,.06), 0 2px 6px rgba(90,45,130,.04);
  width: 100%;
  max-width: 860px;
}
.donate-cta-text {
  font-size: 2rem;
  display:grid;
  gap: 8px;
  text-align: center;
}
.donate-cta-text strong{ color: var(--accent-2); font-size: 1.05rem; }
.donate-cta-text span{ color: var(--muted); }

.section-support-visual {
  gap: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  padding-inline: 24px;
}

.support-visual-card {
  width: min(980px, 100%);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(217, 205, 238, 0.82);
  box-shadow: 0 14px 30px rgba(20, 15, 36, 0.08), 0 3px 8px rgba(20, 15, 36, 0.05);
  background: var(--card);
}

.support-visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 28px);
  background: rgba(20,15,36,.34);
  z-index: 50;
  opacity: 0;
  transition: opacity .22s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.is-modal-open .modal-overlay{
  display:flex;
}
body.is-modal-open .modal-overlay.is-visible{
  opacity: 1;
}
.modal{
  width: min(760px, 94vw);
  max-height: calc(100dvh - 24px);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(217,205,238,.85);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  padding: 40px;
  transform: translateY(12px) scale(0.86);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
}
.modal-overlay.is-visible .modal{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal h3{ font-size: 1.6rem; margin-bottom: 12px; }
.modal p{ color: var(--muted); margin-bottom: 28px; max-width: 58ch; }

.modal-close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(217,205,238,.85);
  background: rgba(255,255,255,.7);
  cursor: pointer;
  display:grid;
  place-items:center;
  padding: 0;
}
.modal-close:hover{
  background: rgba(255,255,255,.9);
}
.modal-close .icon{
  width: 0.78rem;
  height: 0.78rem;
}

.pay-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px){
  .pay-grid{ grid-template-columns: 1fr 1fr; }
}
.pay-card{
  background: rgba(246,241,255,.6);
  border: 1px solid rgba(217,205,238,.85);
  border-radius: 20px;
  padding: 22px;
  display:grid;
  gap: 14px;
  text-decoration:none;
  color: inherit;
}
.pay-card:hover{
  box-shadow: 0 10px 20px rgba(90,45,130,.08);
}
.pay-head{
  display:flex;
  align-items:flex-start;
  flex-wrap: wrap;
  gap: 14px;
}
.pay-head strong{
  flex: 1 1 180px;
  min-width: 0;
}
.pay-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(90,45,130,.12);
  color: var(--accent);
}
.pay-logo--bank{ background: rgba(90,45,130,.12); color: var(--accent); }
.pay-logo--paypal{ background: #ddeeff; color: #003087; }
.pay-logo--whydonate{ background: #fde8ef; color: #d6215a; }
.pay-logo--gofundme{ background: #e4f7ed; color: #00b964; }
.pay-badge{
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(90,45,130,.12);
  color: var(--accent-2);
  font-weight: 700;
}
.iban-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.iban{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(217,205,238,.85);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 0.9rem;
  overflow:auto;
  min-width: 0;
}
.iban-copy-btn{
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217,205,238,.88);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.iban-copy-btn:hover{
  background: rgba(255,255,255,.95);
  border-color: rgba(217,205,238,.98);
  color: var(--text);
}
.iban-copy-btn:focus-visible{
  outline: 2px solid rgba(90,45,130,.24);
  outline-offset: 2px;
}
.iban-copy-btn .icon{
  width: 1rem;
  height: 1rem;
}
.pay-hint{
  color: var(--muted);
  font-size: .9rem;
}

.modal-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(217,205,238,.75);
}
.modal-note{ color: var(--muted); font-size: .9rem; }

@media (max-width: 640px){
  .modal-overlay{
    align-items: flex-start;
  }

  .modal{
    width: min(100%, 420px);
    max-height: calc(100dvh - 16px);
    margin: auto;
    padding: 18px 14px 16px;
    border-radius: 22px;
  }

  .modal h3{
    font-size: 1.3rem;
    margin-bottom: 8px;
    padding-right: 42px;
  }

  .modal p{
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .modal-close{
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .pay-card{
    padding: 16px;
    gap: 12px;
  }

  .pay-head{
    gap: 10px;
  }

  .pay-head strong{
    flex-basis: calc(100% - 54px);
  }

  .pay-badge{
    margin-left: 54px;
  }

  .iban-row{
    gap: 8px;
  }

  .iban{
    font-size: 0.84rem;
    padding: 10px;
  }

  .iban-copy-btn{
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .modal-footer{
    margin-top: 20px;
    padding-top: 16px;
  }

  .modal-footer .btn{
    width: 100%;
  }
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20,15,36,.92);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 80;
}
.toast.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
