@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; }

.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: 1.2rem;
  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: ""; }

/* ========================================
   VIDEOS - extra styles for front page only
   ======================================== */
.videobox {
  border-radius: var(--radius-lg); }

/* ========================================
   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; }

/* ========================================
   TEACHER — horizontal split with photo (lines 74-75)
   ======================================== */
.teacher {
  padding: 100px 32px;
  background: var(--neutral-grey); }

.teacher-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "video1 bio" "video2 bio";
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto; }

.teacher-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg); }

.teacher-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-area: bio; }

.teacher-content p {
  color: var(--muted); }

.teacher-video {
  display: flex;
  flex-direction: column;
  align-items: center; }

.teacher-video a {
  color: var(--muted);
  font-size: 1.2em;
  text-decoration: underline;
  cursor: pointer; }

.teacher-playlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--muted);
  padding-top: 100px; }

/* ========================================
   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;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "bio" "video1" "video2";
    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; } }

/* Teaching video at the foot of the Training section */
.training-teaching {
  max-width: 820px;
  margin: clamp(56px, 7vw, 92px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center; }

.training-teaching-label {
  font-family: var(--bodyfont);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-secondary); }

.training-teaching .videobox {
  width: 100%;
  border-radius: var(--radius-lg); }

.training-teaching-caption {
  font-family: var(--bodyfont);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0; }

/* Testimonials — "In Their Words" rotator + mosaic (after Cost) */
/* ========================================
   TESTIMONIALS — "In Their Words"
   Rotator for longer reflections + mosaic of shorter voices.
   Sits between the white Cost section and the dark final CTA, on a
   warm grey ground for a quiet tonal step. Tokens from home-cohort.scss.
   ======================================== */
.voices {
  background: var(--neutral-grey);
  padding: clamp(72px, 9vw, 116px) 24px;
  --voice-bg: var(--neutral-grey); }

.voices-inner {
  max-width: var(--max-width);
  margin: 0 auto; }

/* --- Header --- */
.voices-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px; }

.voices-header h2 {
  color: var(--accent);
  margin: 0; }

.voices-subhead {
  font-family: var(--bodyfont);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  margin: 0; }

/* --- Shared quote styling --- */
.voice-body {
  position: relative;
  margin: 0;
  padding-top: 0.4em;
  /* Own the quotation styling; drop the global blockquote side-stripe + indent */
  font-style: italic;
  border-left: none;
  padding-left: 0; }

/* Oversized opening quotation mark */
.voice-body::before {
  content: "\201C";
  position: absolute;
  top: -0.32em;
  left: -0.06em;
  font-family: var(--headerfont);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.22;
  pointer-events: none; }

.voice-quote p {
  /* Trailing emoji fallbacks so glyphs like ❤️ render in color on any OS,
     since the serif body font carries no emoji. */
  font-family: var(--bodyfont), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color: var(--off-black);
  margin: 0 0 0.9em; }

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

.voice-name {
  margin-top: 1.4em;
  font-family: var(--bodyfont);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); }

.voice-name::before {
  content: "\2014\00a0";
  /* em dash + nbsp */
  color: var(--primary); }

/* --- Clamp + Read more --- */
.voice-body.is-clampable .voice-quote {
  position: relative;
  overflow: hidden; }

.voice-body.is-clampable .voice-quote::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--voice-bg));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1); }

.voice-body.is-clampable.is-open .voice-quote::after {
  opacity: 0; }

.voice-more {
  margin-top: 0.9em;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--bodyfont);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(70, 72, 36, 0.5);
  transition: color 0.2s; }

.voice-more:hover {
  color: var(--primary-dark);
  text-decoration-color: currentColor; }

/* ========================================
   ROTATOR — one longer reflection at a time
   ======================================== */
.voices-rotator {
  max-width: 760px;
  margin: 0 auto; }

.voices-viewport {
  /* Top-align so a short slide sits right under the header instead of being
     vertically centered in the min-height box. min-height still damps the
     height jump between slides. */
  min-height: clamp(240px, 30vh, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; }

.voice {
  margin: 0; }

.voice[hidden] {
  display: none; }

.voices-rotator .voice-quote p {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.7; }

.voices-rotator .voice-body.is-clampable:not(.is-open) .voice-quote {
  max-height: 16em; }

.voice.is-active {
  animation: voice-fade 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

@keyframes voice-fade {
  from {
    opacity: 0;
    transform: translateY(10px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

/* --- Controls --- */
.voices-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(28px, 4vw, 44px); }

.voices-arrow {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bodyfont);
  font-size: 1.7rem;
  line-height: 1;
  padding-bottom: 0.12em;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--alt);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }

.voices-arrow:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px); }

.voices-dots {
  display: flex;
  align-items: center;
  gap: 11px; }

.voices-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s; }

.voices-dot:hover {
  background: rgba(144, 145, 103, 0.4); }

.voices-dot.is-current {
  background: var(--primary);
  transform: scale(1.25); }

/* ========================================
   MOSAIC — shorter voices, grouped
   ======================================== */
.voices-more {
  margin-top: clamp(60px, 8vw, 100px); }

.voices-more-label {
  text-align: center;
  margin: 0 0 clamp(32px, 4vw, 48px);
  font-family: var(--bodyfont);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted); }

/* Hairline rules flanking the label */
.voices-more-label span {
  display: inline-flex;
  align-items: center;
  gap: 18px; }

.voices-more-label span::before,
.voices-more-label span::after {
  content: "";
  width: clamp(28px, 6vw, 56px);
  height: 1px;
  background: var(--alt); }

.voices-mosaic {
  /* Two wider columns keep the reading measure comfortable (~50ch); three
     narrow columns chopped long testimonials into unreadable ~38ch lines. */
  columns: 2 340px;
  column-gap: 32px; }

.voice-card {
  break-inside: avoid;
  margin: 0 0 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 38px);
  --voice-bg: var(--white); }

.voice-card .voice-quote p {
  font-size: 1.12rem;
  line-height: 1.65; }

.voice-card .voice-body::before {
  font-size: 3.4rem;
  top: -0.28em; }

.voice-card .voice-body.is-clampable:not(.is-open) .voice-quote {
  max-height: 13em; }

.voice-card .voice-name {
  margin-top: 1.2em;
  font-size: 0.82rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
  .voices-mosaic {
    columns: 1; }
  .voices-rotator .voice-quote p {
    font-size: 1.2rem; } }

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .voice.is-active {
    animation: none; }
  .voices-arrow,
  .voices-dot,
  .voice-more {
    transition: none; }
  .voice-body.is-clampable .voice-quote::after {
    transition: none; } }

/* Community — "A life lived together" (before Testimonials) */
/* ========================================
   COMMUNITY — "A life lived together"
   Dark, immersive section between Cost (white) and Testimonials (grey):
   real photography of shared monastic life + a row of daily-life clips.
   Tokens from home-cohort.scss.
   ======================================== */
.community {
  padding: clamp(80px, 10vw, 130px) 24px; }

.community-inner {
  max-width: var(--max-width);
  margin: 0 auto; }

/* --- Header --- */
.community-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 16px; }

.community-eyebrow {
  font-family: var(--bodyfont);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary); }

.community h2 {
  color: var(--white);
  margin: 0; }

.community-lede {
  font-family: var(--bodyfont);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0; }

/* --- Photo gallery: asymmetric collage --- */
.community-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 20vw, 210px);
  gap: 16px; }

.community-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 0; }

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

.community-photo:hover img {
  transform: scale(1.045); }

.community-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 18px 14px;
  font-family: var(--bodyfont);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(to bottom, transparent, rgba(15, 16, 8, 0.72)); }

.community-photo-lead {
  grid-column: span 2;
  grid-row: span 2; }

.community-photo-wide {
  grid-column: span 2; }

/* --- Member word --- */
.community-quote {
  max-width: 680px;
  margin: clamp(52px, 7vw, 88px) auto;
  text-align: center;
  /* own the styling; drop the global blockquote side-stripe + indent */
  border-left: none;
  padding-left: 0; }

.community-quote p {
  font-family: var(--bodyfont);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--white);
  margin: 0; }

.community-quote cite {
  display: block;
  margin-top: 1.1em;
  font-style: normal;
  font-family: var(--bodyfont);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary); }

.community-quote cite::before {
  content: "\2014\00a0"; }

/* --- Daily-life clips row --- */
.community-clips-label {
  text-align: center;
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-family: var(--bodyfont);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); }

.community-clips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 880px;
  margin: 0 auto; }

.community-clip {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; }

/* Override .videobox defaults (built for one centered 480px+ video) so the
   vertical clips fill their grid cells. */
.community-clip .videobox {
  width: 100%;
  min-width: 0;
  max-width: none;
  border-radius: var(--radius-md); }

.community-clip figcaption {
  text-align: center;
  font-family: var(--bodyfont);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 860px) {
  .community-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(150px, 30vw, 200px); }
  .community-photo-lead,
  .community-photo-wide {
    grid-column: span 2; }
  .community-photo-lead {
    grid-row: auto; }
  .community-clips-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 460px; } }

@media (max-width: 480px) {
  .community-gallery {
    grid-template-columns: 1fr; }
  .community-photo-lead,
  .community-photo-wide {
    grid-column: span 1; } }

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .community-photo img,
  .community-photo:hover img {
    transition: none;
    transform: none; } }
