/*═══════════════════════════════════════════════════════════════
  DESIGN SYSTEM — "Ethereal Sanctuary" Light Theme
═══════════════════════════════════════════════════════════════*/
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Backgrounds */
  --bg: #FDFBF7;
  --bg-warm: #F8F4ED;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FDF9F3;
  --bg-hero: linear-gradient(165deg, #FDFBF7 0%, #F3EDE4 40%, #EDE4F5 100%);
  /* Accent — mystical violet */
  --accent: #6C3FA0;
  --accent-light: #8B5FC7;
  --accent-soft: rgba(108, 63, 160, 0.08);
  --accent-medium: rgba(108, 63, 160, 0.15);
  --accent-glow: rgba(108, 63, 160, 0.25);
  /* Secondary — warm gold */
  --gold: #C4984A;
  --gold-soft: rgba(196, 152, 74, 0.12);
  /* Text */
  --text: #1A1525;
  --text-secondary: #5E5670;
  --text-muted: #9B93A8;
  --text-on-accent: #FFFFFF;
  /* Borders & Shadows */
  --border: rgba(108, 63, 160, 0.1);
  --border-light: rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(26,21,37,0.04);
  --shadow-md: 0 8px 30px rgba(26,21,37,0.07);
  --shadow-lg: 0 20px 60px rgba(26,21,37,0.1);
  --shadow-glow: 0 8px 40px rgba(108,63,160,0.15);
  /* Radius */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-full: 100px;
  /* Fonts */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  /* Layout */
  --max-w: 1180px;
  --section-gap: clamp(80px, 12vw, 140px);
}

html { scroll-behavior: smooth; }

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


/* ═══ Animated Background Orbs ═══ */
.bg-orbs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 20s ease-in-out infinite;
}
.bg-orb--1 {
  width: 500px; height: 500px; top: -10%; right: -5%;
  background: radial-gradient(circle, rgba(108,63,160,0.2), transparent 70%);
  animation-duration: 25s;
}
.bg-orb--2 {
  width: 400px; height: 400px; bottom: 10%; left: -8%;
  background: radial-gradient(circle, rgba(196,152,74,0.18), transparent 70%);
  animation-duration: 30s; animation-delay: -5s;
}
.bg-orb--3 {
  width: 300px; height: 300px; top: 40%; right: 20%;
  background: radial-gradient(circle, rgba(108,63,160,0.12), transparent 70%);
  animation-duration: 22s; animation-delay: -10s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}


/* ═══ Utility ═══ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: var(--section-gap) 0; }
.section--compact { padding: 120px 0 0; }
.text-center { text-align: center; }
.accent { color: var(--accent); }
.gold { color: var(--gold); }

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.grid-two, .grid-three {
  display: grid;
  gap: 20px;
}

.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.button,
.button.secondary,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: none;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(108,63,160,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(108,63,160,0.28);
}

.button.secondary,
.button.ghost,
button.ghost,
.nav-button {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border-radius: var(--radius-xs);
  border: 1.5px solid transparent;
  background: var(--bg-warm);
  color: var(--text);
  outline: none;
  transition: all 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.inline-form,
.inline-stack,
.hero-actions,
.link-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-stack { align-items: center; }

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.metric {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--accent);
  line-height: 1;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.muted { color: var(--text-muted); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  text-decoration: none;
}


/* ═══ Typography ═══ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: labelPulse 2s infinite;
}
@keyframes labelPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
