:root {
  --bg: #faf8ff;
  --panel: #ffffff;
  --soft: #f2edff;
  --primary: #8b5cf6;
  --primary-deep: #4c1d95;
  --accent: #c4b5fd;
  --highlight: #ede9fe;
  --text: #24153f;
  --muted: #665b7d;
  --line: rgba(76, 29, 149, 0.12);
  --shadow: 0 22px 48px rgba(76, 29, 149, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}

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

.section {
  padding: 6rem 0;
}

.section-soft {
  background: var(--soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(250, 248, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.main-nav a.active {
  color: var(--text);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.2rem 0;
}

.brand-logo {
  display: block;
  width: min(300px, 42vw);
  height: auto;
  max-height: 95px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(76, 29, 149, 0.14));
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: white;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: white;
  box-shadow: 0 16px 28px rgba(76, 29, 149, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  border: 1px solid rgba(76, 29, 149, 0.14);
  box-shadow: 0 8px 20px rgba(76, 29, 149, 0.05);
}

.page-hero {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  max-width: 760px;
}

.narrow-copy {
  max-width: 760px;
}

.center-text {
  text-align: center;
}

.center-text p:last-child {
  margin-top: 1rem;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.07em;
  max-width: 560px;
  color: var(--primary-deep);
}

.lead {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  max-width: 620px;
}

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

.mini-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
}

.mini-stats li {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.mini-stats strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 1.05rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.8;
}

.bubble-one {
  inset: 6% auto auto 8%;
  width: 180px;
  height: 180px;
  background: rgba(196, 181, 253, 0.72);
}

.bubble-two {
  inset: auto 10% 12% auto;
  width: 220px;
  height: 220px;
  background: rgba(139, 92, 246, 0.16);
}

.card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(76, 29, 149, 0.1);
  box-shadow: var(--shadow);
}

.profile-card {
  display: grid;
  place-items: center;
  padding: 1.4rem 1rem 1rem;
}

.profile-badge {
  display: block;
  width: min(320px, 70%);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(76, 29, 149, 0.14));
}

.card-main {
  width: min(420px, 92%);
  padding: 2.1rem 1.7rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,243,255,0.96));
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: #ddd6fe;
}

.dot.active {
  background: var(--primary);
}

.card-main h2 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
}

.signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.signal span {
  font-weight: 700;
  color: var(--text);
}

.bars {
  display: flex;
  gap: 0.4rem;
  align-items: end;
  height: 28px;
}

.bars i {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
}

.bars i:nth-child(1) { height: 10px; }
.bars i:nth-child(2) { height: 18px; }
.bars i:nth-child(3) { height: 22px; }
.bars i:nth-child(4) { height: 28px; }

.card-floating {
  position: absolute;
  right: 6%;
  bottom: 10%;
  max-width: 210px;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(237, 233, 254, 0.94);
}

.section-heading {
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  max-width: 620px;
}

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

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.impact-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
}

.impact-grid strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 1.8rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f5f3ff);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(76, 29, 149, 0.05);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 16px;
  font-size: 1.4rem;
  background: rgba(139, 92, 246, 0.14);
}

.info-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.55rem;
  font-size: 1.4rem;
}

#instagram-feed.instagram-grid {
  align-items: stretch;
}

#instagram-feed .instagram-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(76, 29, 149, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#instagram-feed .instagram-card:hover,
#instagram-feed .instagram-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(76, 29, 149, 0.1);
}

.instagram-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.instagram-card .instagram-content {
  padding: 1rem 1rem 1.2rem;
}

.instagram-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.instagram-badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(196, 181, 253, 0.68);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.instagram-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.instagram-card p {
  font-size: 0.95rem;
}

.spotlight-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.spotlight-wrap p:last-child {
  font-size: 1.04rem;
}

.brand-strip {
  padding-top: 0;
  padding-bottom: 2rem;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--primary-deep);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.9;
}

.editorial-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(245,243,255,0.92));
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.editorial-feature,
.editorial-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(26, 39, 36, 0.04);
}

.editorial-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.editorial-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-feature > div,
.editorial-card {
  padding: 1.4rem 1.4rem 1.5rem;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-feature h3,
.editorial-card h3 {
  margin: 0.8rem 0 0.5rem;
  font-size: 1.5rem;
}

.dark-pill {
  background: rgba(76, 29, 149, 0.92);
  color: white;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  font-weight: 800;
  color: var(--primary-deep);
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.resource-list article {
  padding: 1.6rem;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
}

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

.pill {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-card {
  margin: 0;
  padding: 1.6rem;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.support-band {
  padding-top: 0;
}

.support-band-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.2rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.13), rgba(196, 181, 253, 0.22));
  border: 1px solid var(--line);
}

.support-band h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  letter-spacing: -0.05em;
  max-width: 620px;
}

.support-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.11), rgba(196, 181, 253, 0.24));
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(76, 29, 149, 0.07);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact-copy {
  max-width: 540px;
}

.contact-copy p {
  margin-top: 0.8rem;
}

.contact-details {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--text);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--primary-deep);
}

.contact-flag {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background: var(--highlight);
  font-size: 1.25rem;
}

.contact-details strong {
  color: var(--primary-deep);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(76, 29, 149, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(139, 92, 246, 0.28);
  border-color: rgba(139, 92, 246, 0.58);
}

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

.compact-actions {
  margin-top: 1.5rem;
}

.submit-btn {
  border: none;
  cursor: pointer;
}

.gallery-page .page-hero {
  padding-bottom: 1rem;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(26, 39, 36, 0.04);
}

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

.gallery-info {
  padding: 1rem 1rem 1.2rem;
}

.gallery-info .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.gallery-info a {
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-info h3 {
  font-size: 1.1rem;
}

.donation-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.donation-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.donation-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
}

.donation-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem 1.5rem;
  box-shadow: 0 14px 32px rgba(26, 39, 36, 0.04);
}

.donation-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.donation-card p {
  margin-bottom: 1rem;
}

.payment-options {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.donation-btn {
  margin-top: 0.1rem;
}

.payment-details {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.payment-details p {
  margin: 0 0 0.7rem;
}

.small-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border-radius: 999px;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--highlight);
  transform: translateY(-1px);
}

.social-links a > span:first-child {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 8px;
  background: var(--primary-deep);
  color: white;
  font-size: 0.9rem;
  line-height: 1;
}

.social-links a:nth-child(2) > span:first-child,
.social-links a:nth-child(3) > span:first-child {
  font-size: 0.75rem;
}

.social-section {
  padding-top: 0;
}

.social-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.social-panel h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.05em;
}

.social-links-large {
  justify-content: flex-start;
  gap: 0.75rem;
}

.social-links-large a {
  background: white;
  padding-right: 0.75rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .three-up,
  .four-up,
  .resource-list,
  .contact-box,
  .spotlight-wrap,
  .impact-grid,
  .editorial-grid,
  .support-band-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .social-panel {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: min(190px, 52vw);
  }

  .editorial-feature {
    grid-template-columns: 1fr;
  }

  .desktop-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.2rem 1.25rem;
    background: rgba(246, 245, 244, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .contact-box {
    display: block;
  }

  .contact-actions,
  .support-actions {
    margin-top: 1.2rem;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .nav-wrap {
    padding: 0.8rem 0;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .social-links {
    justify-content: flex-start;
  }
}
