:root {
  --plum-950: #1c0f2e;
  --plum-900: #2a1746;
  --plum-800: #3a1f5d;
  --plum-700: #4d2a78;
  --plum-600: #6a3aa0;
  --purple-500: #7c4dc4;
  --purple-400: #9a6fd6;
  --lilac-200: #e8dcf7;
  --lilac-100: #f4edfc;
  --gold-500: #c9a24a;
  --gold-400: #dab968;
  --ink-900: #201a2b;
  --ink-700: #4a4258;
  --ink-500: #726b80;
  --paper: #fbf9fd;
  --white: #ffffff;
  --shadow: 0 20px 50px -20px rgba(42, 23, 70, 0.35);
  --radius: 18px;
  --max-width: 1180px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--plum-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; color: var(--ink-700); }

.section-inner, .header-inner, .footer-inner, .topbar-inner, .stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 100px 0; }
.section.services, .section.give { background: var(--lilac-100); }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-500);
  margin-bottom: 0.9em;
}
.eyebrow.center, h2.center, p.lead.center { text-align: center; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.lead { font-size: 1.15rem; color: var(--ink-700); max-width: 640px; }
.lead.center { max-width: 680px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--plum-950);
  color: var(--lilac-200);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 8px 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 253, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(122, 77, 196, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--plum-900);
  letter-spacing: 0.02em;
}
.brand-mark span { color: var(--gold-500); }
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.brand-logo { height: 34px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--purple-500); }
.main-nav a.nav-cta {
  background: var(--plum-900);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.main-nav a.nav-cta:hover { background: var(--purple-500); color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--plum-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 90px 28px 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(124, 77, 196, 0.16), transparent 60%),
    radial-gradient(50% 50% at 90% 10%, rgba(201, 162, 74, 0.14), transparent 60%);
  z-index: -1;
}
.hero-inner { max-width: 640px; }
.hero-lede { font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 34px; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--plum-700));
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(90, 45, 150, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(90, 45, 150, 0.6); }
.btn-ghost {
  border: 1.5px solid var(--plum-700);
  color: var(--plum-900);
  background: transparent;
}
.btn-ghost:hover { background: var(--plum-900); color: var(--white); }

.hero-verse {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--plum-800);
  max-width: 520px;
}

.hero-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 15, 46, 0.55) 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-graphic {
  aspect-ratio: 1 / 1;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.hero-graphic::after { content: none; }
.hero-graphic img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Stats ---------- */
.stats { background: var(--plum-900); color: var(--white); padding: 46px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-400);
}
.stat-label { font-size: 0.85rem; color: var(--lilac-200); }

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 0.85fr 1.15fr; }
.two-col.reverse .col-photo { order: 1; }
.two-col.reverse .col-text { order: 2; }

.col-art img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.col-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}
.photo-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-top: 12px;
  font-style: italic;
}

.ref { font-size: 0.85em; color: var(--ink-500); }

.beliefs { padding-left: 20px; color: var(--ink-700); }
.beliefs li { margin-bottom: 10px; }

.me-statement {
  background: var(--lilac-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 24px 0;
}
.me-statement-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--plum-800);
  margin-bottom: 6px;
}
.me-statement p:last-child { margin-bottom: 0; font-style: italic; }

.nonprofit-note { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 26px; margin: 30px 0; }
.timeline-group h4 {
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.timeline-group ul { margin: 0; padding-left: 20px; color: var(--ink-700); }
.timeline-group li { margin-bottom: 8px; }

.cta-line { font-weight: 600; color: var(--plum-800); }
.cta-line a { color: var(--purple-500); text-decoration: underline; }

/* ---------- Services ---------- */
.focus-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 50px;
}
.focus-tags span {
  background: var(--white);
  border: 1px solid rgba(122, 77, 196, 0.25);
  color: var(--plum-800);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 30px -18px rgba(42, 23, 70, 0.25);
}
.service-card h3 { margin-bottom: 10px; }
.link-arrow { color: var(--purple-500); font-weight: 700; font-size: 0.92rem; }
.link-arrow:hover { color: var(--plum-900); }

.bootcamp-title { text-align: center; margin-bottom: 40px; }
.bootcamp-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 18px;
  border: 1px solid rgba(122, 77, 196, 0.14);
}
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-500);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.step h4 { font-size: 0.98rem; margin-bottom: 4px; }
.step p { font-size: 0.85rem; margin: 0; }

/* ---------- Testimonials ---------- */
.section.testimonials {
  background: linear-gradient(135deg, var(--plum-900), var(--plum-700));
}
.testimonials .eyebrow { color: var(--gold-400); }
.testimonials h2 { color: var(--white); }

.testimonial-nav { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.testimonial-nav button:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--plum-900); transform: translateY(-2px); }

.testimonial-scroll {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 6px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}
.testimonial-scroll::-webkit-scrollbar { height: 8px; }
.testimonial-scroll::-webkit-scrollbar-track { background: transparent; }
.testimonial-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.4); border-radius: 999px; }

.testimonial-card {
  flex: 0 0 auto;
  width: min(80vw, 360px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  box-shadow: 0 16px 34px -14px rgba(15, 7, 26, 0.45);
}
.testimonial-card blockquote {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card figcaption { font-size: 0.85rem; font-weight: 600; color: var(--purple-500); }

.testimony-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.testimony-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px -14px rgba(15, 7, 26, 0.5);
}

/* ---------- Events ---------- */
.event-group-title { margin-top: 56px; }
.event-group-title:first-of-type { margin-top: 0; }
.event-feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 12px 30px -18px rgba(42, 23, 70, 0.2);
  max-width: 820px;
  margin: 30px auto 0;
  text-align: center;
}
.event-feature h3 { font-size: 1.7rem; }
.event-feature p { max-width: 560px; margin-left: auto; margin-right: auto; }
.event-feature video {
  width: 100%;
  border-radius: 12px;
  margin-top: 22px;
  background: var(--plum-950);
}
.event-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-500);
  margin-bottom: 10px;
}

.event-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.virtual-callout {
  margin-top: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--plum-900), var(--plum-700));
  color: var(--lilac-200);
  border-radius: var(--radius);
  padding: 40px;
}
.virtual-callout h4 { color: var(--white); }
.virtual-callout p { color: var(--lilac-200); }
.virtual-callout a { color: var(--gold-400); font-weight: 700; }

/* ---------- Shop ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0 30px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(42, 23, 70, 0.2);
  text-align: center;
}
.product-card .product-media {
  aspect-ratio: 4/5;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-card img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { padding: 18px; margin: 0; font-size: 1.1rem; }
.shipping-note { text-align: center; color: var(--ink-500); font-size: 0.9rem; }

/* ---------- Give / Contact ---------- */
.give-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.give-method {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(122, 77, 196, 0.14);
}
.give-method h4 { color: var(--plum-800); }
.give-note { font-size: 0.82rem; color: var(--ink-500); margin: 8px 0 0; }
.give-handle { font-weight: 700; color: var(--purple-500); font-size: 1.05rem; }

.col-contact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--plum-900);
  margin: 10px 0 18px;
  border-bottom: 2px solid var(--gold-500);
}
.contact-note { font-size: 0.88rem; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-950); color: var(--lilac-200); padding: 60px 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-mark { color: var(--white); }
.footer-brand .brand-mark span { color: var(--gold-400); }
.footer-brand p { color: rgba(232, 220, 247, 0.7); max-width: 360px; margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: flex-end; align-content: start; }
.footer-nav a { font-size: 0.9rem; color: var(--lilac-200); }
.footer-nav a:hover { color: var(--gold-400); }
.footer-copy { text-align: center; font-size: 0.8rem; color: rgba(232, 220, 247, 0.55); margin: 24px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-photo, .two-col.reverse .col-text { order: initial; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .service-cards { grid-template-columns: 1fr; }
  .bootcamp-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { width: min(85vw, 340px); }
  .product-grid, .testimony-gallery { grid-template-columns: 1fr; }
  .give-methods { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 20px;
    border-bottom: 1px solid rgba(122, 77, 196, 0.12);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(122,77,196,0.08); }
  .main-nav a.nav-cta { margin-top: 10px; text-align: center; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 70px 0; }
}
