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

:root {
  --violet:  #2D1B69;
  --violet2: #4C3A9E;
  --lavender:#C4B5FD;
  --coral:   #FF6B6B;
  --mint:    #A8E6CF;
  --cream:   #FFF8F0;
  --text:    #1A1035;
  --muted:   #6B5E9B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(45,27,105,0.92);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--lavender); letter-spacing: .02em;
}
.nav-logo span { color: var(--coral); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; transition: color .2s;
}
nav ul a:hover { color: var(--lavender); }
.nav-cta {
  background: var(--coral); color: #fff !important;
  padding: .45rem 1.1rem; border-radius: 99px;
}
.nav-cta:hover { background: #ff5252; color: #fff !important; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, var(--violet) 0%, #1a0f40 50%, #0d0826 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 7rem 5vw 4rem;
}
canvas#constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .55; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; text-align: center;
}
.eyebrow {
  display: inline-block; margin-bottom: 1.5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mint);
  border: 1px solid var(--mint); border-radius: 99px;
  padding: .35rem 1rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  color: #fff; margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic; color: var(--lavender);
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  line-height: 1.7; max-width: 580px; margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.btn-group { display: flex; flex-direction: column; align-items: center; gap: .5rem; max-width: 220px; }
.btn-desc { font-size: .75rem; color: rgba(255,255,255,.5); text-align: center; line-height: 1.5; }
.btn-primary {
  background: var(--coral); color: #fff;
  padding: .85rem 2rem; border-radius: 99px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(255,107,107,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,107,107,.5); }
.btn-secondary {
  background: transparent; color: var(--lavender);
  border: 1.5px solid var(--lavender);
  padding: .85rem 2rem; border-radius: 99px;
  font-weight: 500; font-size: .95rem;
  text-decoration: none; transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--lavender); color: var(--violet); }
.hero-stat-row {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 4rem; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--mint);
}
.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.55); letter-spacing: .05em; }

/* ── SHARED SECTION STYLES ── */
section { padding: 6rem 5vw; }
.section-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--violet); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.7; max-width: 560px;
}
.section-header { margin-bottom: 3.5rem; }

/* ── MISSION ── */
#mission {
  background: var(--violet);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.mission-text .section-title { color: var(--lavender); }
.mission-text .section-sub { color: rgba(255,255,255,.72); max-width: 100%; }
.mission-text .section-label { color: var(--mint); }
.mission-pillars { display: flex; flex-direction: column; gap: 1.4rem; }
.pillar {
  background: rgba(255,255,255,.07); border-radius: 16px;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--coral);
  transition: background .2s;
}
.pillar:hover { background: rgba(255,255,255,.12); }
.pillar h4 { font-weight: 600; color: #fff; margin-bottom: .4rem; font-size: .95rem; }
.pillar p { font-size: .85rem; color: rgba(255,255,255,.62); line-height: 1.6; }

/* ── PRACTICES ── */
#practices { background: var(--cream); }
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.practice-card {
  background: #fff; border-radius: 20px;
  padding: 2rem; box-shadow: 0 2px 16px rgba(45,27,105,.07);
  border: 1px solid rgba(196,181,253,.3);
  transition: transform .2s, box-shadow .2s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(45,27,105,.13); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.card-icon.violet { background: rgba(196,181,253,.25); }
.card-icon.coral  { background: rgba(255,107,107,.15); }
.card-icon.mint   { background: rgba(168,230,207,.3); }
.card-icon.gold   { background: rgba(255,213,79,.2); }
.practice-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--violet); margin-bottom: .6rem;
}
.practice-card p { font-size: .88rem; color: #555; line-height: 1.65; }
.card-tip {
  margin-top: 1rem; padding: .75rem 1rem;
  background: rgba(196,181,253,.15); border-radius: 10px;
  font-size: .8rem; color: var(--muted); font-style: italic;
}
.card-tip::before { content: "💡 Try: "; font-style: normal; font-weight: 600; color: var(--violet2); }

/* ── KNOWLEDGE ── */
#knowledge { background: #F0EBF8; }
.knowledge-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.knowledge-nav { position: sticky; top: 5rem; }
.k-nav-item {
  display: block; padding: .75rem 1rem;
  border-radius: 10px; text-decoration: none;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: background .2s, color .2s;
}
.k-nav-item:hover, .k-nav-item.active { background: var(--lavender); color: var(--violet); }
.knowledge-entries { display: flex; flex-direction: column; gap: 2rem; }
.k-entry {
  background: #fff; border-radius: 20px;
  padding: 2rem 2.2rem; box-shadow: 0 2px 12px rgba(45,27,105,.06);
}
.k-entry-tag {
  display: inline-block; padding: .2rem .7rem;
  border-radius: 99px; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.tag-beginner { background: rgba(168,230,207,.4); color: #1a6e4a; }
.tag-intermediate { background: rgba(196,181,253,.35); color: var(--violet); }
.tag-advanced { background: rgba(255,107,107,.15); color: #c0392b; }
.k-entry h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--violet);
  margin-bottom: .7rem;
}
.k-entry p { font-size: .9rem; color: #555; line-height: 1.7; }
.k-bullets { margin-top: .9rem; padding-left: 1.1rem; }
.k-bullets li { font-size: .88rem; color: #555; line-height: 1.8; }

/* ── DAILY LIFE ── */
#daily { background: var(--cream); }
.daily-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tab-btn {
  padding: .55rem 1.3rem; border-radius: 99px;
  border: 1.5px solid var(--lavender);
  background: transparent; color: var(--muted);
  font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--violet); color: #fff; border-color: var(--violet);
}
.daily-content { display: none; }
.daily-content.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.4rem; }
.daily-card {
  background: #fff; border-radius: 16px; padding: 1.6rem;
  box-shadow: 0 2px 12px rgba(45,27,105,.07);
  display: flex; flex-direction: column; gap: .7rem;
}
.daily-time {
  font-size: .7rem; font-weight: 700; color: var(--coral);
  letter-spacing: .1em; text-transform: uppercase;
}
.daily-card h4 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--violet); }
.daily-card p { font-size: .84rem; color: #666; line-height: 1.6; }
.daily-prompt {
  background: rgba(196,181,253,.15); border-radius: 8px;
  padding: .6rem .85rem; font-size: .8rem; color: var(--violet2);
  font-family: 'Courier New', monospace;
}
.daily-prompt::before { content: "> "; opacity: .5; }

/* ── COMMUNITY ── */
#community {
  background: linear-gradient(135deg, var(--violet) 0%, #3b1f80 100%);
  text-align: center;
}
#community .section-title { color: #fff; }
#community .section-sub { color: rgba(255,255,255,.7); margin: 0 auto 3rem; }

.community-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; margin-bottom: 3rem;
  max-width: 780px; margin-left: auto; margin-right: auto;
}
.c-card {
  flex: 0 1 220px;
  background: rgba(255,255,255,.1); border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.c-card:hover { background: rgba(255,255,255,.16); }
.c-icon { font-size: 2rem; margin-bottom: .9rem; }
.c-card h4 { font-weight: 600; color: var(--lavender); margin-bottom: .5rem; font-size: .95rem; }
.c-card p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.join-form {
  max-width: 480px; margin: 0 auto;
  display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center;
}
.join-form input {
  flex: 1; min-width: 220px;
  padding: .85rem 1.3rem; border-radius: 99px;
  border: 1.5px solid rgba(196,181,253,.4);
  background: rgba(255,255,255,.1); color: #fff;
  font-size: .9rem; outline: none;
  transition: border-color .2s;
}
.join-form input::placeholder { color: rgba(255,255,255,.45); }
.join-form input:focus { border-color: var(--lavender); }
.join-form button {
  padding: .85rem 1.8rem; border-radius: 99px;
  background: var(--coral); color: #fff;
  border: none; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: transform .15s;
}
.join-form button:hover { transform: scale(1.04); }

/* ── FOOTER ── */
footer {
  background: var(--text); color: rgba(255,255,255,.55);
  padding: 3rem 5vw; text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--lavender); margin-bottom: .5rem;
}
footer p { font-size: .82rem; line-height: 1.7; }
footer a { color: var(--lavender); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  #mission { grid-template-columns: 1fr; gap: 2.5rem; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .knowledge-nav { display: flex; flex-wrap: wrap; gap: .4rem; position: static; }
  .hero-stat-row { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  canvas#constellation { display: none; }
}

/* ── MAILERLITE FORM OVERRIDES ── */
#mlb2-43498756.ml-form-embedContainer { box-sizing: border-box; display: table; margin: 0 auto; width: 100% !important; }
#mlb2-43498756 .ml-form-embedWrapper { background: transparent !important; border: none !important; max-width: 480px; width: 100%; }
#mlb2-43498756 .ml-form-embedBody { padding: 0 !important; }
#mlb2-43498756 .ml-form-formContent { margin-bottom: 1rem !important; }
#mlb2-43498756 .ml-form-fieldRow input[type="email"] {
  width: 100% !important; padding: .85rem 1.3rem !important;
  border-radius: 99px !important;
  border: 1.5px solid rgba(196,181,253,.4) !important;
  background: rgba(255,255,255,.1) !important;
  color: #fff !important; font-size: .9rem !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important; box-sizing: border-box !important;
  margin-bottom: .8rem !important;
}
#mlb2-43498756 .ml-form-fieldRow input[type="email"]::placeholder { color: rgba(255,255,255,.45) !important; }

#mlb2-43498756 .ml-form-embedSubmit { display: flex !important; justify-content: center !important; float: none !important; width: 100% !important; margin: 1rem 0 0 0 !important; }
#mlb2-43498756 .ml-form-embedSubmit button.primary {
  background: #FF6B6B !important; border: none !important;
  border-radius: 99px !important; color: #fff !important;
  font-weight: 600 !important; font-size: .9rem !important;
  font-family: 'Inter', sans-serif !important;
  padding: .85rem 1.8rem !important; cursor: pointer !important;
  width: auto !important; box-shadow: 0 4px 20px rgba(255,107,107,.4) !important;
  transition: transform .15s !important;
}
#mlb2-43498756 .ml-form-embedSubmit button.primary:hover { transform: scale(1.04) !important; }
#mlb2-43498756 .ml-form-recaptcha { margin: 1rem 0; float: none !important; }
#mlb2-43498756 .ml-form-successBody { padding: 0 !important; }
#mlb2-43498756 .ml-form-successContent h4 { color: #fff !important; }
#mlb2-43498756 .ml-form-successContent p { color: rgba(255,255,255,.7) !important; }
.ml-form-embedSubmitLoad {
  display: inline-block; width: 20px; height: 20px;
}
.ml-form-embedSubmitLoad:after {
  content: " "; display: block; width: 11px; height: 11px;
  margin: 1px; border-radius: 50%; border: 4px solid #fff;
  border-color: #fff #fff #fff transparent;
  animation: spin 1.2s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── INNER PAGE REVEAL FIX ── */
.inner-page .reveal { opacity: 1; transform: none; }

/* ── WORKSHOP FORM (#mlb2-43566429) ── */
#mlb2-43566429.ml-form-embedContainer { box-sizing: border-box; display: table; margin: 0 auto; width: 100% !important; }
#mlb2-43566429 .ml-form-embedWrapper { background: transparent !important; border: none !important; max-width: 480px; width: 100%; }
#mlb2-43566429 .ml-form-embedBody { padding: 0 !important; }
#mlb2-43566429 .ml-form-formContent { margin-bottom: 1rem !important; }
#mlb2-43566429 .ml-form-fieldRow input[type="email"] {
  width: 100% !important; padding: .85rem 1.3rem !important;
  border-radius: 99px !important;
  border: 1.5px solid rgba(196,181,253,.4) !important;
  background: rgba(255,255,255,.1) !important;
  color: #fff !important; font-size: .9rem !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important; box-sizing: border-box !important;
  margin-bottom: .8rem !important;
}
#mlb2-43566429 .ml-form-fieldRow input[type="email"]::placeholder { color: rgba(255,255,255,.45) !important; }
#mlb2-43566429 .ml-form-embedSubmit { float: none !important; margin: 0 !important; width: auto !important; }
#mlb2-43566429 .ml-form-embedSubmit button.primary {
  background: #FF6B6B !important; border: none !important;
  border-radius: 99px !important; color: #fff !important;
  font-weight: 600 !important; font-size: .9rem !important;
  font-family: 'Inter', sans-serif !important;
  padding: .85rem 1.8rem !important; cursor: pointer !important;
  width: auto !important; box-shadow: 0 4px 20px rgba(255,107,107,.4) !important;
  transition: transform .15s !important;
}
#mlb2-43566429 .ml-form-embedSubmit button.primary:hover { transform: scale(1.04) !important; }
#mlb2-43566429 .ml-form-successBody { padding: 0 !important; }
#mlb2-43566429 .ml-form-successContent h4 { color: #fff !important; }
#mlb2-43566429 .ml-form-successContent p { color: rgba(255,255,255,.7) !important; }
