:root {
  --bg: #F8F6F0;
  --bg-card: #FFFFFF;
  --bg-card-2: #FBF9F5;
  --border: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(200, 158, 58, 0.3);
  --text: #171A1C;
  --text-muted: rgba(23, 26, 28, 0.65);
  --text-dim: rgba(23, 26, 28, 0.4);
  --gold: #A97C22;
  --gold-light: #C89E3A;
  --gold-pale: rgba(200, 158, 58, 0.1);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --r: 14px;
  --r-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(200,158,58,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
header {
  position: relative;
  z-index: 100;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.nav-cta {
  text-decoration: none;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: rgba(200, 158, 58, 0.15);
  border-color: rgba(200, 158, 58, 0.5);
}

.mobile-cta { display: none !important; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text);
}

/* ── HERO SECTION ── */
.hero-section {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content-left {
  max-width: 560px;
}

.hero-image-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Eyebrow */
.cursive-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cursive-subtitle::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}

/* Title */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--gold-light);
  font-style: italic;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Meta pills */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.meta-pill svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.meta-pill.accent {
  background: rgba(14, 116, 144, 0.06);
  border-color: rgba(14, 116, 144, 0.2);
  color: #0e7490;
  font-weight: 600;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-card-2);
  border-color: rgba(0,0,0,0.2);
  color: var(--text);
}

/* ── QUOTE CARD ── */
.quote-card-container {
  perspective: 1200px;
  width: 420px;
  max-width: 100%;
}

.quote-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--r-lg);
  padding: 44px 36px;
  position: relative;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.05),
    0 12px 24px rgba(200, 158, 58, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  animation: floatCard 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 8rem;
  background: linear-gradient(135deg, var(--gold), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.12;
  position: absolute;
  top: -30px;
  left: 20px;
  line-height: 1;
  user-select: none;
  z-index: 0;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.quote-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.quote-author-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
}

.quote-author-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(200, 158, 58, 0.15);
}

.quote-author {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-sans);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateY(-14px) rotateX(-2deg) rotateY(2deg); }
}

/* ── CURRICULUM SECTION ── */
.curriculum-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
  line-height: 1.15;
}

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

.curriculum-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Module Accordion */
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.module-card:hover {
  border-color: var(--border-gold);
}

.module-card.active {
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(200, 158, 58, 0.06);
}

.module-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.module-header:hover {
  background-color: var(--bg-card-2);
}

.module-card.active .module-header {
  background-color: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}

.module-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.module-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.module-card.active .module-number {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.module-header h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
}

.toggle-icon {
  font-size: 11px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.module-card.active .toggle-icon {
  transform: rotate(180deg);
}

/* Module Body */
.module-body {
  display: none;
  padding: 24px 28px 28px;
  animation: fadeSlideIn 0.35s ease-out;
}

.module-card.active .module-body {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Topic List */
.topic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 28px 0;
  padding-left: 28px;
  border-left: 2px solid rgba(200, 158, 58, 0.15);
}

.topic-list li {
  position: relative;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  transition: color 0.2s, transform 0.2s;
}

.topic-list li:hover {
  color: var(--text);
  transform: translateX(3px);
}

.topic-list li::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px #ffffff;
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
}

.topic-list li:hover::before {
  background: var(--gold);
  transform: scale(1.15);
}

.topic-list li strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.15;
}

.cta-right p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

footer p {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-address {
  text-align: center;
}

.footer-address p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; }
  .cursive-subtitle { justify-content: center; }
  .cursive-subtitle::before { display: none; }

  .hero-title { font-size: 38px; }

  .hero-desc {
    max-width: 100%;
  }

  .quote-card-container { width: 100%; }
  .quote-card { padding: 32px 24px; }
  .quote-text { font-size: 1.3rem; margin-bottom: 24px; }

  .curriculum-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0;
    text-align: center;
  }

  .cta-eyebrow { justify-content: center; }
  .cta-eyebrow::before { display: none; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links { justify-content: center; }

  nav { position: relative; }

  .hamburger-btn { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 50;
    gap: 20px;
  }

  .nav-links.show {
    display: flex !important;
    animation: menuSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links a:not(.nav-cta) {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    padding: 10px 16px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s, color 0.2s;
  }
  
  .nav-links a:not(.nav-cta):hover {
    background: var(--bg);
    color: var(--gold);
    transform: translateX(6px);
  }

  .mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 24px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(200, 158, 58, 0.15);
  }
  .desktop-cta { display: none !important; }
}
