/* ---------- Tokens ---------- */
:root {
  --brand: #41128f;       /* Deep violet: "How to join" background */
  --brand-bright: #7e59c5; /* Electric violet: buttons and highlights on light sections */
  --brand-dark: #5a22c4;  /* Electric violet, darker: button hover */
  --deep: #1a0640;        /* Midnight violet: footer, hero overlay */
  --gold: #ffbf3f;        /* Gold: buttons on violet/dark, highlights */
  --gold-soft: #ffe2a0;   /* Light gold: eyebrows/links on dark */
  --teal: #1fb5a8;        /* Teal: quiet secondary accent */
  --bg: #fdfcfb;          /* White */
  --tint: #f3ede2;        /* Sand */
  --gray: #eeeef3;        /* Cool gray */
  --ink: #241d33;         /* Near-black with a violet cast */
  --muted: #63596f;
  --accent: var(--brand-bright);
  --accent-dark: var(--brand-dark);
  --link: var(--brand);   /* Links and small labels on light sections */
  --moon: #2d0b6b;        /* Headings */
  --sage: var(--teal);
  --dark: var(--deep);
  --line: #e4dfd6;
  --radius: 14px;
  --radius-btn: 2px;      /* buttons */
  --radius-img: 5px;      /* boxes with images */
  --shadow: 0 8px 24px rgba(45, 11, 107, .09);
  --serif: 'Cormorant Garamond',Georgia,"Times New Roman",serif;
  --sans: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--moon); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-gray { background: var(--gray); }
.section-dark { background: var(--brand); color: #f4eeff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow, .label {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: .6em;
}
.hide {
  display: none;
}

/* ---------- Placeholder images (no external files needed) ---------- */
.ph { background: linear-gradient(135deg, #f3ede2, #7a3ff0); }
.ph-1 { background: linear-gradient(135deg, #41128f, #1a0640); }
.ph-2 { background: linear-gradient(135deg, #bfeee9, #1fb5a8); }
.ph-3 { background: linear-gradient(135deg, #ffe6b0, #ffbf3f); }
.ph-4 { background: linear-gradient(135deg, #b79cf7, #41128f); }
.ph-5 { background: linear-gradient(135deg, #7a3ff0, #1fb5a8); }
.ph-6 { background: linear-gradient(135deg, #1fb5a8, #1a0640); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-small { padding: .5em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--link); border-color: var(--accent); }
.btn-ghost-dark:hover { background: var(--accent); color: #fff; }
.btn-light { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--deep); }
.cta-row { margin: 29px 0 64px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.5em 0; }
.center.btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 246, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--moon);
  text-decoration: none;
  line-height: 1.1;
}
.logo span { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--link); font-weight: 600; }
.logo img { height: 44px; width: auto; max-width: none; display: block; }
.logo-light { color: #fff; }
.logo-light span { color: var(--gold-soft); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img:not([src]), .hero-img[src=""] { display: none; }  /* gradient shows until you add a URL */
.hero-overlay { background: linear-gradient(to top, rgba(26, 6, 64, .88), rgba(26, 6, 64, .25) 70%); }
.hero-content { position: relative; padding: 60px 0 64px; max-width: 1120px; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .btn:not(.btn-ghost) { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.hero .btn:not(.btn-ghost):hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.hero .lead { max-width: 620px; font-size: 1.2rem; }
.back-link { color: #fff; opacity: .85; text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: 1.4em; }
.back-link:hover { opacity: 1; text-decoration: underline; }

/* ---------- Facts ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 32px 0; }
.facts-grid p { margin: 0; font-weight: 500; }

/* ---------- Two columns / panels ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.panel-dark { background: rgba(255, 255, 255, .07); box-shadow: none; border: 1px solid rgba(255, 255, 255, .15); }
.panel-dark h4 { color: #fff; }
.panel-dark a { color: var(--gold-soft); }

/* ---------- Lists ---------- */
.check-list li { position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .8rem;
}
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.pill-list li { padding: .45em 1.1em; border: 1px solid var(--sage); border-radius: 999px; color: var(--moon); background: rgba(31, 181, 168, .12); font-size: .95rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 3 / 2; position: relative; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card figcaption { padding: 20px 22px 24px; }
.card h4 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery .ph { aspect-ratio: 4 / 3; border-radius: var(--radius-img); }
.gallery figcaption { font-size: .85rem; font-style: italic; color: var(--muted); margin-top: 8px; }
.gallery figure:first-child { grid-column: span 2; }
.gallery figure:first-child .ph { aspect-ratio: 16 / 9; }

/* ---------- Teachers ---------- */
.teachers { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 36px; }
.teachers li { text-align: center; width: 130px; }
.avatar { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; border: 4px solid #fff; box-shadow: var(--shadow); }
.teachers span { font-weight: 600; font-size: .95rem; }

/* ---------- Video + quotes ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 860px;
  margin: 32px auto 56px;
  border-radius: var(--radius-img);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.play {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--accent);
  display: grid; place-items: center; font-size: 1.6rem; padding-left: 5px;
}
.quotes {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 20px;
}
.quotes blockquote {
  flex: 0 0 min(380px, 85%);
  scroll-snap-align: start;
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.quotes blockquote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 4rem; line-height: 1;
  color: var(--sage); opacity: .6;
  position: absolute; top: 10px; left: 20px;
}
.quotes p { margin-top: 28px; font-style: italic; }
.quotes cite { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--muted); }

/* ---------- Prices ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 24px; margin: 24px 0 56px; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.price-card .price { font-family: var(--serif); font-size: 3rem; font-weight: 700; margin: 0 0 .1em; color: var(--accent); }
.price-card p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.pay { margin-top: 24px; }

/* ---------- Details list ---------- */
.details { display: grid; grid-template-columns: 150px 1fr; margin: 0 0 1em; border-top: 1px solid var(--line); }
.details dt, .details dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.details dt { font-weight: 600; color: var(--muted); }

/* ---------- Article cards ---------- */
.article {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45, 11, 107, .14); }
.article p { margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.signup { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
.signup input {
  flex: 1; padding: .85em 1.2em;
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: #fff;
}
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #d5c9ee; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col .text { margin: 0 0 1em; line-height: 1.55; }
.footer-col .text strong { color: #fff; }
.footer-sub { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 .3em; }
.footer-cvr { margin-top: .6em; }
.site-footer h5 { font-family: var(--sans); color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.footer-col a { display: block; color: #d5c9ee; text-decoration: none; padding: 4px 0; line-height: 1.45; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.social-label { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.social a { color: #d5c9ee; margin-left: 18px; text-decoration: none; }
.social a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-burger {
    display: block; width: 44px; height: 44px; cursor: pointer; position: relative;
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  }
  .nav-burger span { top: 21px; }
  .nav-burger span::before { left: 0; right: 0; top: -7px; }
  .nav-burger span::after { left: 0; right: 0; top: 7px; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.btn) { padding: 10px 0; width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }

  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .details { grid-template-columns: 110px 1fr; }
  .signup { flex-direction: column; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .facts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
}

/* ---------- Venue section (real photos) ---------- */
.venue-address { font-family: var(--serif); font-size: 1.15rem; color: var(--moon); font-weight: 600; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-3 figure:first-child { grid-column: auto; }
.gallery-3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow); background: var(--tint); }
@media (max-width: 760px) { .gallery-3 { grid-template-columns: 1fr; } }

/* ---------- Body text (light weight for generic paragraphs) ---------- */
.text { font-weight: 300; }
.text strong { font-weight: 600; }

/* ---------- Payment timeline ---------- */
.steps {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.step:not(:last-child)::after {           /* dashed connector to the next step */
  content: ""; position: absolute; top: 28px;
  left: calc(50% + 40px); width: calc(100% + 24px - 80px);
  border-top: 2px dashed rgba(255, 255, 255, .4);
}
.step h4 { color: #fff; margin-bottom: .3em; }
.step-figure {
  font-family: var(--serif); font-weight: 700; font-size: 2.2rem; line-height: 1.1;
  color: var(--gold); margin: 0 0 .35em;
}
.step .text { margin: 0; max-width: 280px; margin-inline: auto; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { text-align: left; padding: 0 0 0 76px; min-height: 56px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .step:not(:last-child)::after {
    top: 64px; left: 27px; width: 0; height: calc(100% + 32px - 72px);
    border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .4);
  }
  .step .text { margin-inline: 0; max-width: none; }
}
