:root {
  --bg-deep:   #120e0a;
  --bg-warm:   #221a12;
  --bg-violet: #1c1620;
  --bg-ember:  #2b1d14;
  --sand:       #c9b48f;
  --ivory:      #ece2cf;
  --ivory-dim:  #b8a888;
  --gold:       #c9a45c;
  --gold-bright:#e0bd76;
  --gold-dim:   #9a7d44;
  --line:       rgba(201,164,92,0.22);
  --line-soft:  rgba(201,164,92,0.12);

  /* ---- TYPE SYSTEM ----------------------------------------------------
     3 roles only:
       1. Display  -> 'Cormorant Garamond'  (titles + italic emphasis)
       2. Body     -> 'Jost'                 (paragraphs + lists)
       3. Label    -> 'Jost' UPPERCASE tracked (eyebrows, dates, buttons)
     3 text colors only:
       --ivory     -> headings / titles
       --ivory-dim -> body copy
       --accent    -> every gold accent (labels + emphasis), one gold
     Shared sizes keep things consistent across the page. */
  --accent:   var(--gold-bright);
  --fs-body:  clamp(1rem, 1.6vw, 1.1rem);   /* all body paragraphs   */
  --fs-emph:  clamp(1.3rem, 2.5vw, 1.7rem); /* all gold italic lines */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--ivory);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageIn 0.8s ease;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes pageIn  { from { opacity:0; } to { opacity:1; } }
@keyframes heroRise { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax-driven elements: JS owns their transform, so the reveal only
   fades opacity here (avoids fighting the scroll drift). */
.section-divider.reveal,
.keys-divider.reveal {
  transition: opacity 0.9s ease;
  will-change: transform;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("banner.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  /* Banner already carries all wording — keep this light, just blending the
     bottom edge into the dark section that follows. */
  background: linear-gradient(
    to top,
    rgba(18,14,10,0.55) 0%,
    rgba(18,14,10,0.12) 28%,
    rgba(18,14,10,0) 55%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 8vh 5vw;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-symbol {
  opacity: 0;
  animation: heroRise 1.2s ease forwards 0.25s;
  filter: drop-shadow(0 0 18px rgba(201,164,92,0.4));
}
.hero-eyebrow {
  font-size: clamp(0.58rem, 0.95vw, 0.7rem);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: heroRise 1.2s ease forwards 0.55s;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.92;
  color: var(--ivory);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: heroRise 1.5s ease forwards 0.8s;
  text-shadow: 0 2px 40px rgba(18,14,10,0.5);
}
.hero-date {
  font-size: clamp(0.66rem, 1.05vw, 0.8rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: heroRise 1.2s ease forwards 1.05s;
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  color: var(--sand);
  max-width: 36ch;
  line-height: 1.44;
  opacity: 0;
  animation: heroRise 1.2s ease forwards 1.3s;
  text-shadow: 0 1px 20px rgba(18,14,10,0.55);
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.section-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
  margin: 0 auto;
  opacity: 0.4;
  display: block;
}
.keys-divider {
  display: flex;
  justify-content: center;
  padding: 0.3rem 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
.keys-img {
  height: 82px;
  width: auto;
  display: block;
  opacity: 0.92;
}
/* pull this divider ~50% closer to the text above and below it */
.keys-divider--tight {
  margin-top: -7vh;
  margin-bottom: -7vh;
}

/* ============================================================
   OPENING DECLARATION
   ============================================================ */
.declaration {
  padding: 18vh 6vw;
  text-align: center;
}
.declaration-inner {
  max-width: 680px;
  margin: 0 auto;
}
.decl-body {
  font-size: var(--fs-body);
  color: var(--ivory-dim);
  line-height: 1.88;
  margin-bottom: 1rem;
}
/* both .decl-gold and .decl-large now share ONE emphasis treatment */
.decl-gold,
.decl-large {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--fs-emph);
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}
.decl-large {
  margin: 2.4rem auto;
  max-width: 580px;
}
/* breathing room before/after the gold lines */
.decl-body + .decl-gold { margin-top: 1.8rem; }
.decl-gold + .decl-body { margin-top: 1.8rem; }

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.section {
  padding: 14vh 6vw;
  position: relative;
}
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-inner--wide { max-width: 1080px; }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory);
  line-height: 1.12;
  margin-bottom: 3.4rem;
  letter-spacing: 0.01em;
}
.body-p {
  font-size: var(--fs-body);
  color: var(--ivory-dim);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   COSMIC CURRENT
   ============================================================ */
.cosmic { position: relative; }
.cosmic::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, #1c1620 0%, transparent 68%);
}
.cosmic-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--fs-emph);
  color: var(--accent);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 1.6rem;
}

/* ============================================================
   THREE DAYS
   ============================================================ */
.day-section {
  padding: 14vh 6vw;
  position: relative;
}
.day-section--1 { background: var(--bg-warm); }
.day-section--2 { background: var(--bg-violet); }
.day-section--3 { background: var(--bg-ember); }

.day-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.day-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.day-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ivory);
  line-height: 1.04;
  margin-bottom: 3rem;
}
.day-body {
  font-size: var(--fs-body);
  color: var(--ivory-dim);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.day-explore-label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.4rem 0 1.6rem;
}
.day-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.day-list li {
  font-size: clamp(0.98rem, 1.55vw, 1.06rem);
  color: var(--ivory);
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
}
.day-list li:last-child { border-bottom: none; }
.day-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.08rem;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.day-question {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--fs-emph);
  color: var(--accent);
  line-height: 1.45;
  margin-top: 2.8rem;
}

/* VIP badge */
.vip-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  padding: 0.5rem 1.3rem;
  margin-bottom: 2rem;
}
.day-vip-note {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ivory-dim);
  font-style: italic;
  margin-bottom: 2.4rem;
}

/* ============================================================
   INVESTMENT
   ============================================================ */
.investment {
  padding: 14vh 6vw;
  text-align: center;
}
.investment-inner {
  max-width: 900px;
  margin: 0 auto;
}
.investment-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--fs-emph);
  color: var(--accent);
  margin-top: -2rem;
  margin-bottom: 4.5rem;
}
.tier-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}
.tier-card {
  position: relative;
  padding: 3.4rem 2rem 2.4rem;
  background: linear-gradient(180deg, rgba(38,28,18,0.55), rgba(18,14,10,0.55));
  border: 1px solid rgba(201,164,92,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    box-shadow 0.55s cubic-bezier(0.16,1,0.3,1),
    border-color 0.55s ease,
    transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.tier-card:hover {
  border-color: rgba(224,189,118,0.85);
  box-shadow:
    0 0 32px rgba(201,164,92,0.22),
    0 0 80px rgba(201,164,92,0.10),
    inset 0 0 30px rgba(224,189,118,0.06);
  transform: translateY(-3px);
}
.tier-card--vip {
  border-color: rgba(224,189,118,0.72);
  background: linear-gradient(180deg, rgba(70,48,22,0.55), rgba(30,22,14,0.55));
  box-shadow: 0 0 26px rgba(201,164,92,0.18);
}
.tier-card--vip:hover {
  box-shadow:
    0 0 42px rgba(224,189,118,0.38),
    0 0 100px rgba(201,164,92,0.18),
    inset 0 0 36px rgba(224,189,118,0.10);
}
.recommended-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
}
.tier-label {
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.tier-dates {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 2rem;
}
.tier-includes {
  list-style: none;
  width: 100%;
  margin-bottom: 2rem;
}
.tier-includes li {
  font-size: 0.95rem;
  color: var(--ivory);
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.tier-includes li:last-child { border-bottom: none; }
.tier-includes li::before {
  content: "";
  position: absolute; left: 0; top: 1.02rem;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.tier-cta {
  display: block;
  width: 100%;
  padding: 1.05rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.4s ease;
  margin-top: auto;
}
.tier-cta:hover {
  background: rgba(201,164,92,0.12);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.tier-card--vip .tier-cta {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}
.tier-card--vip .tier-cta:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg-deep);
}
/* single registration button serving both tiers */
.investment-cta {
  margin-top: 3.4rem;
}
/* ThriveCart checkout popup */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.checkout-modal.is-open { display: block; }
.checkout-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,7,4,0.82);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.checkout-modal__dialog {
  position: relative;
  width: 92%;
  max-width: 760px;
  margin: 6vh auto;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  box-shadow: 0 24px 90px rgba(0,0,0,0.65);
  padding: 3rem 1.4rem 1.6rem;
}
.checkout-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--ivory-dim);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}
.checkout-modal__close:hover { color: var(--gold-bright); }
.investment-note {
  margin-top: 2.2rem;
  font-size: 0.82rem;
  color: var(--ivory-dim);
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Masonry mosaic — cards flow into columns at their natural heights */
.testimonials-grid {
  column-count: 3;
  column-gap: 1.4rem;
  text-align: left;
}
.testimonial {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1.4rem;
  padding: 2.4rem 1.9rem 1.9rem;
  background: linear-gradient(180deg, rgba(38,28,18,0.4), rgba(18,14,10,0.4));
  border: 1px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -1.1rem; left: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.45;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ivory);
  line-height: 1.6;
  margin-bottom: 1.3rem;
}
.testimonial-attr {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   ORACLE TEMPLE TEASE
   ============================================================ */
.oracle-tease {
  padding: 14vh 6vw;
  text-align: center;
}
.tease-body {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--fs-emph);
  color: var(--accent);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.tease-p {
  font-size: var(--fs-body);
  color: var(--ivory-dim);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.88;
}
.tease-names {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  flex-wrap: wrap;
  margin: 2.4rem 0 1.8rem;
}
.tease-name {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  color: var(--accent);
  letter-spacing: 0.1em;
}
.tease-note {
  font-size: 0.82rem;
  color: var(--ivory-dim);
  font-style: italic;
  letter-spacing: 0.06em;
}

/* ============================================================
   THE INVITATION
   ============================================================ */
.invitation {
  padding: 16vh 6vw;
  text-align: center;
  position: relative;
}
.invitation::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 65% at 50% 40%, rgba(48,28,8,0.44) 0%, transparent 70%);
}
.invitation-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.invitation-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ivory);
  line-height: 1.35;
  margin-bottom: 1.6rem;
}
.invitation-close {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--gold-bright);
  line-height: 1.3;
  margin: 1rem 0 3.2rem;
}
.cta-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  background: var(--gold);
  color: var(--bg-deep);
  border: 1px solid var(--gold);
  transition: all 0.4s ease;
}
.cta-btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg-deep);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding: 2.4rem 4vw;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-meta {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.footer-links {
  display: flex;
  gap: 2.4rem;
}
.footer-links a {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.4s ease;
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .testimonials-grid   { column-count: 2; }
}
@media (max-width: 560px) {
  .testimonials-grid   { column-count: 1; }
}
@media (max-width: 720px) {
  .tier-cards          { grid-template-columns: 1fr; gap: 2.4rem; }
  .tease-names         { gap: 1.6rem; }
  .footer-inner        { flex-direction: column; text-align: center; }
  .footer-links        { justify-content: center; }
  .tier-card           { padding: 3rem 1.6rem 2rem; }
  .declaration, .section, .day-section, .investment,
  .oracle-tease, .invitation { padding-left: 7vw; padding-right: 7vw; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: 0.02em; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-symbol, .hero-eyebrow, .hero-title,
  .hero-date, .hero-sub { animation: none; opacity: 1; }
}
