/* ============================================================
   Medicine Crafts Collective — Student Hub
   Regal palette: deep purple, gold, fuchsia, royal blue
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Regal core palette */
  --purple:       #5B2C83;
  --purple-deep:  #3E1A5E;
  --purple-light: #8A5FD3;
  --purple-pale:  #E8D9F5;
  --purple-faint: #F3ECF9;

  --gold:         #D4AF37;
  --gold-light:   #E5C96A;
  --gold-pale:    #FFF3D4;
  --gold-deep:    #B8960E;

  --fuchsia:      #C2185B;
  --fuchsia-light:#E04888;
  --fuchsia-pale: #FCE4EC;

  --royal-blue:   #1A3A7A;
  --royal-light:  #3D6FCF;
  --royal-pale:   #E3ECF9;

  --ivory:        #FDFBF7;
  --cream:        #FAF7F2;
  --charcoal:     #1C1229;
  --text-dark:    #2A1B3D;
  --text-mid:     #5A4670;
  --text-muted:   #8678A0;
  --text-faint:   #B8ADCC;
  --white:        #FFFFFF;
  --error:        #C2185B;
  --success:      #2E7D32;

  /* Semantic */
  --color-bg:      var(--cream);
  --color-surface: var(--white);
  --color-text:    var(--text-dark);
  --color-muted:   var(--text-muted);
  --color-accent:  var(--purple);
  --color-accent2: var(--gold);
  --color-border:  #E0D4ED;
  --color-divider: #E8DDF2;

  /* Type */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body:    'General Sans', 'Helvetica Neue', sans-serif;

  /* Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows — purple-tinted */
  --shadow-sm: 0 1px 3px rgba(91, 44, 131, 0.06);
  --shadow-md: 0 4px 16px rgba(91, 44, 131, 0.08);
  --shadow-lg: 0 12px 40px rgba(91, 44, 131, 0.12);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark mode --- */
[data-theme="dark"] {
  --color-bg:      #130D1E;
  --color-surface: #1C1330;
  --color-text:    #E8E0F0;
  --color-muted:   #9A8CB8;
  --color-accent:  #A87FDB;
  --color-accent2: #E5C96A;
  --color-border:  #2E2244;
  --color-divider: #261C3A;
  --purple-pale:   #261C3A;
  --purple-faint:  #1C1330;
  --gold-pale:     #2A2310;
  --cream:         #130D1E;
  --white:         #1C1330;
  --text-dark:     #E8E0F0;
  --text-mid:      #C4B8D8;
  --text-muted:    #9A8CB8;
  --text-faint:    #4A3D60;
  --fuchsia-pale:  #2E1524;
  --royal-pale:    #141E36;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg:      #130D1E;
    --color-surface: #1C1330;
    --color-text:    #E8E0F0;
    --color-muted:   #9A8CB8;
    --color-accent:  #A87FDB;
    --color-accent2: #E5C96A;
    --color-border:  #2E2244;
    --color-divider: #261C3A;
    --purple-pale:   #261C3A;
    --purple-faint:  #1C1330;
    --gold-pale:     #2A2310;
    --cream:         #130D1E;
    --white:         #1C1330;
    --text-dark:     #E8E0F0;
    --text-mid:      #C4B8D8;
    --text-muted:    #9A8CB8;
    --text-faint:    #4A3D60;
    --fuchsia-pale:  #2E1524;
    --royal-pale:    #141E36;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  }
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--fuchsia); }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; }
p { text-wrap: pretty; max-width: 68ch; }

::selection { background: rgba(91, 44, 131, 0.2); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: var(--radius-sm); }

/* --- Layout --- */
.container { max-width: 960px; margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: clamp(var(--space-12), 6vw, var(--space-24)) 0; }
.section-alt { background: var(--purple-faint); }

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  border-color: var(--purple);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%); border-color: var(--purple-light); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); border-color: var(--gold-light); color: #fff; }

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

.btn-fuchsia {
  background: var(--fuchsia);
  color: #fff;
  border-color: var(--fuchsia);
}
.btn-fuchsia:hover { background: var(--fuchsia-light); border-color: var(--fuchsia-light); color: #fff; }

.btn-full { width: 100%; }
.btn-sm { font-size: var(--text-xs); padding: var(--space-2) var(--space-4); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: all var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(19, 13, 30, 0.92);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-2) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.header-logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px;
  background: rgba(62, 26, 94, 0.04);
  border: 1px solid rgba(62, 26, 94, 0.08);
  border-radius: 999px;
}
.nav::-webkit-scrollbar { display: none; }

.nav-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.7);
}
.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--purple);
  background: #fff;
  box-shadow: 0 1px 2px rgba(62, 26, 94, 0.08), 0 1px 0 rgba(62, 26, 94, 0.04);
}

[data-theme="dark"] .nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .nav-link:hover { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .nav-link.active { background: rgba(255, 255, 255, 0.10); color: #fff; }

.nav-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--fuchsia) 100%);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 8px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(62, 26, 94, 0.25);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--fuchsia-light) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(62, 26, 94, 0.30);
}

.mobile-toggle { display: none; }
.nav-link-mobile-cta { display: none; }

@media (max-width: 900px) {
  .header-inner > .nav-cta { display: none; }
  .nav-link-mobile-cta { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-5);
    z-index: 200;
    padding: calc(80px + var(--space-6)) var(--space-6) var(--space-8);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: none;
    border-radius: 0;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: var(--text-lg); padding: var(--space-2) var(--space-4); }
  .nav-link.active { background: rgba(62, 26, 94, 0.08); }
  .nav-link-mobile-cta {
    margin-top: var(--space-3);
    color: #fff !important;
    background: linear-gradient(135deg, var(--purple) 0%, var(--fuchsia) 100%) !important;
    padding: var(--space-3) var(--space-8) !important;
    font-weight: 700;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 300;
    padding: var(--space-2);
  }
  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
  }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-16) var(--space-6) var(--space-20);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: blur(6px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(91, 44, 131, 0.35) 0%,
    rgba(253, 251, 247, 0.82) 25%,
    rgba(253, 251, 247, 0.96) 45%,
    var(--color-bg) 70%
  );
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(19, 13, 30, 0.65) 0%,
    rgba(19, 13, 30, 0.88) 25%,
    rgba(19, 13, 30, 0.97) 45%,
    var(--color-bg) 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-4);
}

.hero-logo {
  max-width: min(720px, 92vw);
  margin: 0 auto var(--space-4);
  width: 100%;
  height: auto;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--purple);
  margin-bottom: var(--space-8);
  letter-spacing: 0.04em;
  padding: 0 var(--space-4);
}

[data-theme="dark"] .hero-subtitle { color: var(--purple-light); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
}

.hero-meta-item svg { color: var(--gold); flex-shrink: 0; }

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Today's Session --- */
.today-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.today-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.today-badge {
  background: linear-gradient(135deg, var(--purple) 0%, var(--fuchsia) 100%);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.today-date {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.today-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.today-objectives {
  margin-bottom: var(--space-6);
}

.today-objectives h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.today-objectives ul {
  list-style: none;
  padding: 0;
}

.today-objectives li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--color-text);
}

.today-objectives li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-pale);
  border: 2px solid var(--purple);
}

.today-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .today-actions { grid-template-columns: 1fr; }
}

.today-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--purple-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition);
}

.today-btn:hover {
  background: var(--purple-pale);
  border-color: var(--purple);
  color: var(--color-text);
}

.today-btn svg { color: var(--purple); flex-shrink: 0; }

/* --- Forms --- */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.optional {
  font-weight: 400;
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--purple-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 44, 131, 0.12);
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  overflow: hidden;
}

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

.radio-grid-5 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 500px) {
  .radio-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.radio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  background: var(--purple-faint);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 500;
}

.radio-card input { display: none; }
.radio-card .radio-emoji { font-size: 1.5rem; }

.radio-card:has(input:checked) {
  border-color: var(--purple);
  background: var(--purple-pale);
}

.radio-row {
  display: flex;
  gap: var(--space-2);
}

.radio-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  background: var(--purple-faint);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-size: var(--text-sm);
  font-weight: 500;
}

.radio-pill input { display: none; }

.radio-pill:has(input:checked) {
  border-color: var(--purple);
  background: var(--purple-pale);
}

.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: var(--radius-md);
  color: var(--success);
  font-weight: 500;
  margin-top: var(--space-4);
}

.form-success.show { display: flex; }

/* --- Download export button --- */
.btn-download {
  display: none;
  margin-top: var(--space-3);
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  font-size: var(--text-xs);
}
.btn-download:hover { background: var(--gold-light); border-color: var(--gold-light); color: #fff; }
.btn-download.show { display: inline-flex; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.about-text p {
  margin-bottom: var(--space-4);
  color: var(--text-mid);
}

[data-theme="dark"] .about-text p { color: var(--color-muted); }

.callout {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
}

.callout svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.about-origin {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: linear-gradient(135deg, var(--purple-faint) 0%, var(--fuchsia-pale) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

[data-theme="dark"] .about-origin {
  background: linear-gradient(135deg, var(--purple-faint) 0%, rgba(46, 21, 36, 0.3) 100%);
}

.about-origin p {
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: var(--space-3);
}

[data-theme="dark"] .about-origin p { color: var(--color-muted); }

.about-origin .origin-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--purple);
}

.about-origin .origin-link:hover { color: var(--fuchsia); }

.about-outcomes h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.outcome-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.outcome {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.outcome-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-pale);
  border-radius: var(--radius-md);
}

.outcome strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.outcome p {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: 0;
}

/* --- Session Cards --- */
.sessions-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.session-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.session-card:hover { box-shadow: var(--shadow-md); }

.session-header {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.session-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.session-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  color: #fff;
}

.session-badge-1 { background: var(--purple); }
.session-badge-2 { background: var(--fuchsia); }
.session-badge-3 { background: var(--royal-blue); }
.session-badge-4 { background: linear-gradient(135deg, var(--purple) 0%, var(--gold-deep) 100%); }

.session-date {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.session-name {
  font-size: var(--text-lg);
  margin: 0;
}

.session-theme {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}

.session-chevron {
  position: absolute;
  right: var(--space-6);
  top: var(--space-5);
  color: var(--color-muted);
  transition: transform var(--transition);
}

.session-card.open .session-chevron { transform: rotate(180deg); }

.session-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.session-card.open .session-body { display: block; padding-top: var(--space-5); }

.session-section {
  margin-bottom: var(--space-5);
}

.session-section h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.session-section ul {
  list-style: none;
  padding: 0;
}

.session-section li {
  padding: var(--space-1) 0;
  padding-left: var(--space-5);
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-mid);
}

[data-theme="dark"] .session-section li { color: var(--color-muted); }

.session-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.session-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-style: italic;
  margin-top: var(--space-2);
}

.reflection-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--purple-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  resize: vertical;
  transition: border-color var(--transition);
}

.reflection-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 44, 131, 0.12);
}

/* --- Quick Poll --- */
.poll-block {
  background: var(--purple-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}

.poll-block h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fuchsia);
  margin-bottom: var(--space-2);
}

.poll-question {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.poll-options {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all var(--transition);
}

.poll-option input { display: none; }

.poll-option:has(input:checked) {
  border-color: var(--purple);
  background: var(--purple-pale);
  color: var(--purple);
}

[data-theme="dark"] .poll-option:has(input:checked) { color: var(--purple-light); }

.poll-thanks {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 500;
  padding-top: var(--space-2);
}

/* --- Materia Medica --- */
.materia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.herb-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.herb-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.herb-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.herb-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.herb-action {
  font-size: var(--text-sm);
  color: var(--text-mid);
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .herb-action { color: var(--color-muted); }

.herb-safety {
  font-size: var(--text-xs);
  color: var(--color-muted);
  padding: var(--space-2) var(--space-3);
  background: rgba(91, 44, 131, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.herb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fuchsia);
}

.herb-link:hover { color: var(--fuchsia-light); }

.materia-checker {
  text-align: center;
  padding: var(--space-6);
  background: var(--purple-faint);
  border-radius: var(--radius-xl);
}

.materia-checker p {
  margin: 0 auto var(--space-3);
  font-weight: 500;
}

.materia-credit {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* --- Reflections Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.gallery-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--purple-pale);
  position: absolute;
  top: var(--space-2);
  left: var(--space-4);
  line-height: 1;
}

.gallery-card p {
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--text-mid);
  margin-bottom: var(--space-3);
  position: relative;
}

[data-theme="dark"] .gallery-card p { color: var(--color-muted); }

.gallery-card cite {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 500;
}

.gallery-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;
}

/* --- Instructor --- */
.instructor-card {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

@media (max-width: 600px) {
  .instructor-card { flex-direction: column; align-items: center; text-align: center; }
}

.instructor-portrait { flex-shrink: 0; }

.instructor-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3), var(--shadow-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.instructor-photo,
.instructor-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Guest (unnamed) field instructor SVG mark */
.guest-instructor-frame {
  background: var(--purple-deep, #3D1556);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guest-instructor-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.instructor-info h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.instructor-title {
  font-size: var(--text-sm);
  color: var(--gold);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.instructor-info p {
  color: var(--text-mid);
  margin-bottom: var(--space-3);
}

[data-theme="dark"] .instructor-info p { color: var(--color-muted); }

/* --- Prep Grid --- */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.prep-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.prep-icon {
  color: var(--purple);
  margin-bottom: var(--space-3);
}

.prep-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.prep-card p {
  font-size: var(--text-sm);
  color: var(--text-mid);
}

[data-theme="dark"] .prep-card p { color: var(--color-muted); }

/* --- Faith Statement --- */
.faith-statement {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(91, 44, 131, 0.06) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1px solid rgba(91, 44, 131, 0.15);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .faith-statement {
  background: linear-gradient(135deg, rgba(91, 44, 131, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
  border-color: rgba(138, 95, 211, 0.3);
  border-left-color: var(--purple-light);
}

.faith-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.faith-text h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--purple);
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .faith-text h4 { color: var(--purple-light); }

.faith-text p {
  font-size: var(--text-sm);
  color: var(--text-mid);
  margin: 0;
  line-height: 1.65;
}

[data-theme="dark"] .faith-text p { color: var(--color-muted); }

/* --- RetreatRX Showcase --- */
.retreatrx-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 768px) {
  .retreatrx-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.retreatrx-screens {
  display: flex;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .retreatrx-screens {
    justify-content: center;
  }
}

.retreatrx-screen {
  text-align: center;
}

.retreatrx-img {
  width: 200px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.retreatrx-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(91, 44, 131, 0.2);
}

@media (max-width: 480px) {
  .retreatrx-img {
    width: 150px;
  }
}

.retreatrx-caption {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-weight: 500;
  margin-top: var(--space-2);
}

.retreatrx-info h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.retreatrx-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.retreatrx-feature {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.retreatrx-feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-faint);
  border-radius: var(--radius-md);
}

.retreatrx-feature strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.retreatrx-feature p {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: 0;
}

.retreatrx-actions {
  margin-bottom: var(--space-3);
}

.retreatrx-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-weight: 500;
}

/* --- Pathway --- */
.pathway {
  position: relative;
  padding-left: var(--space-8);
}

.pathway::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-divider);
}

.pathway-step {
  position: relative;
  padding-bottom: var(--space-8);
}

.pathway-step:last-child { padding-bottom: 0; }

.pathway-dot {
  position: absolute;
  left: calc(-1 * var(--space-8) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--color-divider);
  background: var(--color-bg);
}

.pathway-active .pathway-dot {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 44, 131, 0.15);
}

.pathway-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.pathway-locked .pathway-label { color: var(--color-muted); }

.pathway-content h3 {
  font-size: var(--text-lg);
  margin: var(--space-1) 0 var(--space-2);
}

.pathway-locked h3 { color: var(--color-muted); }

.pathway-content p {
  font-size: var(--text-sm);
  color: var(--text-mid);
}

[data-theme="dark"] .pathway-content p { color: var(--color-muted); }

.pathway-locked p { color: var(--text-faint); }

/* --- FAQ --- */
.faq-list {
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-item summary {
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '—';
}

.faq-item p {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-mid);
}

[data-theme="dark"] .faq-item p { color: var(--color-muted); }

.faq-cta { text-align: center; }

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--space-12) 0 var(--space-8);
  text-align: center;
}

[data-theme="dark"] .footer { background: #0A0714; }

.footer-logo {
  max-width: 260px;
  margin: 0 auto var(--space-3);
  filter: brightness(1.8);
}

.footer-tagline {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
}

.footer-bottom p {
  font-size: var(--text-xs);
  margin: 0 auto var(--space-2);
  color: rgba(255,255,255,0.4);
}

.footer-pplx {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-pplx:hover { color: rgba(255,255,255,0.6); }

/* --- Scroll animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Dark mode toggle (fixed bottom-right) --- */
.theme-toggle {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: all var(--transition);
}

.theme-toggle:hover { box-shadow: var(--shadow-lg); }

/* --- Regal accent decorations --- */
.regal-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--fuchsia));
  border-radius: 2px;
  margin: var(--space-4) 0;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--fuchsia));
  border-radius: 2px;
  margin-top: var(--space-3);
}


/* --- RetreatRX App Icon --- */
.retreatrx-app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(91, 44, 131, 0.3);
  border: 2px solid var(--gold);
}

.retreatrx-icon-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Store Download Badges --- */
.retreatrx-downloads {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-family: var(--font-body);
  transition: transform var(--transition), box-shadow var(--transition);
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge small {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-badge strong {
  font-size: var(--text-base);
  font-weight: 600;
}

.google-play-badge {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.google-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: var(--white);
}

.apple-badge-coming {
  background: rgba(0,0,0,0.05);
  color: var(--text-mid);
  border: 1px solid var(--color-border);
  cursor: default;
  opacity: 0.65;
}

[data-theme="dark"] .apple-badge-coming {
  background: rgba(255,255,255,0.08);
  color: var(--text-faint);
  border-color: rgba(255,255,255,0.15);
}

/* --- Weekly Reflection Form Submit --- */
.reflection-week-form .btn-sm {
  white-space: nowrap;
}

.reflection-week-form .form-success {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--success);
  font-size: var(--text-sm);
  font-weight: 500;
}

.reflection-week-form .form-success svg {
  color: var(--success);
  flex-shrink: 0;
}

/* --- Poll email sending indicator --- */
.poll-sending {
  font-size: var(--text-xs);
  color: var(--color-muted);
  display: none;
}


/* ========== START HERE SECTION ========== */
.start-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.start-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.start-step:hover {
  box-shadow: var(--shadow-md);
}

.start-step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: 50%;
}

.start-step-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.start-step-content p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

.start-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.start-link:hover {
  color: var(--gold-deep);
}

.start-divider {
  color: var(--color-muted);
  margin: 0 var(--space-1);
}

.start-note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
}

.start-note svg {
  flex-shrink: 0;
  color: var(--gold-deep);
  margin-top: 2px;
}

[data-theme="dark"] .start-note {
  background: rgba(212, 175, 55, 0.1);
  border-left-color: var(--gold-deep);
}

/* ========== CLASS MODE LOCK ========== */
.class-mode-lock {
  display: flex;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
}

.lock-message {
  text-align: center;
  max-width: 400px;
}

.lock-message svg {
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}

.lock-message h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

.lock-message p {
  font-size: var(--text-sm);
  color: var(--text-faint);
  line-height: 1.6;
  margin: 0;
}

/* When class mode is ON, hide locks and show forms */
body.class-mode-on .class-mode-lock {
  display: none !important;
}

body.class-mode-on .class-mode-content {
  display: block !important;
}

/* When class mode is OFF (default), hide forms and show locks */
body:not(.class-mode-on) .class-mode-content {
  display: none !important;
}

body:not(.class-mode-on) .class-mode-lock {
  display: flex !important;
}

/* ========== TOGGLE SWITCH ========== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-border);
  border-radius: 30px;
  transition: background 0.3s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--purple), var(--fuchsia));
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(26px);
}

/* --- Guide Showcase --- */
.guide-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-top: var(--space-6);
}

.guide-image {
  display: flex;
  justify-content: center;
}

.guide-cover {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(61, 21, 86, 0.2), 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.guide-cover:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 28px 70px rgba(61, 21, 86, 0.25), 0 12px 32px rgba(0,0,0,0.12);
}

.guide-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.guide-desc {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.guide-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.guide-features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.guide-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.guide-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.guide-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.guide-format {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .guide-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .guide-cover {
    max-width: 280px;
  }
  .guide-price-row {
    justify-content: center;
  }
  .guide-features li {
    text-align: left;
  }
}

/* ============================================================
   COHORT 1 CLOSED / LEVEL 2 TEASER (Week 4 revamp)
   ============================================================ */

/* Dimmed/closed CTA states */
.nav-cta-closed {
  background: var(--color-muted, #888) !important;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
  background-image: none !important;
}

.pathway-label-closed {
  background: var(--gold-pale, #FAEFD0);
  color: var(--gold-deep, #8B6B1F);
  border: 1px solid var(--gold);
}

.btn-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.06);
  color: var(--color-muted, #555);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px dashed var(--color-border, #d4d4d4);
  cursor: not-allowed;
  pointer-events: none;
}

/* Graduation Banner */
.grad-banner {
  position: relative;
  background: linear-gradient(135deg, var(--purple-deep, #3D1556) 0%, var(--purple, #5B2C83) 100%);
  color: var(--cream, #FDF8F0);
  padding: calc(var(--space-16) + var(--space-2)) var(--space-4) var(--space-6);
  border-bottom: 4px solid var(--gold, #C49A3C);
  text-align: center;
}
@media (max-width: 720px) {
  .grad-banner { padding-top: calc(var(--space-12) + var(--space-2)); }
}
.grad-banner-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.grad-banner-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light, #E0BC60);
}
.grad-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0;
  line-height: 1.2;
}
.grad-banner-text {
  font-size: var(--text-base);
  max-width: 620px;
  margin: 0;
  opacity: 0.92;
  line-height: 1.55;
}
.grad-banner-meta {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light, #E0BC60);
  margin-top: var(--space-1);
}

/* Level 2 Teaser Section */
.level2-teaser {
  background: linear-gradient(180deg, var(--cream-deep, #F4E9D6) 0%, var(--cream, #FDF8F0) 100%);
  position: relative;
  overflow: hidden;
}
.level2-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(196,154,60,0.08) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(91,44,131,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.level2-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-10, 4rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.level2-image-wrap {
  position: sticky;
  top: 100px;
}
.level2-image {
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(61,21,86,0.18), 0 4px 12px rgba(0,0,0,0.08);
  border: 4px solid var(--gold, #C49A3C);
  aspect-ratio: 1 / 1;
  background: var(--purple-faint);
}
.level2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.level2-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep, #8B6B1F);
  margin-bottom: var(--space-2);
}
.level2-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 var(--space-3) 0;
  color: var(--purple-deep, #3D1556);
}
.level2-lede {
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.6;
  margin: 0 0 var(--space-5) 0;
  color: var(--text-mid, #4a3a5e);
}
.level2-schedule {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.level2-session {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.7);
  border-left: 3px solid var(--gold, #C49A3C);
  border-radius: 4px;
}
.level2-session-date {
  font-weight: 700;
  color: var(--purple, #5B2C83);
  min-width: 90px;
  font-size: var(--text-sm);
}
.level2-session-title {
  font-weight: 600;
  color: var(--text-deep, #2a1a3e);
  font-size: var(--text-sm);
  margin-bottom: 2px;
}
.level2-session-meta {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.level2-pricing {
  background: var(--purple-deep, #3D1556);
  color: var(--cream, #FDF8F0);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.level2-pricing-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-3) 0;
  color: var(--gold-light, #E0BC60);
  text-transform: uppercase;
}
.level2-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: var(--text-sm);
}
.level2-price-row:last-child { border-bottom: 0; }
.level2-price-row strong { font-weight: 600; }
.level2-price-row .price-amt {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold-light, #E0BC60);
}

.level2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.level2-actions .btn { min-width: 200px; }

.level2-fineprint {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.level2-fineprint strong { color: var(--purple); }

@media (max-width: 860px) {
  .level2-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .level2-image { max-width: 380px; margin: 0 auto; }
  .level2-actions .btn { flex: 1; min-width: 0; }
  .level2-session-date { min-width: 0; }
  .level2-session { flex-direction: column; gap: var(--space-1); }
}

/* Proof of Craft Photo Gallery */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.proof-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--purple-faint);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}
.proof-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(61,21,86,0.18);
}
.proof-photo:hover img {
  transform: scale(1.04);
}
.proof-caption-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-style: italic;
  margin-top: var(--space-4);
}
@media (max-width: 700px) {
  .proof-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .proof-gallery { grid-template-columns: 1fr; }
}

/* Testimonial placeholders */
.gallery-card.placeholder {
  border: 2px dashed var(--color-border);
  background: rgba(255,255,255,0.4);
  color: var(--color-muted);
}
.gallery-card.placeholder p {
  font-style: italic;
}
.gallery-card.placeholder cite {
  color: var(--gold-deep, #8B6B1F);
}

/* ============================================================
   STRENGTHENERS (credential bar, take-home, stats, scripture, waitlist)
   ============================================================ */

/* Credential bar inside graduation banner */
.credential-bar {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  justify-content: center;
  width: 100%;
}
.credential-bar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light, #E0BC60);
  text-align: center;
}
.credential-bar-item svg { flex-shrink: 0; opacity: 0.85; }
@media (max-width: 600px) {
  .credential-bar-item { font-size: 0.72rem; line-height: 1.4; flex-direction: column; gap: 4px; }
}

/* Take-home grid in Level 2 */
.take-home {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--gold, #C49A3C);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}
.take-home-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep, #8B6B1F);
  margin-bottom: var(--space-3);
}
.take-home-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.take-home-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-mid, #4a3a5e);
}
.take-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-faint, #F3ECF9);
  color: var(--purple, #5B2C83);
}
@media (max-width: 600px) {
  .take-home-grid { grid-template-columns: 1fr; }
}

/* Price-as-value note */
.level2-value-note {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gold-light, #E0BC60);
  font-style: italic;
}

/* Cohort 1 stats strip */
.cohort1-stats {
  list-style: none;
  margin: var(--space-5) 0 var(--space-6);
  padding: var(--space-4) var(--space-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  background: var(--purple-faint, #F3ECF9);
  border-left: 3px solid var(--gold, #C49A3C);
  border-radius: var(--radius-md);
}
.cohort1-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.cohort1-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--purple-deep, #3D1556);
  line-height: 1;
}
.cohort1-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  line-height: 1.35;
  max-width: 14ch;
}
@media (max-width: 720px) {
  .cohort1-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Scripture break */
.scripture-break {
  background: linear-gradient(180deg, var(--cream, #FDF8F0) 0%, var(--cream-deep, #F4E9D6) 100%);
  padding: var(--space-10) 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.scripture-break-inner {
  max-width: 720px;
}
.scripture-mark {
  display: block;
  font-size: 1.5rem;
  color: var(--gold, #C49A3C);
  margin-bottom: var(--space-3);
}
.scripture-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--purple-deep, #3D1556);
  margin: 0 0 var(--space-2) 0;
  padding: 0;
  border: none;
}
.scripture-cite {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep, #8B6B1F);
  font-style: normal;
}

/* Cohort 2 Wait List */
.waitlist-section {
  background: var(--purple-deep, #3D1556);
  color: var(--cream, #FDF8F0);
}
.waitlist-section .section-label,
.waitlist-section .section-title,
.waitlist-section .section-desc {
  color: var(--cream, #FDF8F0);
}
.waitlist-section .section-label { color: var(--gold-light, #E0BC60); }
.waitlist-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}
.waitlist-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0 0;
  display: grid;
  gap: var(--space-2);
}
.waitlist-bullets li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 0.92rem;
  line-height: 1.5;
}
.waitlist-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold, #C49A3C);
}
.waitlist-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.waitlist-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light, #E0BC60);
  margin-top: var(--space-2);
}
.waitlist-optional {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  opacity: 0.7;
}
.waitlist-form input,
.waitlist-form select {
  background: rgba(255,255,255,0.95);
  color: var(--text-deep, #2a1a3e);
  border: 1px solid transparent;
  border-radius: var(--radius-sm, 6px);
  padding: var(--space-3);
  font-size: var(--text-base);
  font-family: inherit;
  width: 100%;
}
.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 2px solid var(--gold, #C49A3C);
  outline-offset: 1px;
}
.waitlist-submit { margin-top: var(--space-4); width: 100%; }
.waitlist-status {
  margin: var(--space-2) 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.waitlist-status-success { color: #B6F0C4; }
.waitlist-status-error { color: #F5A6B3; }
.waitlist-fineprint {
  margin: var(--space-2) 0 0;
  font-size: 0.72rem;
  opacity: 0.7;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .waitlist-inner { grid-template-columns: 1fr; }
}

/* === Coming Soon testimonial cards === */
.coming-soon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  min-height: 180px;
  padding: var(--space-6) var(--space-5);
  border: 1px dashed rgba(62, 26, 94, 0.20);
  background: linear-gradient(135deg, rgba(196, 154, 60, 0.06) 0%, rgba(62, 26, 94, 0.04) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  opacity: 1;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'General Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #C49A3C);
  background: rgba(196, 154, 60, 0.12);
  border: 1px solid rgba(196, 154, 60, 0.30);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.coming-soon-text {
  font-family: 'Zodiak', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--purple, #3E1A5E);
  margin: 0 0 var(--space-2) 0;
  opacity: 0.85;
}
.coming-soon-cite {
  font-family: 'General Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  font-style: normal;
  opacity: 0.85;
}
[data-theme="dark"] .coming-soon-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(196, 154, 60, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}
[data-theme="dark"] .coming-soon-text { color: #E8DCFF; }

/* === Instructor + Co-Instructor cards === */
.co-instructor-card { margin-top: var(--space-10); }

.instructor-role-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'General Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple, #3E1A5E);
  background: rgba(62, 26, 94, 0.08);
  border: 1px solid rgba(62, 26, 94, 0.20);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.instructor-role-pill-co {
  color: var(--gold, #C49A3C);
  background: rgba(196, 154, 60, 0.10);
  border-color: rgba(196, 154, 60, 0.30);
}
[data-theme="dark"] .instructor-role-pill {
  color: #E8DCFF;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .instructor-role-pill-co {
  color: var(--gold, #C49A3C);
  background: rgba(196, 154, 60, 0.12);
  border-color: rgba(196, 154, 60, 0.30);
}

.instructor-frame-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62, 26, 94, 0.85) 0%, rgba(196, 154, 60, 0.85) 100%);
  color: #FDF8F0;
}
.instructor-initials {
  font-family: 'Zodiak', Georgia, serif;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FDF8F0;
}
