:root {
  --ink: #0a0a0b;
  --ink-2: #121114;
  --ink-3: #1a1816;
  --line: rgba(246, 241, 231, 0.1);
  --line-strong: rgba(246, 241, 231, 0.22);
  --gold: #c9a227;
  --gold-light: #ecd27c;
  --gold-dim: rgba(201, 162, 39, 0.16);
  --ivory: #f6f1e7;
  --muted: rgba(246, 241, 231, 0.62);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --radius: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.noise {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
}

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}

.gold-text {
  background: linear-gradient(100deg, #f3dc8e 0%, var(--gold) 48%, #b98a1c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}

.section-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.01em;
}

.section-sub { color: var(--muted); margin-top: 14px; max-width: 560px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.section { padding: 130px 0; position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: linear-gradient(120deg, #ecd27c, var(--gold) 55%, #a97e16);
  color: #16120a; box-shadow: 0 10px 34px -12px rgba(201, 162, 39, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(201, 162, 39, 0.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand em { font-style: italic; font-weight: 500; color: var(--gold); margin-left: 6px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(201,162,39,.35)); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--muted); transition: color 0.25s; }
.nav-links a:hover { color: var(--ivory); }
.nav-links .nav-cta {
  color: var(--ink); background: var(--gold); padding: 10px 22px; border-radius: 999px;
  font-weight: 800; transition: background 0.25s, color 0.25s;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--ink); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ivory); margin-bottom: 6px; transition: transform 0.3s var(--ease); }
.nav-burger span:last-child { margin-bottom: 0; }
.nav-burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 150px 28px 0; overflow: hidden;
}
.hero-halo {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  width: min(900px, 100vw); height: 620px;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.05) 55%, transparent 75%);
  filter: blur(10px); pointer-events: none;
}
.hero-card {
  position: absolute; top: 24%; left: 50%; transform: translateX(-50%);
  width: min(640px, 92vw); height: 420px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.12);
  background: radial-gradient(closest-side, rgba(18, 17, 20, 0.9), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-sub {
  color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: clamp(30px, 6vw, 80px);
  margin-top: 72px; padding-bottom: 40px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-light);
}
.stat-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

/* Marquee */
.marquee {
  position: relative; width: 100vw; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin-top: 40px; background: rgba(18, 17, 20, 0.5);
}
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted);
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.about-intro { position: sticky; top: 130px; }
.about-body .lead { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 20px; }
.about-body > p { color: var(--muted); max-width: 56ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.pillar {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.4); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.pillar-num { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; letter-spacing: 0.1em; }
.pillar h3 { font-family: var(--serif); font-size: 1.35rem; margin: 10px 0 8px; }
.pillar p { color: var(--muted); font-size: 0.9rem; }

/* Membership */
.membership { background: linear-gradient(180deg, transparent, rgba(18,17,20,.7) 30%, transparent); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; position: relative;
}
.tier-featured {
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: linear-gradient(180deg, rgba(201,162,39,.08), var(--ink-2) 40%);
  box-shadow: 0 30px 70px -30px rgba(201,162,39,.25);
  transform: translateY(-14px);
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, #ecd27c, var(--gold)); color: #16120a;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-family: var(--serif); font-size: 1.7rem; }
.tier-desc { color: var(--muted); font-size: 0.92rem; min-height: 44px; }
.tier-list { list-style: none; margin: 26px 0 34px; display: grid; gap: 14px; flex: 1; }
.tier-list li { position: relative; padding-left: 26px; color: var(--ivory); font-size: 0.95rem; }
.tier-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 0.8rem;
}
.tier .btn { margin-top: auto; }

/* Events */
.event-list { display: grid; gap: 16px; }
.event {
  display: flex; align-items: center; gap: 28px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.event:hover { transform: translateX(6px); border-color: rgba(201,162,39,.45); background: var(--ink-3); }
.event-date {
  flex: 0 0 auto; width: 74px; height: 74px; border-radius: 16px;
  border: 1px solid var(--line-strong); display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1.1;
}
.event-date span { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--gold-light); }
.event-date small { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.event-info { flex: 1; }
.event-info h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.event-info p { color: var(--muted); font-size: 0.92rem; }
.event-link { font-weight: 700; color: var(--gold); white-space: nowrap; }
.event-link span { display: inline-block; transition: transform 0.25s var(--ease); }
.event:hover .event-link span { transform: translateX(4px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(201,162,39,.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--ivory); font-family: var(--serif); font-size: 1.12rem; font-weight: 700;
  padding: 22px 26px;
}
.faq-q i {
  flex: 0 0 auto; font-style: normal; color: var(--gold); font-size: 1.5rem; font-weight: 400;
  transition: transform 0.3s var(--ease); line-height: 1;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 0.95rem; }

/* Join */
.join-card {
  position: relative; text-align: center; overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35); border-radius: 28px;
  background: linear-gradient(160deg, rgba(201,162,39,.09), rgba(18,17,20,.9) 45%);
  padding: 80px 32px 70px;
}
.join-halo {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 460px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,162,39,.22), transparent 75%);
}
.join-card .eyebrow, .join-card .section-title, .join-card .join-sub { position: relative; z-index: 1; }
.join-sub { color: var(--muted); margin-top: 12px; }
.join-form {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 640px; margin: 40px auto 0;
}
.join-form select { grid-column: 1 / -1; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c9a227' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.join-form input, .join-form select {
  width: 100%; padding: 16px 20px; border-radius: 14px;
  background: rgba(10, 10, 11, 0.6); border: 1px solid var(--line-strong);
  color: var(--ivory); font-family: var(--sans); font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.join-form input::placeholder { color: rgba(246,241,231,.35); }
.join-form input:focus, .join-form select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}
.join-form .btn { grid-column: 1 / -1; margin-top: 8px; }
.join-note { position: relative; z-index: 1; color: var(--muted); font-size: 0.88rem; margin-top: 22px; }
.join-note a { color: var(--gold); border-bottom: 1px solid rgba(201,162,39,.4); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; margin-bottom: 60px;
}
.footer-brand p { color: var(--muted); max-width: 38ch; margin-top: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--ivory); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 28px;
  color: rgba(246,241,231,.4); font-size: 0.85rem;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Mobile */
@media (max-width: 900px) {
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-intro, .faq-intro { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 90px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head.center { align-items: center; text-align: center; }
  .nav-links {
    position: fixed; inset: 0; top: 0; z-index: 45;
    flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(10, 10, 11, 0.96); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
  }
  .nav-links a { font-size: 1.4rem; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-burger { display: block; z-index: 60; position: relative; }
  .nav { background: rgba(10,10,11,.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .event { flex-wrap: wrap; }
  .event-info { flex: 1 1 60%; }
  .join-form { grid-template-columns: 1fr; }
  .join-form select, .join-form .btn { grid-column: auto; }
  .hero { min-height: auto; padding-top: 130px; }
}