/* ===== VARIABLES ===== */
:root {
  --bg: #0a0908;
  --bg-2: #121110;
  --bg-3: #1a1815;
  --gold: #c9a227;
  --gold-light: #e8c766;
  --gold-dark: #8a6d1a;
  --logo-gold: #b6872e;
  --text: #f2ede0;
  --text-muted: #b8ad9c;
  --border: rgba(201, 162, 39, 0.25);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.gold-text {
  background: linear-gradient(98.64deg, var(--gold-dark) 0%, var(--gold-light) 36%, var(--gold) 68%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow.center, .section-title.center, .section-subtitle.center { text-align: center; }

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.15;
}
.section-title--light { color: var(--text); }

.section-subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--gold {
  background: linear-gradient(98.64deg, var(--gold-dark) 0%, var(--gold-light) 36%, var(--gold) 68%, var(--gold-light) 100%);
  color: #0a0908;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.25);
}
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn--outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover { background: var(--gold); color: #0a0908; }

.btn--ghost {
  color: var(--text);
  border-color: rgba(242, 237, 224, 0.3);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--pulse {
  animation: btnPulse 2.2s ease-in-out infinite;
}
.btn--pulse:hover { animation-play-state: paused; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235, 198, 137, 0.6); }
  50% { box-shadow: 0 0 0 16px rgba(235, 198, 137, 0); }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__img { height: 44px; width: auto; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--logo-gold);
}

.nav {
  display: flex;
  gap: 30px;
}
.nav__link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s ease;
}
.nav__link:hover { color: var(--gold-light); }

.header__cta { padding: 12px 26px; font-size: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 26px; height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 32%;
  filter: sepia(0.25) saturate(1.2) brightness(0.68) contrast(1.05);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(260deg, rgba(10,9,8,0.94) 0%, rgba(10,9,8,0.82) 32%, rgba(20,15,8,0.42) 62%, rgba(20,15,8,0.12) 100%),
    radial-gradient(ellipse at 80% 100%, rgba(139,94,32,0.3), transparent 55%);
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.sparkle {
  position: absolute;
  color: var(--gold-light);
  font-size: 20px;
  opacity: 0.8;
  animation: twinkle 2.6s ease-in-out infinite;
}
.sparkle--1 { top: 14%; left: 8%; font-size: 26px; animation-delay: 0s; }
.sparkle--2 { top: 30%; left: 45%; font-size: 16px; animation-delay: 0.6s; }
.sparkle--3 { top: 70%; left: 12%; font-size: 20px; animation-delay: 1.1s; }
.sparkle--4 { top: 55%; left: 40%; font-size: 14px; animation-delay: 1.6s; }
.sparkle--5 { top: 20%; right: 8%; font-size: 22px; animation-delay: 0.3s; }
.sparkle--6 { top: 80%; right: 20%; font-size: 16px; animation-delay: 1.9s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__inner--photo {
  display: block;
  max-width: 640px;
  margin-left: auto;
  margin-right: 0;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.hero__crest { height: 64px; width: auto; }
.hero__brand .eyebrow { margin-bottom: 0; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 26px;
  color: var(--text);
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 34px;
}
.hero__features li {
  font-size: 15.5px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero__features .star {
  color: var(--gold-light);
  font-size: 15px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: marqueeScroll 24s linear infinite;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.marquee__track span { padding: 0 14px; }
.marquee__track .dot { color: var(--gold-dark); padding: 0 10px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about { padding: 110px 0; background: var(--bg-2); }
.about__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about__frame {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--gold-dark);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__photo { object-position: 18% 30%; }

.about__text p { color: var(--text-muted); margin-bottom: 18px; }
.about__list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about__list li { color: var(--text); font-size: 15px; font-weight: 500; display: flex; align-items: flex-start; gap: 10px; }
.about__list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #0a0908;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== PROGRAMS ===== */
.programs { padding: 110px 0; background: var(--bg); }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45); }
.card--featured {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border-color: var(--gold-dark);
}
.card--featured .card__title,
.card--featured .card__text,
.card--featured .card__list li { color: var(--text); }
.card--featured .card__list li::before { color: var(--gold-light); }

.card__icon {
  font-size: 34px;
  margin-bottom: 20px;
}
.card__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}
.card__text { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.card--featured .card__text { color: var(--text-muted); }
.card__list {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 30px;
  flex-grow: 1;
}
.card__list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.card__list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--gold);
}
.card__btn { text-align: center; padding: 12px 20px; }

/* ===== MASTER CLASSES ===== */
.masterclasses { padding: 110px 0; background: var(--bg-2); }
.mc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.mc__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.mc__card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.mc__tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--bg-3);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.mc__card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}
.mc__card p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.mc__link { color: var(--gold-light); font-weight: 700; font-size: 14px; }
.mc__link:hover { color: var(--gold); }

/* ===== FREE MATERIALS ===== */
.free {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-3) 100%);
  overflow: hidden;
}
.free__decor { position: absolute; inset: 0; pointer-events: none; }
.free__decor .sparkle--1 { top: 10%; left: 6%; }
.free__decor .sparkle--2 { top: 70%; left: 20%; }
.free__decor .sparkle--3 { top: 20%; right: 10%; }
.free__decor .sparkle--4 { top: 75%; right: 15%; }

.free__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.free__text p { color: var(--text-muted); margin-bottom: 20px; }
.free__list { display: flex; flex-direction: column; gap: 12px; }
.free__list li { font-size: 15px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.free__list .star { color: var(--gold-light); }

.free__form {
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid var(--gold-dark);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.free__form label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--gold-light);
}
.free__form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 15px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.free__form input:focus { outline: 2px solid var(--gold); }
.free__form button { margin-top: 6px; }
.free__note { font-size: 12px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 70px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer__decor { position: absolute; inset: 0; pointer-events: none; }
.footer__decor .sparkle--1 { top: 15%; left: 10%; }
.footer__decor .sparkle--2 { top: 60%; left: 45%; }
.footer__decor .sparkle--3 { top: 30%; right: 12%; }

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p { color: var(--text-muted); margin-top: 12px; font-size: 14px; }
.footer__col h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold-light);
  font-size: 17px;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 16px; margin-top: 8px; }
.footer__social a { display: inline; margin: 0; }

.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p { color: var(--text-muted); font-size: 13px; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .header { background: rgba(10, 9, 8, 0.92); }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: rgba(10, 9, 8, 0.97);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .hero { padding: 130px 0 60px; text-align: center; }
  .hero__inner--photo { max-width: 100%; }
  .hero__brand { justify-content: center; }
  .hero__features { align-items: flex-start; margin-left: auto; margin-right: auto; width: fit-content; }
  .hero__actions { justify-content: center; }
  .hero__bg-img { object-position: 30% 30%; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.86) 55%, rgba(10,9,8,0.6) 100%);
  }
  .about__inner, .free__inner {
    grid-template-columns: 1fr;
  }
  .about__media { max-width: 320px; margin: 0 auto; }
  .programs__grid, .mc__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
