/* ============================================================
   HOLISTIC SOUL JOURNEY — base.css
   CSS variables, reset, typography
   ============================================================ */

:root {
  /* Brand colors */
  --purple:        #4A0E8F;
  --purple-deep:   #2E0759;
  --purple-soft:   #6B2BB8;
  --gold:          #C9A84C;
  --gold-light:    #F0D080;
  --gold-soft:     #E5C57A;
  --white:         #F8F4FF;
  --black-deep:    #0D0520;
  --black-soft:    #1A0A3D;
  --ink:           #F8F4FF;
  --muted:         #BDB0D6;
  --muted-soft:    #8B7DAA;

  /* Glass surfaces */
  --glass:         rgba(255, 255, 255, 0.05);
  --glass-strong:  rgba(255, 255, 255, 0.08);
  --glass-border:  rgba(201, 168, 76, 0.20);
  --glass-border-strong: rgba(201, 168, 76, 0.45);

  /* Gradients */
  --bg-gradient:        linear-gradient(180deg, #0D0520 0%, #1A0A3D 100%);
  --bg-gradient-radial: radial-gradient(ellipse at 50% 0%, #1A0A3D 0%, #0D0520 60%);
  --gold-gradient:      linear-gradient(135deg, #C9A84C 0%, #F0D080 50%, #C9A84C 100%);
  --gold-gradient-soft: linear-gradient(135deg, #C9A84C, #F0D080);
  --purple-gradient:    linear-gradient(135deg, #4A0E8F 0%, #6B2BB8 100%);

  /* Sizing */
  --radius-sm: 10px;
  --radius:    20px;
  --radius-lg: 28px;
  --max:       1200px;
  --max-narrow: 760px;
  --gutter:    1.4rem;

  /* Shadows / glows */
  --glow-gold:      0 0 40px rgba(201, 168, 76, 0.35);
  --glow-gold-soft: 0 0 24px rgba(201, 168, 76, 0.20);
  --glow-purple:    0 0 60px rgba(107, 43, 184, 0.35);
  --shadow-card:    0 16px 60px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(201, 168, 76, 0.25);

  /* Motion */
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:        180ms;
  --t-mid:         320ms;
  --t-slow:        700ms;

  /* Type scale (fluid) */
  --fs-display: clamp(2.6rem, 6.5vw, 5.4rem);
  --fs-h1:      clamp(2.2rem, 4.8vw, 3.8rem);
  --fs-h2:      clamp(1.8rem, 3.4vw, 2.6rem);
  --fs-h3:      1.45rem;
  --fs-lead:    clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-base:    1.02rem;
  --fs-small:   0.875rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
}

body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--black-deep);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Decorative starfield behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(2px 2px at 18% 22%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1.5px 1.5px at 78% 16%, rgba(201,168,76,0.55), transparent 50%),
    radial-gradient(1.5px 1.5px at 12% 78%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 64% 64%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(2px 2px at 88% 84%, rgba(201,168,76,0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 35% 92%, rgba(255,255,255,0.35), transparent 50%);
  background-size: 1200px 1200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(107, 43, 184, 0.45), transparent 70%),
    radial-gradient(40% 30% at 90% 90%, rgba(201, 168, 76, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--gold); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

::selection {
  background: var(--gold);
  color: var(--black-deep);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--purple-soft));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 0.7em; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.5em; }
h4 { font-size: 1.1rem; margin-bottom: 0.5em; }

p { margin-bottom: 1.1em; }

.display {
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--fs-display);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.eyebrow.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: var(--gold-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Focus styles for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
