@charset "UTF-8";
/* ========================================
   Monastic Academy — Training Cohort
   Layout: heymessage.framer.ai
   Colors/type: monasticacademy.org
   Fonts loaded via <link> in <head>
   ======================================== */
:root {
  --headerfont: 'Cinzel', serif;
  --bodyfont: 'Crimson Text', Georgia, 'Times New Roman', serif;
  --primary: #909167;
  --accent: #464824;
  --accent-secondary: #909167;
  --primary-dark: #202600;
  --alt: #D4D3CD;
  --neutral-grey: #f5f5f2;
  --off-black: #19190d;
  --off-white: #fafaf8;
  --white: #ffffff;
  --muted: #6b6b5e;
  --max-width: 1128px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 100px; }

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box; }

* {
  margin: 0; }

html {
  scroll-behavior: smooth; }

body {
  font-family: var(--bodyfont);
  line-height: 1.6;
  color: var(--off-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased; }

img, picture, video, svg {
  display: block;
  max-width: 100%; }

input, button, textarea, select {
  font: inherit; }

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word; }

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

:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 3px;
  border-radius: var(--radius-sm); }

.btn:focus-visible,
.btn-cta:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius-pill); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--headerfont);
  line-height: 1.12;
  color: var(--accent);
  font-kerning: normal; }

h1 {
  font-size: clamp(3rem, 6.5vw, 5rem);
  letter-spacing: -0.015em;
  font-weight: 500; }

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em; }

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2; }

p {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  line-height: 1.75; }

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.2s; }

a:hover {
  color: var(--primary); }

h1 em, h2 em {
  font-style: normal;
  color: var(--accent-secondary); }

/* --- Performance --- */
.training,
.teacher,
.cost,
.cta,
.site-footer {
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px; }

.hidden {
  display: none !important; }

/* --- Error box --- */
aside {
  color: red;
  background-color: var(--off-white);
  border-radius: 3px;
  padding: 5px; }

/* --- Container for apply now button, name+email form, and error box --- */
.start-application-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 25px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bodyfont);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  gap: 8px; }

.btn-cta {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 20px 48px;
  background: var(--white);
  color: var(--accent); }

.btn-cta:hover {
  background: var(--alt);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }

input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bodyfont);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  border: none; }

.btn-primary {
  background: var(--accent);
  color: var(--white); }

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(70, 72, 36, 0.25); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--alt);
  padding: 8px 18px; }

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--off-white);
  color: var(--accent); }

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s; }

.site-nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); }

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px; }

.site-nav .logo {
  font-family: var(--headerfont);
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px; }

.site-nav .logo:hover {
  color: var(--primary-dark); }

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0; }

/* External nav link — visually distinct */
.site-nav nav a.nav-external {
  padding: 4px 14px;
  border: 1px solid rgba(70, 72, 36, 0.3);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s, color 0.2s; }

.site-nav nav a.nav-external:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent); }

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 32px; }

.site-nav nav a {
  font-family: var(--bodyfont);
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s; }

.site-nav nav a:hover {
  color: var(--accent); }

.site-nav nav .btn {
  padding: 10px 24px;
  font-size: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px; }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px; }

/* --- Section color schemes --- */
.section-dark {
  background: var(--accent);
  color: var(--white); }

.section-dark p {
  color: rgba(255, 255, 255, 0.85); }

.section-light {
  background: var(--white);
  color: var(--off-black); }

.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: var(--accent); }

.section-light p {
  color: var(--muted); }

/* ========================================
   LINKS
   ======================================== */
.track-subtitle a,
.schedule-table a,
.teacher-content a,
.cost-content a,
.cost-aside a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
  text-decoration-color: rgba(70, 72, 36, 0.65);
  font-weight: 600; }

.track-subtitle a:hover,
.schedule-table a:hover,
.teacher-content a:hover,
.cost-content a:hover,
.cost-aside a:hover {
  color: var(--primary-dark);
  text-decoration-color: currentColor; }

.schedule-activity {
  line-height: 1.45; }

.schedule-activity br {
  content: ""; }

/* ========================================
   HERO — dhammapada with background image
   ======================================== */
.hero-static {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(70, 72, 36, 0.72), rgba(70, 72, 36, 0.72)), url("/images/cohort/hero-bg-wheat.jpg") center 40%/cover no-repeat; }

.hero-static .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--max-width);
  width: 100%;
  padding: 80px 24px 40px;
  gap: 0; }
  .hero-static .hero-inner > *:nth-child(0) {
    margin-bottom: 32px; }

.hero-static .hero-inner h1 {
  max-width: 850px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--bodyfont);
  margin-top: 16px;
  margin-bottom: 24px;
  opacity: 1;
  transform: none;
  animation: none; }

.hero-static .hero-inner h1::before,
.hero-static .hero-inner h1::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--white);
  opacity: 0.6;
  vertical-align: middle;
  margin: 0 16px; }

.hero-static .hero-epigraph {
  margin-bottom: 24px;
  opacity: 1;
  transform: none;
  animation: none;
  max-width: 720px; }

.hero-static .epigraph-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center; }

.hero-static .epigraph-line {
  font-family: var(--bodyfont);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.55;
  font-weight: 400; }

.hero-static .epigraph-attribution {
  font-style: normal; }

.hero-static .hero-teaching {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
  opacity: 1;
  transform: none;
  animation: none;
  max-width: 580px; }

.hero-static .teaching-line {
  text-align: center;
  font-family: var(--bodyfont);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  color: var(--white);
  line-height: 1.6; }

@media (max-width: 680px) {
  .hero-static .hero-inner h1 {
    letter-spacing: 0.04em; }
  .hero-static .hero-inner h1::before,
  .hero-static .hero-inner h1::after {
    display: none; } }

/* ========================================
   MISSION — dark flowing prose (lines 6-23)
   ======================================== */
.mission {
  padding: 40px 24px 140px; }

.mission-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px; }

.mission-line {
  font-family: var(--bodyfont);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  line-height: 1.75; }

.mission-bold {
  font-family: var(--bodyfont);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.75; }

.mission-invitation {
  font-family: var(--bodyfont);
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
  font-weight: 600; }

.mission-cta {
  margin-top: 12px; }

.mission-cta .btn-cta {
  background: var(--white);
  color: var(--accent); }

.mission-cta .btn-cta:hover {
  background: var(--alt);
  color: var(--accent); }

.mission-deadline {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  max-width: 540px;
  line-height: 1.6;
  letter-spacing: 0.01em; }

/* ========================================
   MISSION STATEMENT — full-bleed proclamation
   ======================================== */
.mission-statement {
  padding: clamp(80px, 10vw, 120px) 24px;
  background: url("/images/cohort/flame-silhouette.svg") center bottom/auto 90% no-repeat, linear-gradient(to bottom, rgba(70, 72, 36, 0.15), var(--white)); }

.mission-statement-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  text-align: center; }

.mission-statement-inner p {
  font-family: var(--bodyfont);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.65; }

.mission-statement-inner .mission-emphasis {
  font-family: var(--headerfont);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--accent); }

.mission-statement-inner .mission-bold {
  font-weight: 600;
  color: var(--dark); }

.mission-statement-inner .align-left {
  text-align: left; }

.mission-statement-inner .align-right {
  text-align: right; }

.mission-statement-inner .align-center {
  text-align: center; }

.mission-rule {
  border: none;
  border-top: 1px solid var(--alt);
  width: 80px;
  margin: 0 auto; }

/* ── Mission call: second half, dark background ── */
.mission-call {
  padding: clamp(80px, 10vw, 120px) 24px 0;
  text-align: center; }

.mission-call-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px); }

.mission-call-inner p {
  font-family: var(--bodyfont);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  color: var(--white);
  margin: 0;
  line-height: 1.65; }

.mission-call-inner .mission-bold {
  font-weight: 600;
  color: var(--white); }

.mission-call-rule-wrap {
  padding: clamp(48px, 7vw, 80px) 24px;
  text-align: center; }

.mission-call-rule {
  border: none;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  margin: 0 auto; }

/* ── CTA band: dark olive, centered ── */
.mission-cta-band {
  padding: 0 24px clamp(80px, 10vw, 120px);
  text-align: center; }

.mission-cta-band .mission-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; }

.mission-cta-band .mission-invitation {
  font-family: var(--bodyfont);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--white);
  line-height: 1.6;
  font-weight: 600;
  border: none;
  padding: 0;
  margin: 0; }

.mission-cta-band .btn-cta {
  background: var(--white);
  color: var(--accent); }

.mission-cta-band .btn-cta:hover {
  background: var(--alt);
  color: var(--accent); }

.mission-cta-band .mission-deadline {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  max-width: 540px;
  line-height: 1.6; }

.mission-cta-band .mission-deadline-note {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px; }

/* ========================================
   TRAINING — header + split blocks with images
   ======================================== */
.training {
  padding: clamp(56px, 8vw, 96px) 24px; }

.training-header {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px; }

.training-header p {
  color: var(--muted);
  font-size: 1.35rem; }

.training-split-heading {
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--headerfont);
  font-size: 1.8rem;
  color: var(--accent); }

.training-overview {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center; }

.training-overview p {
  color: var(--muted); }

.training-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto; }

.training-track {
  display: flex;
  flex-direction: column;
  gap: 0; }

.track-image {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 6px; }

.track-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover; }

.track-title {
  font-family: var(--headerfont);
  font-size: 1.6rem;
  color: var(--accent-secondary);
  margin-bottom: 12px;
  text-align: center; }

.track-subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px; }

/* --- Schedule toggle --- */
.schedule-details {
  border-top: 1px solid var(--alt);
  padding-top: 12px; }

.schedule-details summary {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-secondary);
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px; }

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

.schedule-details summary::before {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent-secondary);
  transition: transform 0.2s; }

.schedule-details[open] summary::before {
  content: '−'; }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px; }

.schedule-table tr {
  border-bottom: 1px solid var(--alt); }

.schedule-table tr:last-child {
  border-bottom: none; }

.schedule-table tr.schedule-continuation {
  border-bottom: none; }

.schedule-table tr.schedule-continuation td {
  padding-top: 0;
  padding-bottom: 4px; }

.schedule-table tr:has(+ tr.schedule-continuation) {
  border-bottom: none; }

.schedule-table tr:has(+ tr.schedule-continuation) td {
  padding-bottom: 4px; }

.schedule-table td {
  padding: 12px 0;
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  vertical-align: top; }

.schedule-time {
  color: var(--accent-secondary);
  font-weight: 600;
  white-space: nowrap;
  width: 90px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums; }

.schedule-activity {
  color: var(--off-black); }

/* Legacy schedule class support */
.schedule table {
  width: 100%;
  border-collapse: collapse; }

.schedule tr {
  border-bottom: 1px solid var(--alt); }

.schedule tr:last-child {
  border-bottom: none; }

.schedule td {
  padding: 14px 0;
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  vertical-align: top; }

/* ── Program Features ── */
.program-features {
  padding: clamp(72px, 9vw, 110px) 24px;
  text-align: center; }

.program-features-inner {
  max-width: 680px;
  margin: 0 auto; }

.program-features h2 {
  font-family: var(--headerfont);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 24px; }

.program-features p {
  font-family: var(--bodyfont);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin-bottom: 32px; }

.program-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left; }

.program-features li {
  font-family: var(--bodyfont);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--white);
  line-height: 1.55;
  padding-left: 28px;
  position: relative; }

.program-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5); }

.program-features .features-outro {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0; }

/* ========================================
   COST — compact horizontal (lines 77-79)
   ======================================== */
.cost {
  padding: 80px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06); }

.cost-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto; }

.cost-content {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.cost-content p {
  color: var(--muted);
  max-width: 540px; }

.cost-aside {
  background: var(--neutral-grey);
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center; }

.cost-aside p {
  font-family: var(--bodyfont);
  font-weight: 600;
  color: var(--accent); }

/* ========================================
   CTA — final apply
   ======================================== */
.cta {
  padding: 100px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; }

.cta h2 {
  color: var(--white); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bodyfont);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 20px 48px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  background: var(--white);
  color: var(--accent); }

.btn-cta:hover {
  background: var(--alt);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }

.cta-deadline {
  margin-top: 8px; }

.cta-deadline-main {
  font-family: var(--bodyfont);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: var(--radius-pill); }

/* ========================================
   INLINE FORM - begin application
   ======================================== */
form {
  display: flex;
  flex-direction: row;
  gap: 20px; }

@media (max-width: 810px) {
  form {
    flex-direction: column; } }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 48px 24px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto; }

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px; }

.footer-brand .logo {
  font-family: var(--headerfont);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px; }

.footer-brand p {
  font-size: 1.35rem;
  color: #999; }

.footer-nav {
  display: flex;
  gap: 32px; }

.footer-nav a {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  color: var(--muted); }

.footer-nav a:hover {
  color: var(--accent); }

.footer-copy {
  font-family: var(--bodyfont);
  font-size: 1.35rem;
  color: #999;
  text-align: center;
  padding: 24px 24px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .cost-inner {
    grid-template-columns: 1fr;
    gap: 24px; }
  .cost-aside {
    max-width: none; } }

@media (max-width: 810px) {
  .training-split {
    grid-template-columns: 1fr; }
  .teacher-layout {
    grid-template-columns: 1fr;
    gap: 40px; }
  .teacher-img {
    aspect-ratio: 16 / 9;
    max-height: 300px; }
  .site-nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  .site-nav nav a {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center; }
  .site-nav nav.open {
    display: flex; }
  .nav-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px; }
  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center; }
  .footer-nav {
    justify-content: center; }
  .footer-nav a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center; } }

@media (max-width: 480px) {
  .hero {
    padding: 120px 20px 60px;
    min-height: 85vh; }
  .mission {
    padding: 80px 20px; }
  .training-track {
    padding: 32px 24px; }
  .training {
    padding: 80px 20px; }
  .teacher {
    padding: 60px 20px; }
  .cost {
    padding: 60px 20px; }
  .cta {
    padding: 80px 20px; } }

/* ========================================
   DELIGHT — three moments only
   ======================================== */
/* 1. Hero entrance */
.hero h1,
.hero-epigraph,
.hero-teaching {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

.hero h1 {
  animation-delay: 0.2s; }

.hero-epigraph {
  animation-delay: 0.5s; }

.hero-teaching {
  animation-delay: 0.7s; }

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0); } }

/* 2. Mission lines — scroll-driven reveal (overdrive) */
/* Fallback: IntersectionObserver per-line reveal (Firefox, older browsers) */
.reveal-line {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0); }

/* Scroll-driven keyframes */
@keyframes scroll-reveal {
  from {
    opacity: 0;
    transform: translateY(28px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

/* Scroll-driven override — Chrome, Edge, Safari
   "cover 0%" = element first peeks into viewport bottom
   "cover 25%" = element is ~25% through its total travel
   This gives a wide scroll range so the reveal is visible */
@supports (animation-timeline: view()) {
  .mission-statement .reveal-line,
  .mission-statement .reveal-line.is-visible,
  .mission-call .reveal-line,
  .mission-call .reveal-line.is-visible {
    opacity: 0;
    transform: translateY(28px);
    transition: none;
    animation: scroll-reveal linear both;
    animation-timeline: view(block);
    animation-range: cover 10% cover 35%; } }

/* 3. Apply button heartbeat */
.btn-cta {
  position: relative; }

.btn-cta::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: heartbeat 2.5s ease-in-out infinite; }

@keyframes heartbeat {
  0%, 100% {
    opacity: 0;
    transform: scale(1); }
  50% {
    opacity: 1;
    transform: scale(1.04); } }

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-cta {
    transition: none; }
  .btn-cta::before {
    animation: none; }
  html {
    scroll-behavior: auto; }
  .hero-epigraph, .hero h1, .hero-teaching {
    opacity: 1;
    transform: none;
    animation: none; }
  .reveal-line {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none; } }
