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

:root {
  --obsidian: #050505;
  --obsidian-mid: #111111;
  --parchment: #f5f0e8;
  /* Body copy: opacities lightened 75% toward full (old + (1 − old) × 0.75) */
  --parchment-muted: rgba(245, 240, 232, 0.91);
  --text-soft: rgba(245, 240, 232, 0.86);
  --text-faint: rgba(245, 240, 232, 0.78);
  --text-placeholder: rgba(245, 240, 232, 0.81);
  --gold: #c5b358;
  --gold-dim: rgba(197, 179, 88, 0.1);
  --gold-glow: rgba(197, 179, 88, 0.35);
  --glass-bg: rgba(20, 20, 20, 0.4);
  --glass-border: rgba(197, 179, 88, 0.1);
  --font-display: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-pad: clamp(5rem, 12vw, 9rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--parchment);
  background: radial-gradient(ellipse at 50% 0%, var(--obsidian-mid) 0%, var(--obsidian) 70%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Film Grain Overlay ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(3%, 1%); }
  30% { transform: translate(-1%, 4%); }
  40% { transform: translate(2%, -2%); }
  50% { transform: translate(-3%, 2%); }
  60% { transform: translate(1%, -4%); }
  70% { transform: translate(-2%, 3%); }
  80% { transform: translate(4%, -1%); }
  90% { transform: translate(-1%, -2%); }
}

/* ─── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

.subheading {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  color: var(--parchment-muted);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Layout Utilities ───────────────────────────────────────────── */
.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

section {
  position: relative;
  padding-block: var(--section-pad);
}

/* ─── Scroll Fade-In Animation ───────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury);
}

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

.fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.45s; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.25rem 3rem;
  border: 1px solid var(--gold-dim);
  background: rgba(197, 179, 88, 0.06);
  color: var(--parchment);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.8s var(--ease-luxury),
    border-color 0.6s var(--ease-luxury),
    background 0.6s var(--ease-luxury),
    transform 0.4s var(--ease-luxury);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(197, 179, 88, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-luxury);
}

.btn:hover {
  border-color: rgba(197, 179, 88, 0.4);
  background: rgba(197, 179, 88, 0.1);
  box-shadow:
    0 0 20px rgba(197, 179, 88, 0.15),
    0 0 60px rgba(197, 179, 88, 0.08),
    inset 0 0 20px rgba(197, 179, 88, 0.05);
  transform: translateY(-2px);
}

.btn:hover::after {
  opacity: 1;
}

button.btn {
  font-family: var(--font-body);
}

a.btn {
  text-decoration: none;
  color: var(--parchment);
}

.btn--hero {
  margin-top: 3rem;
  padding: 1.4rem 3.5rem;
  font-size: 0.72rem;
}

.btn--initiation {
  margin-top: 2.5rem;
  padding: 1.3rem 3.2rem;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.6s var(--ease-luxury), backdrop-filter 0.6s var(--ease-luxury);
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  transition: color 0.4s var(--ease-luxury);
}

.nav__links a:hover {
  color: var(--gold);
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.45) 45%, rgba(5, 5, 5, 0.8) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.72) 100%);
}

.hero__glow {
  position: absolute;
  z-index: 2;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 179, 88, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero__line {
  position: absolute;
  z-index: 3;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  animation: line-breathe 3s ease-in-out infinite;
}

@keyframes line-breathe {
  0%, 100% { opacity: 0.4; height: 60px; }
  50% { opacity: 0.8; height: 90px; }
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  letter-spacing: 0.15em;
  color: var(--parchment);
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(197, 179, 88, 0.12);
  margin-bottom: 1.5rem;
}

.hero__title-sub {
  display: block;
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.65rem;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: var(--parchment-muted);
  max-width: none;
  margin-inline: auto;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

/* ─── Divider ────────────────────────────────────────────────────── */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin-bottom: 2rem;
}

/* ─── Syllabus ───────────────────────────────────────────────────── */
.syllabus {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.6) 50%, transparent 100%);
}

.syllabus__header {
  max-width: 680px;
  margin-bottom: clamp(3.5rem, 7vw, 5rem);
}

.syllabus__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}

.syllabus__title-line {
  display: block;
}

.syllabus__intro {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  max-width: 56ch;
}

.syllabus__intro p {
  margin: 0;
}

.syllabus__intro p + p {
  margin-top: 1.25rem;
}

.syllabus__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: stretch;
}

.syllabus-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(197, 179, 88, 0.14);
  background: rgba(10, 10, 10, 0.35);
  transition: border-color 0.5s var(--ease-luxury), background 0.5s var(--ease-luxury);
}

.syllabus-card:hover {
  border-color: rgba(197, 179, 88, 0.32);
  background: rgba(15, 15, 15, 0.55);
}

.syllabus-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.87rem, 1.38vw, 1.01rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.syllabus-card__desc {
  flex: 1;
  color: var(--parchment-muted);
}

.syllabus-card__desc p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.7;
  color: var(--parchment-muted);
}

.syllabus-card__desc p + p {
  margin-top: 0.55rem;
}

/* ─── Anatomy of a Lesson ────────────────────────────────────────── */
.anatomy {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.anatomy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.anatomy__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 1.25rem;
}

.anatomy__intro {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  max-width: 42ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.anatomy__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.anatomy__item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.anatomy__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 179, 88, 0.15);
  background: rgba(197, 179, 88, 0.04);
}

.anatomy__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  opacity: 1;
}

/* Portal wireframe mockup */
.portal-mockup {
  background: rgba(28, 28, 28, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 179, 88, 0.22);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}

.portal-mockup__bar {
  width: 40%;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.portal-mockup__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.portal-mockup__audio {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(197, 179, 88, 0.2);
}

.portal-mockup__play {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(197, 179, 88, 0.55);
  background: rgba(197, 179, 88, 0.18);
}

.portal-mockup__track {
  flex: 1;
  height: 2px;
  background: rgba(245, 240, 232, 0.28);
  position: relative;
}

.portal-mockup__progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: var(--gold);
}

.portal-mockup__lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.portal-mockup__lines span {
  display: block;
  height: 2px;
  background: rgba(245, 240, 232, 0.24);
  border-radius: 1px;
}

.portal-mockup__lines span:nth-child(1) { width: 100%; }
.portal-mockup__lines span:nth-child(2) { width: 88%; }
.portal-mockup__lines span:nth-child(3) { width: 72%; }

.portal-mockup__quote {
  padding: 1.25rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(197, 179, 88, 0.22);
  border-bottom: 1px solid rgba(197, 179, 88, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.portal-mockup__quote span {
  display: block;
  height: 2px;
  background: rgba(245, 240, 232, 0.3);
  border-radius: 1px;
}

.portal-mockup__quote span:nth-child(1) { width: 70%; }
.portal-mockup__quote span:nth-child(2) { width: 50%; }

.portal-mockup__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.portal-mockup__btn {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  border: 1px solid rgba(245, 240, 232, 0.55);
  background: transparent;
  text-align: center;
}

/* ─── Curriculum Grid ────────────────────────────────────────────── */
.curriculum {
  text-align: center;
}

.curriculum__header {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: clamp(3.5rem, 7vw, 5rem);
}

.curriculum__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  line-height: 1.2;
}

.curriculum__title-line {
  display: block;
}

.curriculum__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2vw, 1.5rem);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.6s var(--ease-luxury),
    border-color 0.6s var(--ease-luxury),
    box-shadow 0.6s var(--ease-luxury);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.6s var(--ease-luxury);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 179, 88, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(197, 179, 88, 0.06);
}

.card:hover::before {
  opacity: 1;
}

.card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.card__title {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--parchment);
}

.card__desc {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.8;
}

.card__desc p {
  margin: 0;
  color: var(--parchment-muted);
}

.card__desc p + p {
  margin-top: 0.65rem;
}

.card__tag {
  margin-top: 2rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Enrollment (Pricing) ───────────────────────────────────────── */
.initiation {
  padding-block: clamp(6rem, 14vw, 10rem);
}

.initiation__panel {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  position: relative;
}

.initiation__panel::before,
.initiation__panel::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(197, 179, 88, 0.2);
  border-style: solid;
}

.initiation__panel::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.initiation__panel::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.initiation__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.initiation__subtitle {
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
}

.initiation__price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--parchment);
  letter-spacing: 0.04em;
  line-height: 1;
}

.initiation__price span {
  font-family: var(--font-body);
  font-size: 0.3em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  vertical-align: middle;
  margin-left: 0.25em;
}

.initiation__features {
  list-style: none;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.initiation__features li {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--parchment-muted);
  position: relative;
  padding-left: 1.2rem;
}

.initiation__features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.45rem;
  color: var(--gold);
  top: 50%;
  transform: translateY(-50%);
}

/* ─── Auth Overlay ───────────────────────────────────────────────── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-luxury), visibility 0.5s var(--ease-luxury);
}

.auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-modal {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: clamp(2rem, 5vw, 3rem);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease-luxury);
}

.auth-overlay.is-open .auth-modal {
  transform: translateY(0) scale(1);
}

.auth-modal::before,
.auth-modal::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: rgba(197, 179, 88, 0.2);
  border-style: solid;
  pointer-events: none;
}

.auth-modal::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.auth-modal::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--parchment-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease-luxury);
}

.auth-modal__close:hover {
  color: var(--gold);
}

.auth-modal__eyebrow {
  margin-bottom: 0.75rem;
}

.auth-modal__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: var(--parchment);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.auth-tabs__btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  cursor: pointer;
  transition: color 0.4s var(--ease-luxury), border-color 0.4s var(--ease-luxury);
}

.auth-tabs__btn:hover {
  color: var(--parchment);
}

.auth-tabs__btn.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-form.is-active {
  display: flex;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.auth-input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--parchment);
  background: rgba(5, 5, 5, 0.45);
  border: 1px solid var(--glass-border);
  outline: none;
  transition: border-color 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.auth-input::placeholder {
  color: var(--text-placeholder);
}

.auth-input:focus {
  border-color: rgba(197, 179, 88, 0.35);
  box-shadow: 0 0 20px rgba(197, 179, 88, 0.08);
}

.auth-submit {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
}

.auth-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auth-message {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
}

.auth-message--error {
  color: #e8c4c4;
  background: rgba(80, 20, 20, 0.35);
  border-color: rgba(180, 80, 80, 0.25);
}

.auth-message--success {
  color: #d4e8c4;
  background: rgba(20, 50, 30, 0.35);
  border-color: rgba(100, 160, 80, 0.25);
}

.auth-new-members {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  color: var(--parchment-muted);
}

.auth-new-members a {
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.3s var(--ease-luxury);
}

.auth-new-members a:hover {
  color: #ffffff;
}

body.auth-open {
  overflow: hidden;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  padding-block: 3rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer__text {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer__sigil {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer__links a {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  transition: color 0.35s var(--ease-luxury);
}

.footer__links a:hover {
  color: var(--gold);
}

/* ─── Legal pages ────────────────────────────────────────────────── */
.legal-page {
  min-height: 100vh;
}

.legal {
  padding: calc(5.5rem + 80px) 0 3rem;
}

.legal__inner {
  max-width: 800px;
  padding: 3rem 2rem;
  margin-inline: auto;
}

.legal__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  text-align: center;
}

.legal__updated {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.75rem;
}

.legal__section {
  padding-block: 0;
  margin-bottom: 1.5rem;
}

.legal__section:last-child {
  margin-bottom: 0;
}

.legal__section-title,
.legal__heading {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--parchment);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.legal__section p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--parchment-muted);
}

.legal__section p:last-child {
  margin-bottom: 0;
}

.legal__body a,
.legal__section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal__body a:hover,
.legal__section a:hover {
  color: var(--parchment);
}

/* ─── Planetary Hours ────────────────────────────────────────────── */
.planetary {
  padding-block: var(--section-pad);
  border-top: 1px solid rgba(197, 179, 88, 0.08);
}

.planetary-page .planetary {
  border-top: none;
  padding-top: calc(5.5rem + 80px);
  min-height: calc(100vh - 12rem);
}

.planetary__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.planetary__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.planetary__intro {
  color: var(--parchment-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.planetary__app {
  max-width: 920px;
  margin: 0 auto 3rem;
}

.planetary__widget {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.ph-location {
  margin-bottom: 1.25rem;
}

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

.ph-select-wrap {
  position: relative;
}

.ph-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  opacity: 0.75;
}

.ph-select {
  width: 100%;
  padding: 0.9rem 2.75rem 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--parchment);
  background-color: rgba(12, 10, 8, 0.72);
  border: 1px solid rgba(197, 179, 88, 0.22);
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ph-select:hover {
  border-color: rgba(197, 179, 88, 0.38);
}

.ph-select:focus {
  outline: none;
  border-color: rgba(197, 179, 88, 0.5);
  box-shadow: 0 0 0 1px rgba(197, 179, 88, 0.14);
}

.ph-select option {
  background: #14100c;
  color: var(--parchment);
}

.ph-select option[disabled] {
  color: var(--text-placeholder);
  font-style: italic;
}

.ph-location--compact .ph-select {
  font-size: 0.82rem;
  padding: 0.75rem 2.5rem 0.75rem 0.85rem;
}

.ph-output.planetary__widget {
  margin: 0;
}

.ph-widget__idle {
  text-align: center;
  padding: 2.5rem 1rem;
}

.ph-widget__idle-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.ph-meta__note {
  font-size: 0.78rem;
  color: var(--parchment-muted);
  font-weight: normal;
}

.planetary__cta {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.planetary__cta-text {
  color: var(--parchment-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.ph-widget__loading,
.ph-widget__error {
  text-align: center;
  color: var(--parchment-muted);
  font-size: 0.9rem;
  padding: 2rem 1rem;
}

.ph-widget__error {
  color: #c9a0a8;
}

.ph-current {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.ph-current__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.65rem;
}

.ph-current__planet {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}

.ph-current__meta {
  font-size: 0.82rem;
  color: var(--parchment-muted);
  letter-spacing: 0.04em;
}

.ph-planet {
  color: var(--gold);
  margin-right: 0.35rem;
}

.ph-planet--large {
  font-size: 1.15em;
}

.ph-meta {
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--parchment-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.ph-meta strong {
  color: var(--parchment);
  font-weight: 500;
}

.ph-meta__location {
  opacity: 0.75;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.ph-chart {
  overflow-x: auto;
  max-height: 24rem;
  overflow-y: auto;
  border: 1px solid rgba(197, 179, 88, 0.08);
}

.ph-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.ph-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.95);
}

.ph-table th {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--glass-border);
}

.ph-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(197, 179, 88, 0.06);
  color: var(--parchment-muted);
}

.ph-row--active td {
  color: var(--parchment);
  background: rgba(197, 179, 88, 0.08);
}

.ph-row--active td:nth-child(3) {
  color: var(--gold);
}

/* ─── Checkout ───────────────────────────────────────────────────── */
.checkout-page {
  min-height: 100dvh;
  min-height: 100vh;
  overflow-x: hidden;
}

.checkout {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2rem) clamp(1rem, 5vw, 2rem);
  box-sizing: border-box;
}

.checkout > .container {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.checkout__panel {
  width: 100%;
  margin-inline: auto;
  padding: clamp(2rem, 4vh, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.checkout__panel .initiation__features {
  align-items: center;
  margin-inline: auto;
  margin-top: 2rem;
}

.checkout__panel .initiation__features li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0;
}

.checkout__panel .initiation__features li::before {
  position: static;
  transform: none;
  flex-shrink: 0;
}

.checkout__lead {
  margin-bottom: 2rem;
}

.checkout__cta {
  display: inline-block;
  text-decoration: none;
  margin-top: 3.5rem;
}

.planetary__cta .btn--initiation {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.checkout__note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--parchment-muted);
}

.checkout__logout {
  display: block;
  margin: 2rem auto 0;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  cursor: pointer;
  transition: color 0.3s var(--ease-luxury);
}

.checkout__logout:hover {
  color: var(--parchment);
}

.checkout__note--prominent {
  font-size: 0.92rem;
  color: var(--parchment);
  margin-bottom: 2rem;
}

.checkout__inline-link {
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.checkout__inline-link:hover {
  color: #ffffff;
}

.set-password__panel .auth-message {
  margin-bottom: 1.5rem;
}

.set-password__form {
  text-align: left;
}

.set-password__form .auth-field {
  margin-bottom: 1.25rem;
}

.set-password__form .checkout__cta {
  width: 100%;
  margin-top: 0.5rem;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .curriculum__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .syllabus__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .syllabus__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .anatomy__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .anatomy__visual {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .curriculum__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .syllabus__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    letter-spacing: 0.08em;
  }

  .hero__subtitle {
    font-size: clamp(0.72rem, 3.2vw, 0.85rem);
    letter-spacing: 0.04em;
  }

  .btn {
    padding: 1.1rem 2rem;
    font-size: 0.62rem;
  }
}

/* ─── Enroll landing (/enroll) ─────────────────────────────────────── */
.enroll-page {
  font-family: 'Inter', var(--font-body), system-ui, sans-serif;
  background: var(--obsidian);
  color: var(--parchment);
}

.enroll-wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.enroll-wrap--legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

/* Section 1 — strict 50/50 hero */
.enroll-hero {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: minmax(0, 1fr);
  height: 100svh;
  min-height: 32rem;
  overflow: hidden;
}

.enroll-hero__left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 4vw, 3.5rem);
  background: var(--obsidian);
  border-right: 1px solid var(--glass-border);
}

.enroll-hero__left-inner {
  width: 100%;
  max-width: 26rem;
}

.enroll-hero__logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin: 0 0 1.75rem;
}

.enroll-hero__content {
  width: 100%;
}

.enroll-hero__right {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image: url('/assets/hero-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.enroll-hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5, 5, 5, 0.4) 0%,
    transparent 22%
  );
  pointer-events: none;
}

.enroll__eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.enroll__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: var(--parchment);
  margin-bottom: 1.15rem;
}

.enroll__lead {
  font-size: clamp(0.86rem, 1.35vw, 0.96rem);
  line-height: 1.72;
  color: var(--parchment-muted);
  margin-bottom: 1.75rem;
}

.btn--enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.25rem;
  padding: 1.05rem 1.75rem;
  font-family: 'Inter', var(--font-body), sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury), transform 0.3s var(--ease-luxury);
}

.btn--enroll:hover:not(:disabled) {
  background: #d4c26a;
  border-color: #d4c26a;
  box-shadow: 0 0 28px var(--gold-glow);
  transform: translateY(-1px);
}

.btn--enroll:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.enroll__cta-note {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--text-faint);
}

/* Sections 2–5 */
.enroll-body {
  width: 100%;
}

.enroll-section {
  padding-block: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--glass-border);
}

.enroll-section__label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.enroll-section__header {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 36rem;
}

.enroll__heading {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--parchment);
  margin: 0;
}

.enroll__prose {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--parchment-muted);
}

/* Section 2 — problem band */
.enroll-section--problem {
  background: linear-gradient(180deg, rgba(197, 179, 88, 0.04) 0%, transparent 100%);
}

.enroll__prose--statement {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.75;
  color: var(--text-soft);
}

.enroll__prose--statement em {
  font-style: normal;
  color: var(--gold);
}

/* Section 3 — curriculum grid */
.enroll__curriculum {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.enroll__curriculum-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--glass-border);
  background: rgba(14, 14, 16, 0.55);
  transition: border-color 0.3s var(--ease-luxury), background 0.3s var(--ease-luxury);
}

.enroll__curriculum-card:hover {
  border-color: rgba(197, 179, 88, 0.28);
  background: rgba(20, 20, 22, 0.72);
}

.enroll__curriculum-card strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.enroll__curriculum-card span {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--parchment-muted);
}

.enroll__curriculum-card--span {
  grid-column: 1 / -1;
}

/* Section 4 — process cards */
.enroll__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  counter-reset: enroll-step;
}

.enroll__step-card {
  counter-increment: enroll-step;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  padding-top: 3rem;
  position: relative;
  border: 1px solid var(--glass-border);
  background: rgba(10, 10, 10, 0.45);
}

.enroll__step-card::before {
  content: counter(enroll-step);
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  width: 1.55rem;
  height: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.enroll__step-card strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--parchment);
}

.enroll__step-card span {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--parchment-muted);
}

.enroll__pullquote {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(197, 179, 88, 0.18);
  background: rgba(197, 179, 88, 0.05);
}

.enroll__pullquote p {
  margin: 0;
  max-width: 52rem;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.78;
  color: var(--text-soft);
}

/* Section 5 — FAQ split */
.enroll-section--faq {
  background: rgba(14, 14, 16, 0.35);
}

.enroll-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.enroll-faq-layout__intro .enroll__heading {
  max-width: 14rem;
}

.enroll-faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-border);
  background: rgba(5, 5, 5, 0.5);
}

.enroll-faq__item {
  border-bottom: 1px solid var(--glass-border);
}

.enroll-faq__item:last-child {
  border-bottom: none;
}

.enroll-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--parchment);
  transition: color 0.25s var(--ease-luxury);
  position: relative;
  padding-right: 2.25rem;
}

.enroll-faq__item summary::-webkit-details-marker {
  display: none;
}

.enroll-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--gold);
}

.enroll-faq__item[open] summary::after {
  content: '−';
}

.enroll-faq__item summary:hover {
  color: var(--gold);
}

.enroll-faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--parchment-muted);
}

.enroll-legal {
  padding-block: 1.25rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 5, 5, 0.75);
}

.enroll-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.enroll-legal__links a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.25s var(--ease-luxury);
}

.enroll-legal__links a:hover {
  color: var(--gold);
}

.enroll-legal__copy {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.35);
  margin: 0;
}

@media (max-width: 960px) {
  .enroll-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 100svh;
  }

  .enroll-hero__left {
    order: 1;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding-block: clamp(2rem, 6vw, 3rem);
  }

  .enroll-hero__left-inner {
    max-width: none;
  }

  .enroll-hero__right {
    order: 2;
    height: min(44vh, 28rem);
    min-height: 16rem;
  }

  .enroll-hero__right::after {
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0.45) 0%,
      transparent 30%,
      rgba(5, 5, 5, 0.35) 100%
    );
  }

  .btn--enroll {
    width: 100%;
  }

  .enroll__curriculum {
    grid-template-columns: 1fr;
  }

  .enroll__curriculum-card--span {
    grid-column: auto;
  }

  .enroll__steps {
    grid-template-columns: 1fr;
  }

  .enroll-faq-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .enroll-faq-layout__intro .enroll__heading {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .enroll-hero__left {
    padding: 1.25rem 1.25rem 1.75rem;
  }

  .enroll-section {
    padding-block: 2.5rem;
  }

  .enroll__prose--statement {
    text-align: left;
  }
}
