/* ===== TOKENS ===== */
:root {
  --ink: #0d0d10;
  --ink-soft: #16161c;
  --paper: #f6f3ec;
  --paper-2: #efe9dd;
  --accent-deep: #5e2a8c;
  --accent: #9446d6;
  --accent-bright: #b676e6;
  --cream: #f6f3ec;
  --muted: #8a8a93;
  --muted-dark: #5b5b63;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --maxw: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(148, 70, 214, 0.4);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(148, 70, 214, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.btn-give {
  background: var(--ink);
  color: #fff;
  padding: 11px 24px;
  font-size: 0.9rem;
}
.btn-give:hover { background: var(--accent); color: #fff; }

/* ===== NAV ===== */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.nav {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px 12px 22px;
  background: rgba(20, 20, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand-mark { color: var(--accent-bright); font-size: 1.4rem; line-height: 1; }
.brand-mark.big { font-size: 2.4rem; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.footer-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 6px; }
.brand-text {
  font-family: "Anton", sans-serif;
  font-size: 0.82rem;
  line-height: 0.95;
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(148, 70, 214, 0.22), transparent 60%),
    radial-gradient(900px 500px at 80% 120%, rgba(148, 70, 214, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0a0d 0%, #14141b 50%, #0a0a0d 100%);
}
.hero-bg--photo {
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.78) 0%, rgba(10, 10, 14, 0.72) 45%, rgba(8, 8, 11, 0.92) 100%),
    radial-gradient(1000px 500px at 50% 0%, rgba(148, 70, 214, 0.18), transparent 60%),
    url("images/hero-bg.jpg") center 28% / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.eyebrow {
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 22px;
}
.hero-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-accent {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--accent-bright);
  font-size: 0.92em;
}
.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-tag {
  margin-top: 30px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent-bright);
}
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== SECTION LABELS ===== */
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-label.center { text-align: center; }
.section-label.light { color: var(--accent-bright); }

/* ===== MISSION ===== */
.mission {
  background: var(--paper);
  padding: 130px 0;
}
.mission-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.18;
  max-width: 920px;
  color: var(--ink);
}
.mission-title em { color: var(--accent); font-style: italic; }
.mission-body {
  margin-top: 28px;
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted-dark);
}

/* ===== PILLARS ===== */
.pillars {
  background: var(--paper-2);
  padding: 120px 0;
}
.pillars-heading {
  text-align: center;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 60px;
  color: var(--ink);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.pillar-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-num {
  font-family: "Anton", sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  opacity: 0.55;
}
.pillar-card h3 {
  font-size: 1.4rem;
  margin: 14px 0 12px;
  font-weight: 700;
}
.pillar-card p { color: rgba(255, 255, 255, 0.72); line-height: 1.65; font-size: 1rem; }

.do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.do-item {
  padding: 26px 22px;
  background: rgba(13, 13, 16, 0.04);
  border: 1px solid rgba(13, 13, 16, 0.08);
  border-radius: 14px;
}
.do-item h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.do-item p { color: var(--muted-dark); font-size: 0.95rem; line-height: 1.55; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 22px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

/* ===== IMPACT ===== */
.impact {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(148, 70, 214, 0.16), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 130px 0;
  text-align: center;
}
.impact-heading {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 60px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 880px;
  margin: 0 auto 50px;
}
.stat-num {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
}
.impact-note {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ===== BELIEFS ===== */
.beliefs {
  background: var(--ink-soft);
  color: #fff;
  padding: 120px 0;
}
.beliefs-heading {
  text-align: center;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  margin-bottom: 60px;
}
.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.belief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 34px 30px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.belief:nth-child(odd) { border-right: 1px solid var(--line); }
.belief-num {
  font-family: "Anton", sans-serif;
  color: var(--accent);
  font-size: 1.1rem;
  opacity: 0.7;
  grid-row: span 2;
}
.belief h4 { font-size: 1.2rem; margin-bottom: 8px; }
.belief p { color: rgba(255, 255, 255, 0.62); line-height: 1.6; }

/* ===== GIVE ===== */
.give {
  background: var(--paper);
  padding: 130px 0;
}
.give-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.give-heading {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--ink);
}
.give-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted-dark);
  margin-bottom: 30px;
  max-width: 520px;
}
.give-fine { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.give-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow);
}
.give-card h3 {
  font-size: 1.4rem;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.give-card ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.give-card li { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; }

/* ===== SUBSCRIBE ===== */
.subscribe {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  padding: 70px 0;
}
.subscribe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.subscribe-heading {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
}
.subscribe-body { color: rgba(255, 255, 255, 0.9); margin-top: 8px; font-size: 1.05rem; }
.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.subscribe-form input {
  padding: 15px 22px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  min-width: 280px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}
.subscribe-form input:focus { outline: 2px solid var(--ink); }
.subscribe-form .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.subscribe-form .btn-primary:hover { background: var(--ink-soft); }

/* ===== FOOTER ===== */
.footer {
  background: #08080a;
  color: #fff;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 10px 0 12px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.footer-tag {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--accent-bright) !important;
  margin-top: 10px;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 0.88rem; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .do-grid { grid-template-columns: repeat(2, 1fr); }
  .give-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 16, 22, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 12px;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }
  .nav-links.open { transform: scale(1); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 16px; border-radius: 12px; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.06); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn-give { display: none; }
}

@media (max-width: 560px) {
  .do-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item img { height: 260px; }
  .belief-grid { grid-template-columns: 1fr; }
  .belief:nth-child(odd) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe-form input { min-width: 0; flex: 1; }
  .mission, .pillars, .impact, .beliefs, .give { padding: 90px 0; }
}
