/* ============================================================
   Mystical Mauve — landing page
   Cosmic twilight: deep aubergine→mauve, gold accents,
   soft violet glow, starfield. Modern, mystical, premium.
   ============================================================ */

:root {
  --void:        #140d1e;
  --dusk:        #211633;
  --dusk-soft:   #2a1d3f;

  --mauve:       #8b5fb0;
  --mauve-bright:#bd94de;
  --mauve-glow:  rgba(150, 104, 200, 0.35);

  --gold:        #e8c074;
  --gold-bright: #f4d79a;
  --gold-glow:   rgba(232, 192, 116, 0.30);

  --text:        #ece4f4;
  --text-soft:   #c3b2d6;
  --text-faint:  #8c7ca2;

  --card:        rgba(255, 255, 255, 0.045);
  --card-edge:   rgba(189, 148, 222, 0.18);
  --hairline:    rgba(189, 148, 222, 0.22);

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw:        1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -5%, var(--dusk-soft), transparent 55%),
    linear-gradient(180deg, var(--dusk) 0%, var(--void) 55%, #0e0916 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Cosmic background ---------- */
.cosmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cosmos-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.cosmos-glow--1 {
  top: -180px; left: 50%;
  width: 620px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--mauve-glow), transparent 65%);
  animation: drift 16s var(--ease) infinite;
}
.cosmos-glow--2 {
  bottom: -200px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--gold-glow), transparent 68%);
  animation: drift 20s var(--ease) infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.5; }
  50%      { transform: translate(-50%, 24px) scale(1.08); opacity: 0.75; }
}

.starfield { position: absolute; inset: 0; }
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
  animation: twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%      { opacity: 0.9;  transform: scale(1.15); }
}

/* ---------- Shared ---------- */
main, .nav, .site-footer { position: relative; z-index: 1; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a1d10;
  box-shadow: 0 12px 30px -12px var(--gold-glow), 0 0 0 1px rgba(232,192,116,0.4);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--gold-glow), 0 0 24px var(--gold-glow); }
.btn--ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--card-edge);
}
.btn--ghost:hover { color: var(--text); border-color: var(--mauve-bright); transform: translateY(-2px); }

.section-eyebrow {
  font-family: "Fraunces", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
  color: var(--text);
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem clamp(1.2rem, 4vw, 2.5rem);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.nav-brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--card-edge), 0 0 16px var(--mauve-glow); }
.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  font-family: "Fraunces", Georgia, serif;
  color: var(--gold) !important;
  border: 1px solid var(--card-edge);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover { border-color: var(--gold); box-shadow: 0 0 18px var(--gold-glow); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  max-width: 760px;
  margin: clamp(2rem, 7vw, 5rem) auto;
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo img {
  width: clamp(140px, 30vw, 200px);
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 60px var(--mauve-glow), 0 0 0 1px rgba(189,148,222,0.25);
  animation: float 6s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.eyebrow {
  margin: 1.8rem 0 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.78rem;
  color: var(--mauve-bright);
}
.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0.3rem 0 1.2rem;
  background: linear-gradient(135deg, #fff 0%, var(--mauve-bright) 55%, var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.12rem;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Sections layout ---------- */
.about, .words {
  max-width: var(--maxw);
  margin: clamp(3rem, 9vw, 7rem) auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
  text-align: center;
}
.about-lede {
  max-width: 40rem;
  margin: 0 auto 3rem;
  color: var(--text-soft);
  font-size: 1.1rem;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 22px;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--mauve-bright);
  box-shadow: 0 20px 50px -30px var(--mauve-glow);
}
.pillar-glyph {
  display: inline-block;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.pillar h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.pillar p { margin: 0; color: var(--text-soft); font-size: 1rem; }

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.quote {
  position: relative;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 22px;
  padding: 2.4rem 1.8rem 1.8rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem; left: 1.1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
}
.quote:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px -30px var(--gold-glow);
}
.quote blockquote {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
}
.quote figcaption {
  font-family: "Fraunces", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--mauve-bright);
}

/* Affirmation band */
.affirmation {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1.4rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-width: var(--maxw);
  margin: 0 auto;
}
.affirmation-text {
  max-width: 30rem;
  margin: 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.3;
  color: var(--gold-bright);
}

/* Feature callout */
.feature {
  max-width: var(--maxw);
  margin: clamp(3rem, 9vw, 7rem) auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}
.feature-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,192,116,0.10), transparent 60%),
    var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 30px;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  backdrop-filter: blur(10px);
}
.feature-flame {
  width: 40px; height: 52px;
  margin: 0 auto 1.4rem;
  border: 1.5px solid var(--gold);
  border-radius: 9px 9px 13px 13px;
  display: grid; place-items: center;
  box-shadow: 0 0 34px var(--gold-glow);
}
.feature-flame span {
  width: 9px; height: 14px;
  background: radial-gradient(circle at 50% 65%, #fff6e2, var(--gold) 60%, #c9883b);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 14px var(--gold);
  animation: flicker 3.2s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: scale(1) translateY(0);     opacity: 1; }
  40%      { transform: scale(0.93) translateY(1px);  opacity: 0.85; }
  70%      { transform: scale(1.06) translateY(-1px); opacity: 1; }
}
.feature-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}
.feature-text {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: var(--text-soft);
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  max-width: 40rem;
  margin: 2rem auto 0;
  padding: clamp(2.5rem, 6vw, 4rem) 1.4rem 3rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}
.footer-brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--card-edge), 0 0 18px var(--mauve-glow); transition: transform 0.4s var(--ease); }
.footer-brand:hover img { transform: scale(1.06) rotate(-3deg); }
.footer-disclaimer { color: var(--text-faint); font-size: 0.85rem; line-height: 1.6; margin: 0 0 1.2rem; }
.footer-copy { color: var(--text-faint); font-size: 0.8rem; letter-spacing: 0.04em; margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; } /* keep nav clean on small screens */
}
