/* ============================================================
   PRODIGIOUS ACADEMY — Global Stylesheet
   Design System: "Royal Standard"
   Fonts: Cormorant Garamond (display) · Outfit (UI) · Lora (body)
   ============================================================ */

/* ── GOOGLE FONTS IMPORT ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Brand Colors */
  --royal:         #3D1A6E;   /* Primary purple — from the logo */
  --royal-mid:     #6B3FA0;   /* Mid purple — cards, hover */
  --royal-light:   #8B5CC0;   /* Light purple — accents */

  /* Darks */
  --velvet:        #0D0B12;   /* Near-black — hero, footer bg */
  --velvet-mid:    #1A1428;   /* Dark purple-tinted — pullquote */

  /* Platinum */
  --gold:          #C0C8D8;   /* Platinum — borders, CTAs (replaces gold) */
  --gold-soft:     #DDE3EE;   /* Soft platinum — highlights, italics */
  --gold-pale:     #F0F3F8;   /* Pale platinum — very subtle fills */

  /* Neutrals */
  --cream:         #FAF6EE;   /* Main background */
  --cream-mid:     #F0E8D8;   /* Alternate section bg */
  --ink:           #1A1625;   /* Body text — purple-tinted dark */
  --ivory:         #F0EBE0;   /* Text on dark backgrounds */
  --ivory-muted:   #C8C0B0;   /* Muted text on dark backgrounds */

  /* Accent */
  --emerald:       #1E6B55;   /* Give/donate CTAs */
  --emerald-light: #2A9070;   /* Emerald hover */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Outfit', system-ui, sans-serif;
  --font-body:    'Lora', Georgia, serif;

  /* Spacing */
  --section-pad:   100px 5%;
  --container:     1200px;

  /* Transitions */
  --transition:    0.2s ease;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.3;
}

.body-serif {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

.label-sm {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── SHARED SECTION STYLES ───────────────────────────────── */
section {
  padding: var(--section-pad);
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--royal-mid);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--royal-mid);
}

.section-body {
  font-family: var(--font-body);
  font-size: 17px;
  color: #4A4060;
  line-height: 1.75;
  max-width: 580px;
}

/* On dark sections */
.on-dark .section-label   { color: var(--gold-soft); }
.on-dark .section-title   { color: var(--ivory); }
.on-dark .section-title em { color: var(--gold-soft); }
.on-dark .section-body    { color: var(--ivory-muted); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.15s ease,
              opacity var(--transition);
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--velvet);
}
.btn-primary:hover { background: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(240, 235, 224, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-royal {
  background: var(--royal);
  color: var(--ivory);
}
.btn-royal:hover { background: var(--royal-mid); }

.btn-emerald {
  background: var(--emerald);
  color: var(--ivory);
}
.btn-emerald:hover { background: var(--emerald-light); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--velvet);
}

/* ── GOLD DIVIDER ────────────────────────────────────────── */
.gold-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  position: relative;
  margin: 32px 0;
}

.gold-rule.centered { margin-left: auto; margin-right: auto; }

.gold-rule::before,
.gold-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.gold-rule::before { left: -8px; }
.gold-rule::after  { right: -8px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 11, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 154, 42, 0.2);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0D0B12;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.nav-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ivory-muted);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold-soft); }

.nav-links .nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--velvet);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--velvet);
  padding: 72px 5% 40px;
  border-top: 1px solid rgba(196, 154, 42, 0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 6px;
}

.footer-brand .footer-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ivory-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ivory-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid rgba(240, 235, 224, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(200, 192, 176, 0.5);
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 5%; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .display-xl { font-size: clamp(36px, 10vw, 64px); }
}