/* ==========================================================================
   Mokusai Dojo — Design System
   ========================================================================== */

:root {
  /* Brand colors, sampled from the dojo's own visual identity */
  --forest-900: #172f24;
  --forest-800: #1f4031;
  --forest-700: #274d3c;
  --jade-500: #2ca77b;
  --jade-400: #4dbb92;
  --jade-700: #1e7456; /* AA-safe jade for text on light backgrounds */
  --jade-800: #1a6449;
  --jade-100: #e3f3ec;
  --seal-700: #8a2418;
  --cream-100: #faf8f2;
  --cream-200: #f7f4ea;
  --cream-300: #f0ead9;
  --ink-900: #1c2622;
  --ink-700: #3c4a44;
  --ink-500: #647169;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container-w: 1240px;
  --space-section: clamp(4.5rem, 3.6rem + 4vw, 8rem);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 60px -25px rgba(23, 47, 36, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(23, 47, 36, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
  --header-h: 84px;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-900);
  background: var(--cream-200);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--forest-800); }
p { max-width: 62ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 1000;
  background: var(--forest-800);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--jade-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------- Layout --------------------------------- */
.container {
  width: min(100% - 2.8rem, var(--container-w));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section--muted { background: var(--cream-300); }
.section--dark {
  background: var(--forest-800);
  color: rgba(255,255,255,0.88);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.78); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section__head--left { margin-bottom: 1.5rem; }
.section__lead { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-700); }
.section--dark .section__lead { color: rgba(255,255,255,0.75); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jade-700);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--jade-400); }

h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }

.kanji-accent {
  display: block;
  margin: 1.8rem auto 0;
  height: clamp(140px, 10vw + 90px, 220px);
  width: auto;
  opacity: 0.85;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--forest-800);
  border-left: 2px solid var(--jade-500);
  padding-left: 1.2rem;
  margin-top: 1.6rem;
}
.section--dark .pull-quote { color: var(--white); }

/* --------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 2rem; font-size: 0.98rem; }
.btn--block { width: 100%; }

.btn--accent {
  background: var(--jade-700);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn--accent:hover { background: var(--jade-800); }

.btn--ghost {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

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

.btn--whatsapp {
  background: var(--forest-800);
  color: var(--white);
  margin-top: 2rem;
}
.btn--whatsapp svg { width: 20px; height: 20px; }
.btn--whatsapp:hover { background: var(--forest-700); }

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--cream-100);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  box-shadow: 0 10px 30px -18px rgba(23,47,36,0.35);
}
.site-header.is-scrolled { height: 68px; }
.site-header.is-scrolled::before { opacity: 1; }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; z-index: 2; }
.brand__mark { border-radius: 50%; }
.brand__word { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jade-400);
}
.site-header.is-scrolled .brand__name { color: var(--forest-800); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 1vw + 0.5rem, 2.1rem);
}
.main-nav__list { display: flex; align-items: center; gap: clamp(1.2rem, 1vw + 0.5rem, 2.1rem); }
.main-nav__link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.88);
  transition: color 0.4s var(--ease);
  padding-block: 0.3rem;
}
.main-nav__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--jade-400);
  transition: right 0.3s var(--ease);
}
.main-nav__link:hover::after,
.main-nav__link.is-active::after { right: 0; }
.main-nav__link.is-active { color: var(--jade-400); }
.site-header.is-scrolled .main-nav__link { color: var(--ink-700); }
.site-header.is-scrolled .main-nav__link.is-active { color: var(--jade-700); }

.main-nav__cta { font-size: 0.82rem; padding: 0.7rem 1.4rem; }

.nav-toggle {
  display: none;
  z-index: 2;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle__box { width: 22px; height: 14px; position: relative; }
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle__bar { top: 50%; transform: translateY(-50%); }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.site-header.is-scrolled .nav-toggle__bar,
.site-header.is-scrolled .nav-toggle__bar::before,
.site-header.is-scrolled .nav-toggle__bar::after { background: var(--forest-800); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); background: var(--forest-800); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); background: var(--forest-800); }

/* -------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 20, 16, 0.92) 0%, rgba(11, 20, 16, 0.55) 45%, rgba(11, 20, 16, 0.35) 100%);
}
.hero__content {
  position: relative;
  padding-bottom: clamp(4rem, 3rem + 5vw, 7rem);
  padding-top: calc(var(--header-h) + 2rem);
  max-width: 46rem;
}
.hero__mark { margin-bottom: 1.6rem; opacity: 0.95; }
.hero__title {
  font-size: clamp(2.4rem, 1.9rem + 2.4vw, 4.2rem);
  color: var(--white);
  font-weight: 500;
}
.hero__title em { font-style: italic; color: var(--jade-400); }
.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 42rem;
}
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll-cue {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 20px;
}
.hero__scroll-cue span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue span { animation: none; }
}

/* ---------------------------- Reveal on scroll ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------- About grid -------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  grid-template-columns: 1fr;
}
.about-grid__text p { margin-bottom: 1.2rem; color: var(--ink-700); }
.check-list { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-700);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--jade-100);
  border: 1.5px solid var(--jade-700);
}
.about-grid__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: start;
}
.about-grid__media figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.about-grid__media img { width: 100%; height: 100%; object-fit: cover; }
.about-grid__media-wide { grid-column: 1 / -1; }
.about-grid__media-wide img { max-height: 420px; }

/* --------------------------------- Split ----------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 2vw, 4.5rem);
  align-items: center;
}
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p:not(.pull-quote) { color: var(--ink-700); margin-bottom: 1.1rem; }

/* ------------------------------ Benefits grid ------------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.benefit-card {
  padding: 1.8rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px -20px rgba(23,47,36,0.3); }
.benefit-card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--jade-100);
  color: var(--jade-700);
  margin-bottom: 1rem;
}
.benefit-card__icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.benefit-card p { font-size: 0.9rem; color: var(--ink-500); margin: 0; }

/* ------------------------------- Pillars grid ------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar-card {
  background: var(--forest-800);
  padding: 2.2rem 1.9rem;
}
.pillar-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--jade-400);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.pillar-card h3 { margin-bottom: 0.25rem; }
.pillar-card__subtitle {
  font-size: 0.82rem;
  color: var(--jade-400);
  margin-bottom: 0.8rem;
  font-style: italic;
  font-family: var(--font-display);
}
.pillar-card p:last-child { font-size: 0.92rem; color: rgba(255,255,255,0.72); }

.methodology-note {
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--jade-100);
  text-align: center;
}

.strip-media {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.strip-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
}

/* --------------------------------- Gallery ---------------------------------- */
.gallery {
  columns: 2;
  column-gap: 0.9rem;
}
.gallery__item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.gallery__item img {
  width: 100%; height: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,47,36,0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 18, 14, 0.94);
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: min(92vw, 1100px); max-height: 86vh; text-align: center; }
.lightbox__figure img {
  max-width: 100%; max-height: 78vh;
  width: auto; margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.lightbox__figure figcaption {
  color: rgba(255,255,255,0.75);
  margin-top: 1rem;
  font-size: 0.9rem;
}
.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.12); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.12); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }

/* -------------------------------- Instructors -------------------------------- */
.instructors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.instructor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.instructor-card--main { display: grid; grid-template-columns: 1fr; }
.instructor-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.instructor-card__body { padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.8rem); }
.instructor-card__role {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade-700);
  margin-bottom: 1rem;
}
.instructor-card__body p:not(.instructor-card__role) { color: var(--ink-700); margin-bottom: 1rem; }
.instructor-card__inline-media {
  margin-top: 1.4rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.instructor-card__inline-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.instructor-card__inline-media figcaption {
  padding: 0.7rem 0.2rem 0;
  font-size: 0.82rem;
  color: var(--ink-500);
  font-style: italic;
}

/* --------------------------------- Schedule --------------------------------- */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.schedule-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--jade-500);
}
.schedule-card--highlight { background: var(--forest-800); border-top-color: var(--jade-400); }
.schedule-card--highlight h3, .schedule-card--highlight p { color: var(--white); }
.schedule-card--highlight .schedule-card__age { color: var(--jade-400); }
.schedule-card--highlight p:last-child { color: rgba(255,255,255,0.75); }
.schedule-card__age {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade-700);
  margin-bottom: 0.6rem;
}
.schedule-card h3 { margin-bottom: 0.6rem; }
.schedule-card__time { font-weight: 500; margin-bottom: 0.9rem; color: var(--ink-900); }
.schedule-card p:last-child { color: var(--ink-500); font-size: 0.94rem; }

.schedule-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ink-500);
  text-align: center;
}

/* ----------------------------------- CTA ------------------------------------ */
.section--cta {
  background: var(--forest-900);
  color: var(--white);
  background-image: radial-gradient(circle at 15% 15%, rgba(44,167,123,0.16), transparent 45%);
}
.section--cta h2 { color: var(--white); }
.section--cta p { color: rgba(255,255,255,0.78); }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 2rem + 2vw, 5rem);
  align-items: start;
}
.cta-list { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.cta-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
}
.cta-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px;
  background: var(--jade-400);
  border-radius: 50%;
}

.cta-grid__form {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.2rem;
}
.form-field { display: grid; gap: 0.5rem; }
.form-field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-700);
  font-weight: 500;
}
.form-field input, .form-field textarea {
  border: 1px solid rgba(28,38,34,0.18);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--jade-500);
  box-shadow: 0 0 0 3px var(--jade-100);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.85rem; min-height: 1.2em; color: var(--jade-700); }
.form-note.is-error { color: var(--seal-700); }

/* -------------------------------- Location ----------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.location-grid__info { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.location-grid__info address {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.8;
}
.location-grid__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: clamp(320px, 80vw, 460px);
}
.location-grid__map iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------- Footer ------------------------------------ */
.site-footer { background: var(--forest-900); color: rgba(255,255,255,0.7); padding-top: clamp(3rem, 2.5rem + 2vw, 5rem); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.site-footer__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); }
.site-footer__tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jade-400); }
.site-footer__col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.site-footer__col p { margin-bottom: 0.5rem; font-size: 0.92rem; }
.site-footer__col a:hover { color: var(--jade-400); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  padding-block: 1.6rem 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ================================ Breakpoints ================================ */
@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 3; }
}

@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    height: 100dvh;
    background: var(--cream-100);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2.4rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: flex-start; gap: 1.3rem; width: 100%; }
  .main-nav__link { color: var(--ink-900); font-size: 1.15rem; }
  .main-nav__link.is-active { color: var(--jade-700); }
  .main-nav__cta { margin-top: 1.4rem; width: 100%; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 900px) {
  h3 { font-size: 1.5rem; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .split { grid-template-columns: 1fr 1fr; }
  .instructors { grid-template-columns: 1fr 1fr; align-items: start; }
  .instructor-card--main { grid-template-columns: 0.85fr 1fr; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
  .location-grid__info { justify-content: center; }
  .location-grid__map { height: auto; min-height: 520px; }
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .benefits-grid { grid-template-columns: repeat(5, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 4; }
}

@media (min-width: 1700px) {
  :root { --container-w: 1440px; }
  .gallery { columns: 5; }
}

/* Print: keep it simple and readable */
@media print {
  .site-header, .nav-toggle, .lightbox, .hero__scroll-cue, form { display: none !important; }
  .section--dark, .section--cta { background: none !important; color: #000 !important; }
  a { text-decoration: underline; }
}
