:root {
  --paper: #fff8f1;
  --cream: #f7eadc;
  --sage: #7a8d74;
  --sage-dark: #566b55;
  --coral: #e96f4f;
  --coral-dark: #c9573c;
  --sun: #f3b65d;
  --ink: #303236;
  --muted: #666b68;
  --line: rgba(48, 50, 54, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(70, 78, 62, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.walking-footprints {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
}

.walking-footprints__step {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(100px, 9vw, 150px);
  opacity: 0;
  filter: saturate(1.55) contrast(1.12) drop-shadow(0 18px 28px rgba(86, 107, 85, 0.28));
  transform-origin: center;
  transition: opacity 0.32s ease, transform 0.32s ease;
  will-change: opacity, transform;
}

.walking-footprints__step--right {
  margin-left: 48px;
  --foot-tilt: -4deg;
}

.walking-footprints__step--left {
  margin-left: -136px;
  --foot-tilt: 4deg;
}

.walking-footprints__step--down {
  --toe-scale-y: -1;
}

.walking-footprints__step--up {
  --toe-scale-y: 1;
}

.walking-footprints__step.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) rotate(var(--foot-tilt)) scaleY(var(--toe-scale-y)) scale(1);
}

.walking-footprints__step.is-hidden {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) rotate(var(--foot-tilt)) scaleY(var(--toe-scale-y)) scale(0.86);
}

.site-header,
.page-search-status,
.footer {
  position: relative;
  z-index: 1;
}

.festival-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.festival-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.festival-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 50, 54, 0.62);
  backdrop-filter: blur(6px);
}

.festival-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 540px) minmax(220px, 320px);
  width: min(980px, 100%);
  max-height: min(94vh, 880px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.festival-popup__dialog img {
  width: 100%;
  height: 100%;
  max-height: min(94vh, 880px);
  object-fit: contain;
  background: var(--white);
}

.festival-popup__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
}

.festival-popup__content h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

.festival-popup__content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.festival-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 241, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: clamp(180px, 18vw, 270px);
  height: auto;
  object-fit: contain;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--coral);
}

.nav-dropdown {
  position: relative;
  padding-block: 12px;
  margin-block: -12px;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
}

.iz-i {
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0;
}

.iz-z {
  color: var(--sage);
  font-weight: 900;
  letter-spacing: 0;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown::after {
  position: absolute;
  right: -12px;
  bottom: -12px;
  left: -12px;
  height: 18px;
  content: "";
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--sage-dark);
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: var(--white);
  color: var(--coral);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 8px;
}

.header-search input {
  width: min(17vw, 210px);
  min-width: 135px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.header-action {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.header-action,
.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(233, 111, 79, 0.26);
}

.mobile-menu-toggle {
  display: none;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--sage);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(86, 107, 85, 0.22);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-menu[hidden],
.page-search-status[hidden] {
  display: none !important;
}

.mobile-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(48, 50, 54, 0.35);
  cursor: pointer;
}

.mobile-menu__panel {
  position: relative;
  width: min(82vw, 340px);
  height: 100%;
  overflow-y: auto;
  padding-bottom: 28px;
  background: var(--sage);
  color: var(--white);
  box-shadow: 22px 0 70px rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

.mobile-menu.is-visible .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 24px;
  font-weight: 900;
}

.mobile-menu__top button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.mobile-menu a,
.mobile-menu summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 22px;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

.mobile-menu__panel > a,
.mobile-menu__panel > details > summary {
  text-transform: uppercase;
}

.mobile-menu summary {
  cursor: pointer;
}

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

.mobile-menu summary::after {
  content: "›";
  color: rgba(255, 255, 255, 0.75);
  font-size: 34px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.mobile-menu details[open] summary::after {
  transform: rotate(90deg);
}

.mobile-menu details a {
  min-height: 46px;
  padding-left: 38px;
  background: rgba(255, 248, 241, 0.1);
  font-size: 16px;
  font-weight: 700;
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sage-dark);
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.page-search-status {
  position: sticky;
  top: 143px;
  z-index: 9;
  display: none;
  gap: 8px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 241, 0.96);
  box-shadow: 0 16px 40px rgba(70, 78, 62, 0.1);
}

.page-search-status.is-visible {
  display: flex;
}

.page-search-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.page-search-status button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--sage-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.page-search-hit {
  border-radius: 4px;
  background: rgba(243, 182, 93, 0.55);
  color: inherit;
  padding: 0 2px;
}

.page-search-hit.is-current {
  background: var(--coral);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100vh - 97px);
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px) 34px;
  overflow: hidden;
}

.enrollment-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px) 0;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(233, 111, 79, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(122, 141, 116, 0.22), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(233, 111, 79, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #fff2e8);
  box-shadow: var(--shadow);
}

.enrollment-visual h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 72px);
}

.enrollment-visual p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.enrollment-badge {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  border: 2px dashed rgba(122, 141, 116, 0.5);
  border-radius: 50%;
  background: var(--paper);
  text-align: center;
}

.enrollment-badge span {
  color: var(--coral);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.enrollment-badge strong {
  color: var(--sage-dark);
  font-size: 26px;
}

.enrollment-badge em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.hero-text {
  max-width: 580px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  margin-bottom: 58px;
  border: 10px solid rgba(233, 111, 79, 0.16);
  border-radius: 42% 58% 46% 54% / 54% 42% 58% 46%;
  background: var(--cream);
  box-shadow: var(--shadow);
  overflow: visible;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: inherit;
}

.hero-note {
  position: absolute;
  right: 50%;
  bottom: -48px;
  z-index: 3;
  display: grid;
  gap: 4px;
  width: min(285px, calc(100% - 48px));
  padding: 20px 22px;
  border: 2px solid rgba(233, 111, 79, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(48, 50, 54, 0.26);
  outline: 6px solid rgba(255, 248, 241, 0.7);
  text-align: center;
  transform: translateX(50%);
}

.hero-note strong {
  color: var(--coral);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.hero-note span {
  color: var(--sage-dark);
  font-size: 17px;
  font-weight: 900;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.intro-strip div {
  display: grid;
  gap: 6px;
  padding: 26px;
  background: var(--white);
}

.intro-strip strong {
  color: var(--sage-dark);
  font-size: 20px;
}

.intro-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.two-column,
.summer-section,
.career-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section-copy,
.contact-section p,
.summer-card p,
.career-section p,
.vision-card p {
  color: var(--muted);
  font-size: 19px;
}

.founder-section {
  padding-top: clamp(58px, 7vw, 92px);
}

.founder-card {
  max-width: 980px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.founder-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.founder-signature {
  margin: 26px 0 0;
  color: var(--sage-dark);
  font-size: 22px;
  font-weight: 900;
}

.founder-signature span {
  color: var(--coral);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-section,
.why-section {
  background: var(--cream);
}

.education-grid,
.why-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.education-card,
.why-grid article,
.project-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(58, 66, 56, 0.08);
  scroll-margin-top: 130px;
}

.education-card.wide {
  grid-column: span 2;
}

.education-card p {
  color: var(--muted);
}

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

.education-card .eyebrow {
  margin-bottom: 10px;
  scroll-margin-top: 140px;
}

.project-mini span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-size: 25px;
}

.why-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 22px;
}

.why-grid p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-copy p {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.subsection-title {
  margin: 18px 0 20px;
  color: var(--sage-dark);
  font-size: clamp(26px, 3vw, 36px);
}

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(58, 66, 56, 0.08);
}

.age-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  background:
    linear-gradient(90deg, var(--coral) 0 6px, transparent 6px),
    radial-gradient(circle at 88% 18%, rgba(243, 182, 93, 0.18), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(122, 141, 116, 0.14), transparent 32%),
    linear-gradient(145deg, #ffffff, #fff8f1);
}

.age-card div {
  position: relative;
  z-index: 1;
}

.age-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.age-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.age-card li {
  position: relative;
  padding-left: 24px;
  color: var(--sage-dark);
  font-weight: 800;
}

.age-card li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.lessons-section {
  background: var(--white);
}

.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.news-feature img {
  width: 100%;
  max-height: 680px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.news-feature h3 {
  font-size: clamp(30px, 4vw, 52px);
}

.news-feature p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.protocol-news {
  background:
    radial-gradient(circle at 88% 16%, rgba(122, 141, 116, 0.18), transparent 30%),
    var(--paper);
}

.protocol-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.protocol-thumbs img {
  width: 100%;
  height: clamp(220px, 24vw, 320px);
  border-radius: 8px;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(58, 66, 56, 0.12);
}

.image-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.image-zoom-trigger:focus-visible {
  outline: 3px solid rgba(233, 111, 79, 0.5);
  outline-offset: 3px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(48, 50, 54, 0.76);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 92vh;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
}

.image-lightbox__dialog img {
  width: 100%;
  max-height: calc(92vh - 24px);
  border-radius: 6px;
  object-fit: contain;
}

.image-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lesson-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(58, 66, 56, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lesson-item:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 111, 79, 0.38);
}

.lesson-item span {
  font-size: 28px;
  line-height: 1;
}

.lesson-item small {
  display: inline-block;
  margin-left: 2px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summer-section {
  background: var(--cream);
}

.projects-section {
  background: var(--white);
}

.agreements-section {
  background: var(--white);
}

.agreement-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(122, 141, 116, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(122, 141, 116, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #fff8f1);
  box-shadow: var(--shadow);
}

.agreement-card > img {
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.agreement-card h3 {
  font-size: clamp(28px, 3.5vw, 44px);
}

.agreement-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.project-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-card span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-size: 28px;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-photo,
.gallery-placeholder {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(58, 66, 56, 0.08);
}

.gallery-photo.large {
  grid-row: span 2;
  min-height: 456px;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-photo figcaption,
.gallery-placeholder span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.92);
  color: var(--sage-dark);
  font-weight: 900;
}

.gallery-placeholder {
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 111, 79, 0.18), transparent 32%),
    radial-gradient(circle at 18% 82%, rgba(122, 141, 116, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #fff8f1);
}

.instagram-section {
  background: var(--white);
}

.instagram-panel {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(233, 111, 79, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(191, 64, 159, 0.1), transparent 28%),
    radial-gradient(circle at 14% 88%, rgba(233, 111, 79, 0.14), transparent 34%),
    var(--paper);
  box-shadow: var(--shadow);
}

.instagram-copy strong,
.instagram-handle {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
}

.instagram-handle:hover,
.instagram-handle:focus-visible {
  color: var(--coral-dark);
  text-decoration: underline;
}

.instagram-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.instagram-qr-large {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.instagram-qr-large img {
  width: 210px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.instagram-qr-large span {
  color: var(--sage-dark);
  font-weight: 900;
}

.social-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.social-gallery article {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(58, 66, 56, 0.08);
}

.social-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.social-gallery strong,
.social-gallery > article > span {
  position: absolute;
  left: 16px;
  max-width: calc(100% - 32px);
}

.social-gallery strong {
  bottom: 48px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.94);
  color: var(--sage-dark);
  font-size: 20px;
}

.social-gallery > article > span {
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.social-event-card {
  display: grid;
  align-items: end;
  padding: 22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(122, 141, 116, 0.3), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(233, 111, 79, 0.28), transparent 34%),
    linear-gradient(135deg, #fff8f1, #ffffff);
}

.social-event-card div {
  position: static;
  display: grid;
  gap: 10px;
}

.social-event-card div span,
.social-event-card div strong {
  position: static;
  max-width: none;
  padding: 0;
  background: transparent;
  text-shadow: none;
}

.social-event-card div span {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-event-card div strong {
  color: var(--sage-dark);
  font-size: 28px;
  line-height: 1.08;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 18%, rgba(122, 141, 116, 0.18), transparent 30%),
    radial-gradient(circle at 16% 70%, rgba(233, 111, 79, 0.15), transparent 34%),
    var(--paper);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 6vw, 76px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.lesson-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 36px;
}

.lesson-detail-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(58, 66, 56, 0.08);
  scroll-margin-top: 110px;
}

.lesson-detail-card span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-size: 28px;
}

.lesson-detail-card h2 {
  font-size: 30px;
}

.lesson-detail-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.summer-card,
.vision-card,
.career-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.summer-card {
  padding: 28px;
}

.summer-card strong {
  color: var(--sage-dark);
  font-size: 22px;
}

.vision-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vision-card {
  padding: clamp(26px, 4vw, 40px);
}

.vision-card h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.quote-band {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 8vw, 110px);
  background: var(--sage-dark);
  color: var(--white);
  text-align: center;
}

.quote-band p {
  max-width: 920px;
  margin: 0 auto 12px;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.12;
}

.quote-band span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.career-section {
  background: var(--cream);
}

.career-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.career-form label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-weight: 900;
}

.career-form input,
.career-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.career-form textarea {
  resize: vertical;
}

.contact-section {
  grid-template-columns: 1fr minmax(320px, 470px);
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
}

.contact-channels a {
  display: grid;
  gap: 4px;
  min-height: 96px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(58, 66, 56, 0.07);
  scroll-margin-top: 130px;
}

.contact-channels span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-channels strong {
  color: var(--sage-dark);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.contact-channels a:hover,
.contact-channels a:focus-visible {
  border-color: rgba(233, 111, 79, 0.42);
  transform: translateY(-2px);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.map-card {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 28px;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-title {
  justify-self: center;
  min-width: min(100%, 260px);
  margin: 2px 0 -2px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--sage-dark);
  font-size: 22px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(58, 66, 56, 0.08);
}

.map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-row {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: 8px;
  background: var(--paper);
}

.instagram-row {
  background:
    linear-gradient(135deg, rgba(233, 111, 79, 0.13), rgba(191, 64, 159, 0.1)),
    var(--paper);
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-row strong {
  font-size: 20px;
}

.instagram-qr {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(233, 111, 79, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8f1, #ffffff);
}

.instagram-qr img {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.instagram-qr span {
  display: block;
  margin-bottom: 4px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instagram-qr strong {
  color: var(--sage-dark);
  font-size: 20px;
  line-height: 1.2;
}

.full {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.footer a {
  color: var(--coral);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 16px;
  }

  .brand-logo {
    width: 210px;
  }

  .header-search {
    min-width: 190px;
  }

  .header-search input {
    width: 140px;
    min-width: 120px;
  }

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

  .lesson-grid,
  .education-grid,
  .why-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-card.wide {
    grid-column: span 2;
  }

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

@media (max-width: 920px) {
  .site-header {
    align-items: center;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand-logo {
    width: 190px;
  }

  .page-search-status {
    top: 107px;
  }

  .header-search {
    margin-left: auto;
    min-width: 0;
  }

  .header-search input {
    width: min(30vw, 180px);
  }

  .hero,
  .enrollment-visual,
  .two-column,
  .summer-section,
  .vision-section,
  .career-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .enrollment-badge {
    width: min(100%, 320px);
    min-height: 220px;
  }

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

  .instagram-panel,
  .social-gallery {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .gallery-photo.large {
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
  }

  .festival-popup__dialog {
    grid-template-columns: 1fr;
    max-height: 96vh;
    overflow: auto;
  }

  .festival-popup__dialog img {
    max-height: 72vh;
    object-fit: contain;
  }

  .brand-logo {
    width: 154px;
    height: auto;
  }

  .header-action {
    min-height: 40px;
    padding: 0 16px;
  }

  .header-search {
    order: 3;
    width: 100%;
    gap: 6px;
  }

  .header-search input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mobile-menu-toggle {
    min-height: 40px;
    margin-left: auto;
    padding: 0 14px;
  }

  .walking-footprints__step {
    width: 96px;
  }

  .walking-footprints__step--right {
    margin-left: 32px;
  }

  .walking-footprints__step--left {
    margin-left: -96px;
  }

  .page-search-status {
    top: 103px;
    padding: 12px 16px;
  }

  .page-search-status {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-media,
  .hero-media img {
    min-height: 350px;
  }

  .hero-note {
    right: 50%;
    bottom: -44px;
    width: auto;
    padding: 17px 18px;
  }

  .button,
  .program-grid,
  .lesson-grid {
    width: 100%;
  }

  .program-grid,
  .lesson-grid,
  .education-grid,
  .why-grid,
  .project-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .education-card.wide {
    grid-column: auto;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .agreement-card {
    grid-template-columns: 1fr;
  }

  .protocol-thumbs {
    grid-template-columns: 1fr;
  }

  .protocol-thumbs img {
    height: 260px;
  }

  .enrollment-visual {
    margin-inline: 16px;
  }

  .enrollment-badge {
    border-radius: 8px;
  }

  .intro-strip {
    margin-inline: 16px;
  }

  .lesson-item p {
    margin-left: 20px;
  }

  .lesson-detail-grid {
    grid-template-columns: 1fr;
  }

  .instagram-qr {
    grid-template-columns: 1fr;
  }

  .instagram-qr img {
    width: min(100%, 240px);
  }

  .map-actions {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
