/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0D0B08;
  color: #EDE8DC;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* ─── Variables ─── */
:root {
  --gold:       #BB9553;
  --gold-light: #D4AF72;
  --gold-pale:  #EDD898;
  --gold-dim:   rgba(187,149,83,0.15);
  --ink:        #0D0B08;
  --ink-2:      #171310;
  --ink-3:      #221D16;
  --cream:      #EDE8DC;
  --cream-dim:  #C4BAA6;
  --muted:      #968C7A;
}

/* ─── Typography ─── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }

/* ─── Navigation ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.75rem 2.5rem;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
  padding: 0.9rem 2.5rem;
  background: rgba(13,11,8,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(187,149,83,0.12);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-link {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(187,149,83,0.3);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: all 0.3s ease; }
.hamburger span:last-child { width: 16px; background: var(--gold); align-self: flex-end; }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,11,8,0.97);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
#mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute;
  top: 1.75rem; right: 2.5rem;
  background: none; border: none;
  color: var(--cream); font-size: 1.75rem;
  cursor: pointer; line-height: 1;
}
.mobile-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.mobile-link:hover { color: var(--gold); }

/* ─── Buttons ─── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  padding: 0.8rem 2.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(187,149,83,0.35);
}
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  padding: 0.8rem 2.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(237,232,220,0.3);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

/* ─── Section utilities ─── */
.section-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.gold-rule { width: 2.5rem; height: 1px; background: var(--gold); margin-bottom: 1.5rem; }
.gold-rule.center { margin-left: auto; margin-right: auto; }
.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.section-h2 em { font-style: italic; color: var(--gold); }

/* ─── Inner page hero banner ─── */
.page-banner {
  position: relative;
  height: 45vh;
  min-height: 320px;
  max-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,8,0.3) 0%, rgba(13,11,8,0.75) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.page-banner-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1.05;
}
.page-banner-content h1 em { font-style: italic; color: var(--gold); }
.page-banner-content p {
  color: var(--cream-dim);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ─── Reveal on scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* ─── Class cards ─── */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: rgba(187,149,83,0.12);
  margin-bottom: 3.5rem;
}
.class-card {
  background: var(--ink-2);
  padding: 2rem 1.75rem;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.class-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.class-card:hover::before { width: 100%; }
.class-card:hover { background: var(--ink-3); }
.card-day {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.card-time { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.card-price {
  display: inline-block;
  background: rgba(187,149,83,0.12);
  color: var(--gold);
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}
.card-desc { font-size: 0.875rem; color: var(--cream-dim); line-height: 1.75; opacity: 0.85; }

.day-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.day-line-left  { width: 2.5rem; height: 1px; background: rgba(187,149,83,0.45); flex-shrink: 0; }
.day-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.day-line-right { flex: 1; height: 1px; background: rgba(187,149,83,0.15); }

.venue-note {
  margin-top: 1rem;
  padding: 1.25rem 1.75rem;
  border-left: 2px solid rgba(187,149,83,0.35);
  background: rgba(187,149,83,0.04);
  font-size: 0.86rem;
  color: var(--muted);
}
.venue-note strong { color: var(--cream); font-weight: 500; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid rgba(187,149,83,0.14); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--cream);
  gap: 1.25rem;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--gold); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.faq-icon::before { width: 18px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after  { width: 1.5px; height: 18px; top: 0; left: 50%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1); }
.faq-a-inner { font-size: 0.93rem; color: var(--cream-dim); line-height: 1.8; padding-bottom: 1.5rem; }
.faq-a-inner a { color: var(--gold); text-decoration: none; }
.faq-a-inner a:hover { text-decoration: underline; }
.faq-item.open .faq-a { max-height: 1000px; }

/* ─── Footer ─── */
footer {
  background: #060503;
  border-top: 1px solid rgba(187,149,83,0.12);
  padding: 3.5rem 2.5rem;
  text-align: center;
}
.footer-logo { height: 32px; width: auto; opacity: 0.7; margin-bottom: 1.5rem; display: inline-block; }
.footer-addr { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
.footer-socials { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 2rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid rgba(187,149,83,0.28);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(187,149,83,0.08); }
.footer-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: #3A3328; }
.footer-credit { font-size: 0.62rem; color: #2A241E; margin-top: 0.75rem; letter-spacing: 0.05em; }
.footer-credit a { color: #4A4035; text-decoration: none; transition: color 0.2s ease; }
.footer-credit a:hover { color: var(--muted); }

/* ─── Keyframes ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.3; }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  #nav { padding: 1.25rem 1.5rem; }
  #nav.scrolled { padding: 0.85rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-banner { height: 35vh; }
  .page-banner-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
