/* ============================================
   LEMON DOJO — Global Styles
   ============================================ */

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

:root {
  --lemon-gold: #e8c840;
  --lemon-gold-rgb: 232, 200, 64;
  --deep-indigo: #1a1a3e;
  --compassion: #c9944a;
  --anxiety: #4a8fe7;
  --anxiety-rgb: 74, 143, 231;
  --anger: #b84a32;
  --anger-rgb: 184, 74, 50;
  --shame: #6b5b7b;
  --shame-rgb: 107, 91, 123;
  --inner-critic: #8a9bae;
  --inner-critic-rgb: 138, 155, 174;
  --compassion-rgb: 201, 148, 74;
  --wise-self: #5a7ba8;
  --wise-self-rgb: 90, 123, 168;
  --bg: #0a0a12;
  --text: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.6);
  --text-subtle: rgba(240, 236, 228, 0.35);
  --font-headline: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lemon-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--lemon-gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  opacity: 1;
}

*:focus-visible {
  outline: 2px solid var(--lemon-gold);
  outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

.serif { font-family: var(--font-headline); }
.italic { font-style: italic; }
.gold { color: var(--lemon-gold); }
.muted { color: var(--text-muted); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 10, 18, 0.8), transparent);
  transition: background 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo img {
  display: inline-block;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--lemon-gold);
}

.nav-cta-mobile {
  display: none;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: var(--lemon-gold);
  color: var(--bg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  opacity: 0.9;
  color: var(--bg);
  box-shadow: 0 4px 16px rgba(232, 200, 64, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 101;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 80px 40px 40px;
  border-top: 1px solid rgba(240, 236, 228, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.footer-col h4 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
}

.footer-col a {
  display: block;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--lemon-gold);
  opacity: 1;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: 12px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(240, 236, 228, 0.06);
  border: 1px solid rgba(240, 236, 228, 0.15);
  border-right: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.footer-newsletter input:focus {
  border-color: var(--lemon-gold);
}

.footer-newsletter input::placeholder {
  color: var(--text-subtle);
}

.footer-newsletter button {
  padding: 10px 18px;
  background: var(--lemon-gold);
  border: 1px solid var(--lemon-gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer-newsletter button:hover {
  opacity: 0.85;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 236, 228, 0.06);
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border: 1px solid rgba(240, 236, 228, 0.25);
  background: rgba(10, 10, 18, 0.5);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
  border-color: var(--lemon-gold);
  color: var(--bg);
  background: var(--lemon-gold);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 200, 64, 0.2);
}

.btn-primary {
  background: var(--lemon-gold);
  color: var(--bg);
  border-color: var(--lemon-gold);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(232, 200, 64, 0.35);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 10px 24px;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: rgba(240, 236, 228, 0.03);
  border: 1px solid rgba(240, 236, 228, 0.08);
  padding: 32px;
  transition: all 0.4s ease;
}

.card:hover {
  border-color: rgba(240, 236, 228, 0.15);
  background: rgba(240, 236, 228, 0.05);
  transform: translateY(-4px);
}

/* ============================================
   ANIMATIONS (Shared)
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Glow effects */
.glow-gold {
  text-shadow: 0 0 20px rgba(232, 200, 64, 0.4), 0 0 40px rgba(232, 200, 64, 0.2);
}

.glow-box-gold {
  box-shadow: 0 0 30px rgba(232, 200, 64, 0.15), 0 0 60px rgba(232, 200, 64, 0.08);
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 560px;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .site-nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 10, 18, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    opacity: 1;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links .nav-cta-mobile {
    display: block;
    background: var(--lemon-gold);
    color: var(--bg);
    padding: 12px 32px;
    text-align: center;
    margin-top: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-newsletter {
    flex-direction: column;
    gap: 8px;
  }

  .footer-newsletter input {
    border-right: 1px solid rgba(240, 236, 228, 0.15);
  }

  .section {
    padding: 80px 0;
  }
}
