/* Mam Aarogyam — premium refinement: depth, motion, typography */

:root {
  --color-forest: #1a4334;
  --color-forest-deep: #0c241c;
  --color-forest-soft: #2a5c47;
  --color-terracotta: #7a3d15;
  --color-terracotta-light: #9d5220;
  --color-gold: #b8922e;
  --color-gold-soft: #dcc060;
  --color-orange: #c96a28;
  --color-cream: #f9f5ec;
  --color-cream-dark: #e8e0d0;
  --color-ivory: #fffefb;
  --color-text: #1f1a14;
  --color-text-muted: #5a5248;
  --color-lotus: #b87a8f;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-dev: "Noto Sans Devanagari", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(12, 36, 28, 0.04);
  --shadow-soft: 0 8px 32px rgba(12, 36, 28, 0.07);
  --shadow-elevated: 0 16px 48px rgba(12, 36, 28, 0.1), 0 4px 16px rgba(12, 36, 28, 0.06);
  --shadow-glow: 0 0 0 1px rgba(184, 146, 46, 0.12);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 76px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: var(--color-text);
  background-color: var(--color-cream);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(255, 254, 251, 0.9), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(184, 146, 46, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(26, 67, 52, 0.04), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(26, 67, 52, 0.14);
  color: var(--color-forest-deep);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-forest);
  color: #fff;
  z-index: 1000;
  border-radius: 4px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

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

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

.container.narrow {
  width: min(680px, 90vw);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 245, 236, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(26, 67, 52, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, 92vw);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 52px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(26, 67, 52, 0.06);
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.brand:hover .brand-logo {
  box-shadow: var(--shadow-elevated);
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name-dev {
  font-family: var(--font-dev);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-terracotta);
}

.brand-name-en {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-forest);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-forest);
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-forest);
  border-bottom-color: rgba(184, 146, 46, 0.65);
}

.site-nav .nav-cta {
  background: linear-gradient(145deg, var(--color-forest-soft) 0%, var(--color-forest) 55%, var(--color-forest-deep) 100%);
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 16px rgba(26, 67, 52, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: background 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: linear-gradient(145deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(26, 67, 52, 0.35);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(165deg, rgba(249, 245, 236, 0.82) 0%, rgba(232, 224, 208, 0.78) 100%),
    radial-gradient(ellipse 90% 70% at 75% 15%, rgba(220, 192, 96, 0.12), transparent 52%),
    radial-gradient(ellipse 55% 50% at 8% 88%, rgba(184, 122, 143, 0.08), transparent 48%),
    url("assets/bg-hero.png");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center 35%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(249, 245, 236, 0.65) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta-light);
  margin: 0 0 1.1rem;
  opacity: 0.92;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 3.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-forest-deep);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-terracotta);
  font-weight: 600;
}

.lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 38ch;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .lead {
    max-width: none;
    margin-inline: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--color-forest-soft) 0%, var(--color-forest) 50%, var(--color-forest-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26, 67, 52, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(145deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 36px rgba(26, 67, 52, 0.32);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 254, 251, 0.65);
  color: var(--color-forest);
  border-color: rgba(26, 67, 52, 0.22);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-forest-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-logo-wrap {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: linear-gradient(160deg, #ffffff 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated), 0 0 0 1px rgba(26, 67, 52, 0.06), 0 0 0 6px rgba(184, 146, 46, 0.06);
  position: relative;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(184, 146, 46, 0.35), transparent 40%, rgba(26, 67, 52, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-logo {
  width: min(100%, 380px);
  height: auto;
  margin-inline: auto;
}

/* Subpages (e.g. Mamarogyam program) */
.page-sub-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 3.75rem);
  overflow: hidden;
}

.page-sub-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(165deg, rgba(249, 245, 236, 0.94) 0%, rgba(232, 224, 208, 0.88) 100%),
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(184, 146, 46, 0.1), transparent 50%),
    url("assets/bg-hero.png");
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.page-sub-hero__inner {
  position: relative;
  max-width: 720px;
}

.breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-forest-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-forest);
  border-bottom-color: var(--color-gold);
}

.breadcrumb span[aria-hidden="true"] {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.page-sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--color-forest-deep);
  margin: 0 0 1rem;
}

.page-sub-hero h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.85rem 0 0;
  background: linear-gradient(90deg, rgba(184, 146, 46, 0.85), transparent);
  border-radius: 2px;
}

.page-sub-hero__lead {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.page-sub-hero__lead a {
  color: var(--color-terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.page-sub-hero__lead a:hover,
.page-sub-hero__lead a:focus-visible {
  color: var(--color-forest-deep);
}

.page-sub-hero__purpose {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-forest);
  font-weight: 500;
}

.page-sub-hero__purpose strong {
  font-weight: 700;
}

.page-sub-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding-bottom: 0.5rem;
}

.section-mamarogyam-challenge {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(180deg, rgba(249, 245, 236, 0.65) 0%, var(--color-cream) 45%, var(--color-cream-dark) 100%);
  border-bottom: 1px solid rgba(26, 67, 52, 0.08);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.challenge-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  max-width: 44rem;
  margin-inline: auto;
}

.challenge-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta-light);
  margin: 0 0 0.65rem;
}

.challenge-program-name {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.8vw, 2.05rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  line-height: 1.25;
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
}

.challenge-meaning {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--color-forest);
  margin: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 254, 251, 0.95) 0%, rgba(249, 245, 236, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 146, 46, 0.35);
  box-shadow: var(--shadow-sm);
}

.challenge-split-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.challenge-split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.challenge-split-card__media {
  position: relative;
  min-height: 240px;
  background: rgba(26, 67, 52, 0.08);
}

.challenge-split-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.challenge-split-card__body {
  padding: clamp(1.35rem, 3.5vw, 2.15rem) clamp(1.35rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.challenge-split-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.challenge-split-card__body > p {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.72;
}

.challenge-split-card__body > p:last-child {
  margin-bottom: 0;
}

.challenge-split-card__accent {
  margin-bottom: 0 !important;
  color: var(--color-forest) !important;
  font-size: 1.03rem;
}

.challenge-split-card__lead {
  margin: 0 0 0.5rem !important;
  color: var(--color-text) !important;
}

.challenge-split-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.68;
}

.challenge-split-list li {
  margin-bottom: 0.45rem;
}

.challenge-split-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .challenge-split-card {
    grid-template-columns: 1fr;
  }

  .challenge-split-card--media-end .challenge-split-card__media {
    order: -1;
  }

  .challenge-split-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

.challenge-goal--banner {
  margin: 0 !important;
  max-width: none;
  text-align: center;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 254, 251, 0.98) 0%, rgba(249, 245, 236, 0.95) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 146, 46, 0.22);
  border-left: 4px solid var(--color-gold-soft);
  box-shadow: var(--shadow-sm);
}

.challenge-prose {
  text-align: left;
  max-width: 820px;
  margin-inline: auto;
}

.challenge-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: clamp(2rem, 4vw, 2.5rem) 0 0.85rem;
  letter-spacing: -0.02em;
}

.challenge-heading.challenge-heading--section {
  margin-top: 0;
}

.challenge-prose p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.72;
}

.challenge-goal {
  font-size: 1.02rem;
  color: var(--color-forest) !important;
  padding: 1rem 1.15rem;
  background: rgba(26, 67, 52, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-gold-soft);
}

.challenge-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 1.35rem 0 1.25rem;
}

@media (max-width: 768px) {
  .challenge-framework-grid {
    grid-template-columns: 1fr;
  }
}

.challenge-framework-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}

.challenge-framework-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
  border-color: rgba(184, 146, 46, 0.28);
}

.challenge-framework-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(26, 67, 52, 0.06);
}

.challenge-framework-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-out-expo);
}

.challenge-framework-card:hover .challenge-framework-card__media img {
  transform: scale(1.04);
}

.challenge-framework-card__body {
  padding: 1.2rem 1.25rem 1.45rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.challenge-framework-card__title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.challenge-framework-card__subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-top: 0.35rem;
}

.challenge-framework-card__body p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.challenge-framework-close {
  margin-bottom: 0 !important;
}

.challenge-implementation {
  margin-top: clamp(2rem, 4vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(26, 67, 52, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .challenge-framework-card {
    transition: none;
  }

  .challenge-framework-card:hover {
    transform: none;
  }

  .challenge-framework-card:hover .challenge-framework-card__media img {
    transform: none;
  }
}

.section-mamarogyam-curriculum,
.section-tejasvi-curriculum,
.section-soul-curriculum,
.section-knowledge-categories,
.section-events-hub {
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
}

.knowledge-category-grid--three {
  max-width: 1100px;
  margin-inline: auto;
}

.knowledge-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta-light);
  margin: 0 0 0.5rem;
}

.knowledge-hero-tagline {
  max-width: 54ch;
}

.knowledge-footnote {
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Knowledge center — vertical category cards (grid) */
.knowledge-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .knowledge-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .knowledge-category-grid {
    grid-template-columns: 1fr;
  }
}

.knowledge-category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
}

.knowledge-category-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
  border-color: rgba(184, 146, 46, 0.35);
}

.knowledge-category-card:focus-visible {
  outline: 3px solid rgba(184, 146, 46, 0.55);
  outline-offset: 3px;
}

.knowledge-category-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(26, 67, 52, 0.07);
  flex-shrink: 0;
}

.knowledge-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out-expo);
}

.knowledge-category-card:hover .knowledge-category-card__media img {
  transform: scale(1.05);
}

.knowledge-category-card__body {
  padding: 1.2rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.knowledge-category-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-terracotta);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.knowledge-category-card__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--color-text-muted);
  flex: 1;
}

.knowledge-category-card__hint {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--color-gold);
  align-self: flex-start;
  transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}

.knowledge-category-card:hover .knowledge-category-card__hint {
  color: var(--color-terracotta);
  border-bottom-color: var(--color-terracotta);
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-category-card:hover {
    transform: none;
  }

  .knowledge-category-card:hover .knowledge-category-card__media img {
    transform: none;
  }
}

/* Articles listing (by category) */
.section-articles-list {
  background: var(--color-cream);
  min-height: 40vh;
}

.articles-list-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: 0 0 0.75rem;
  text-align: center;
}

.articles-list-heading::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(184, 146, 46, 0.85), transparent);
  border-radius: 2px;
}

.articles-list-intro {
  text-align: center;
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.articles-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
}

.articles-empty {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(26, 67, 52, 0.15);
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-inline: auto;
}

.articles-page-cta {
  margin-top: 2rem;
}

.program-curriculum-block--follow {
  margin-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-top: clamp(2rem, 5vw, 2.75rem);
  border-top: 1px solid rgba(26, 67, 52, 0.1);
}

.program-detail-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .program-detail-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .program-detail-card__actions .program-detail-card__cta {
    align-self: stretch;
    justify-content: center;
  }
}

/* Philosophy: Learn → Implement → Track → Improve */
.section-philosophy {
  background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-cream) 100%);
  border-bottom: 1px solid rgba(26, 67, 52, 0.07);
}

.philosophy-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  max-width: 1000px;
  margin-inline: auto;
}

.philosophy-step {
  flex: 1 1 140px;
  min-width: 130px;
  max-width: 200px;
  padding: 1.25rem 1.1rem;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
}

.philosophy-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(184, 146, 46, 0.28);
}

.philosophy-step-visual {
  width: 5.25rem;
  height: 5.25rem;
  margin: 0 auto 0.6rem;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 254, 251, 0.9) 0%, var(--color-cream) 100%);
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: 0 6px 20px rgba(26, 67, 52, 0.08), 0 0 0 1px rgba(184, 146, 46, 0.1) inset;
  transition: box-shadow 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}

.philosophy-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-out-expo);
}

.philosophy-step:hover .philosophy-step-visual {
  box-shadow: 0 10px 28px rgba(26, 67, 52, 0.12), 0 0 0 1px rgba(184, 146, 46, 0.18) inset;
}

.philosophy-step:hover .philosophy-step-visual img {
  transform: scale(1.08);
}

.philosophy-step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.philosophy-step-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.philosophy-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold);
  align-self: center;
}

@media (max-width: 720px) {
  .philosophy-arrow {
    width: 100%;
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }

  .philosophy-step {
    max-width: none;
    flex: 1 1 100%;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-forest-deep);
  margin: 0 0 1rem;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(184, 146, 46, 0.85), transparent);
  border-radius: 2px;
}

.section-kids .section-title::after {
  margin-left: 0;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, rgba(232, 192, 96, 0.55), transparent);
}

@media (max-width: 768px) {
  .section-kids .section-title::after {
    margin-left: auto;
    margin-right: auto;
  }
}

.section-intro {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 2.25rem;
  text-align: center;
  line-height: 1.75;
}

.section-intro.centered {
  max-width: 52ch;
  margin-inline: auto;
}

.section-mission {
  position: relative;
  background: var(--color-ivory);
  border-block: 1px solid rgba(26, 67, 52, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.section-mission .section-title,
.section-mission .section-intro {
  text-align: center;
}

.section-mission .section-intro {
  max-width: 56ch;
  margin-inline: auto;
}

.section-mission .mission-support {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 1.02rem;
  opacity: 0.96;
}

.section-mission .container.narrow {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.section-about {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 45%, var(--color-cream) 100%);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.about-prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: 2.35rem 0 1rem;
  text-align: left;
  letter-spacing: -0.02em;
}

.about-prose h2:first-of-type {
  margin-top: 0;
}

.about-prose h2::after {
  display: none;
}

.about-prose p {
  margin: 0 0 1.05rem;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}

.about-prose p:last-of-type {
  margin-bottom: 0;
}

.about-cta {
  margin-top: 2.25rem !important;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .about-cta {
    justify-content: center;
  }
}

.section-legal {
  background: var(--color-cream);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.legal-doc {
  text-align: left;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  margin: 0 0 2.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-ivory);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 67, 52, 0.1);
}

.legal-toc a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-forest);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--color-terracotta);
  border-bottom-color: var(--color-terracotta);
}

.legal-block {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 2.75rem);
  border-bottom: 1px solid rgba(26, 67, 52, 0.1);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--color-forest-deep);
  margin: 0 0 1rem;
  text-align: left;
}

.legal-block h2::after {
  display: none;
}

.legal-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-forest);
  margin: 1.35rem 0 0.5rem;
}

.legal-block p,
.legal-block li {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--color-text-muted);
}

.legal-block p {
  margin: 0 0 0.85rem;
}

.legal-block ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-block li {
  margin-bottom: 0.5rem;
}

.legal-block a {
  color: var(--color-forest-soft);
  font-weight: 600;
}

.legal-lead {
  font-size: 1.05rem !important;
  color: var(--color-forest-deep) !important;
  padding: 1rem 1.15rem;
  background: rgba(184, 146, 46, 0.12);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-gold);
}

.legal-meta {
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
  font-style: italic;
  margin: -0.35rem 0 1rem !important;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.pillars li {
  padding: 0;
  overflow: hidden;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.09);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
}

.pillars li:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
  border-color: rgba(184, 146, 46, 0.25);
}

.pillar-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(30, 77, 58, 0.06);
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out-expo);
}

.pillars li:hover .pillar-media img {
  transform: scale(1.05);
}

.pillar-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}

.pillars h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--color-forest);
}

.pillars p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

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

.cards-program-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 900px) {
  .cards-program-overview {
    grid-template-columns: 1fr;
  }
}

.cards-themes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.subsection-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  text-align: center;
  margin: 0 0 0.35rem;
}

.subsection-intro {
  margin-bottom: 1.5rem !important;
}

.card-body-program {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.btn-learn-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-forest);
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  align-self: flex-start;
  letter-spacing: 0.01em;
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), letter-spacing 0.35s var(--ease-out-expo);
}

.btn-learn-more:hover,
.btn-learn-more:focus-visible {
  color: var(--color-terracotta);
  border-bottom-color: var(--color-terracotta);
  letter-spacing: 0.04em;
}

/* Who this is for */
.section-audience {
  background: var(--color-ivory);
  border-block: 1px solid rgba(26, 67, 52, 0.07);
}

.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.audience-item {
  display: grid;
  grid-template-columns: minmax(108px, 34%) 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  background: linear-gradient(165deg, rgba(255, 254, 251, 0.95) 0%, var(--color-cream) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.09);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
}

.audience-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(184, 146, 46, 0.22);
}

.audience-item:hover .audience-item__media img {
  transform: scale(1.04);
}

.audience-item__media {
  position: relative;
  min-height: 8.5rem;
  background: rgba(26, 67, 52, 0.08);
  overflow: hidden;
}

.audience-item__media img {
  width: 100%;
  height: 100%;
  min-height: 8.5rem;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease-out-expo);
}

.audience-item__body {
  padding: 1.25rem 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audience-item__body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--color-forest);
}

.audience-item__body p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

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

  .audience-item__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .audience-item__media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .audience-item__body {
    padding: 1.2rem 1.35rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience-item:hover .audience-item__media img {
    transform: none;
  }
}

/* Programs in depth — horizontal cards, image left */
.section-program-indepth {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 50%, var(--color-cream) 100%);
  border-block: 1px solid rgba(26, 67, 52, 0.07);
}

.program-indepth-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.program-detail-card {
  display: grid;
  grid-template-columns: minmax(200px, 2fr) minmax(260px, 3fr);
  align-items: stretch;
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: box-shadow 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}

.program-detail-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.program-detail-card__media {
  position: relative;
  min-height: 200px;
  background: rgba(26, 67, 52, 0.08);
}

.program-detail-card__media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out-expo);
}

.program-detail-card:hover .program-detail-card__media img {
  transform: scale(1.04);
}

.program-detail-card__body {
  padding: clamp(1.35rem, 3.5vw, 2.15rem) clamp(1.35rem, 3.5vw, 2.35rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  text-align: left;
}

.program-detail-card__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--color-forest-deep);
  margin: 0;
  letter-spacing: -0.02em;
}

.program-detail-card__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.program-detail-card__lead strong {
  color: var(--color-forest);
  font-weight: 600;
}

.program-detail-card__highlight {
  margin: 0.15rem 0 0;
  padding: 1.1rem 1.2rem 1.15rem;
  background: linear-gradient(135deg, rgba(249, 245, 236, 0.95) 0%, rgba(255, 254, 251, 0.98) 100%);
  border-radius: var(--radius);
  border-left: 3px solid rgba(184, 146, 46, 0.65);
  box-shadow: var(--shadow-sm);
}

.program-detail-card__highlight-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta-light);
}

.program-detail-card__highlight h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--color-terracotta);
}

.program-detail-card__highlight p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--color-text-muted);
}

.program-detail-card__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .program-detail-card {
    grid-template-columns: 1fr;
  }

  .program-detail-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .program-detail-card__media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .program-detail-card__cta {
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-detail-card:hover {
    transform: none;
  }

  .program-detail-card:hover .program-detail-card__media img {
    transform: none;
  }
}

.card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.09);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(184, 146, 46, 0.3);
  transform: translateY(-5px);
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(26, 67, 52, 0.07);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-out-expo);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-terracotta);
  margin: 0 0 0.65rem;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.section-kids {
  background: linear-gradient(165deg, var(--color-forest-deep) 0%, var(--color-forest) 55%, #152e24 100%);
  color: #f5f0e8;
  position: relative;
}

.section-kids::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 90% 20%, rgba(220, 192, 96, 0.07), transparent 50%);
  pointer-events: none;
}

.section-kids .container {
  position: relative;
  z-index: 1;
}

.section-kids .section-title {
  color: #fff;
  text-align: left;
}

.section-kids p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1rem;
}

.section-kids strong {
  color: var(--color-gold-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

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

  .section-kids .section-title {
    text-align: center;
  }

  .section-kids p {
    text-align: center;
  }
}

.checklist {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.checklist li {
  margin-bottom: 0.5rem;
}

.kids-aside blockquote {
  margin: 0;
  padding: 1.65rem 1.75rem;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-gold-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.kids-aside blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: #fff;
}

.section-events {
  background: var(--color-cream-dark);
}

.events-hub-cta {
  margin: clamp(1.75rem, 4vw, 2.25rem) 0 0;
  text-align: center;
}

.event-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
}

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

.event-card {
  padding: 1.65rem 1.75rem;
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 67, 52, 0.09);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.event-feature {
  background: linear-gradient(155deg, #fffefb 0%, rgba(249, 245, 236, 0.98) 100%);
  border: 1px solid rgba(184, 146, 46, 0.4);
  box-shadow: var(--shadow-soft), 0 0 0 3px rgba(184, 146, 46, 0.08);
}

.event-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: rgba(201, 162, 39, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-forest-deep);
  margin: 0 0 0.65rem;
}

.event-card p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.event-meta {
  font-size: 0.9rem !important;
  color: var(--color-terracotta) !important;
  font-weight: 500;
}

.section-contact {
  padding-bottom: clamp(4.5rem, 11vw, 7rem);
  background: linear-gradient(180deg, transparent 0%, rgba(232, 224, 208, 0.35) 100%);
}

.contact-box {
  text-align: center;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 67, 52, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.contact-actions .btn-primary,
.contact-actions .btn-secondary {
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
}

.contact-actions .btn-primary {
  word-break: break-all;
}

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-inline: auto;
}

.contact-note a {
  color: var(--color-terracotta);
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.contact-note a:hover,
.contact-note a:focus-visible {
  color: var(--color-forest-deep);
}

.section-application {
  padding-top: 0;
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.application-form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  color: var(--color-forest-deep);
  margin: 0 0 0.5rem;
  text-align: center;
}

.application-form-intro {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.application-form {
  padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.35rem, 3.5vw, 2rem);
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 67, 52, 0.1);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-row-2 .form-field {
  margin-bottom: 0;
}

.application-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-forest-deep);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-required {
  color: var(--color-terracotta);
  font-weight: 700;
}

.form-optional {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="number"],
.application-form select,
.application-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(26, 67, 52, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form input:hover,
.application-form select:hover,
.application-form textarea:hover {
  border-color: rgba(26, 67, 52, 0.28);
}

.application-form input:focus-visible,
.application-form select:focus-visible,
.application-form textarea:focus-visible {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 46, 0.2);
}

.application-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.application-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%231a4334' stroke-linecap='round' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.form-field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.form-field--checkbox input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-forest);
  cursor: pointer;
}

.form-field--checkbox label {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--color-forest-deep);
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(184, 146, 46, 0.35);
  border-radius: var(--radius);
}

.form-actions {
  margin-top: 1.5rem;
}

.application-form-footnote {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
}

.application-form-footnote a {
  color: var(--color-terracotta);
  font-weight: 600;
  text-underline-offset: 0.12em;
}

.application-form-footnote a:hover,
.application-form-footnote a:focus-visible {
  color: var(--color-forest-deep);
}

@media (prefers-reduced-motion: reduce) {
  .application-form input,
  .application-form select,
  .application-form textarea {
    transition: none;
  }
}

/* Footer — four-column layout */
.site-footer {
  background: linear-gradient(180deg, #0a1a14 0%, var(--color-forest-deep) 38%, #050d0a 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(2.75rem, 6vw, 3.75rem) 0 0;
  text-align: left;
  border-top: 1px solid rgba(184, 146, 46, 0.22);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04) inset;
}

.footer-top {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.footer-col--brand {
  padding-right: clamp(0, 2vw, 1rem);
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.85rem;
  transition: opacity 0.2s ease;
}

.footer-brand-block:hover,
.footer-brand-block:focus-visible {
  opacity: 0.92;
}

.footer-brand-block:focus-visible {
  outline: 2px solid var(--color-gold-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.footer-brand-names {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.footer-dev {
  font-family: var(--font-dev);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-gold-soft);
  line-height: 1.25;
}

.footer-en {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

.footer-email {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: #fff;
  border-bottom-color: rgba(232, 192, 96, 0.55);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin: 0 0 1rem;
  padding: 0;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin: 0 0 0.5rem;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(232, 192, 96, 0.45);
}

.footer-col--join .footer-join-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
  max-width: 22rem;
}

.btn-footer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-forest-deep);
  background: linear-gradient(165deg, var(--color-gold-soft) 0%, var(--color-gold) 100%);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}

.btn-footer-primary:hover,
.btn-footer-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  color: var(--color-forest-deep);
}

.btn-footer-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.footer-join-email {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-join-email:hover,
.footer-join-email:focus-visible {
  color: var(--color-gold-soft);
  border-bottom-color: rgba(232, 192, 96, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0 clamp(1.25rem, 3vw, 1.5rem);
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

.footer-bottom-inner {
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 32rem;
  }

  .footer-col--join {
    grid-column: 1 / -1;
  }
}

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

  .footer-col--brand,
  .footer-col--join {
    grid-column: auto;
  }
}

/* Site preloader */
html.is-preloading body {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #0a1a14 0%, var(--color-forest-deep) 45%, #050d0a 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease-in-out, visibility 0.55s ease-in-out;
}

.site-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 90vw;
}

.site-preloader__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
}

.site-preloader__dev {
  font-family: var(--font-dev);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-gold-soft);
  margin-bottom: 0.2rem;
}

.site-preloader__en {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
}

.site-preloader__track {
  width: min(200px, 55vw);
  height: 3px;
  margin-top: 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.site-preloader__bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold-soft), var(--color-gold), var(--color-gold-soft));
  transform: scaleX(0.2);
  transform-origin: left center;
  animation: site-preloader-bar 1.2s ease-in-out infinite;
}

@keyframes site-preloader-bar {
  0% {
    transform: scaleX(0.18);
    transform-origin: left center;
  }

  45% {
    transform: scaleX(1);
    transform-origin: left center;
  }

  55% {
    transform: scaleX(1);
    transform-origin: right center;
  }

  100% {
    transform: scaleX(0.18);
    transform-origin: right center;
  }
}

/* Scroll / load reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(0);
  transition:
    opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .btn-footer-primary {
    transition: none;
  }

  .btn-footer-primary:hover,
  .btn-footer-primary:focus-visible {
    transform: none;
  }

  .site-preloader,
  .site-preloader.is-done {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
    will-change: auto !important;
  }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(249, 245, 236, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 67, 52, 0.1);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(26, 67, 52, 0.07);
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .site-preloader__bar {
    animation: none !important;
    transform: scaleX(0.5) !important;
  }

  .card:hover,
  .pillars li:hover,
  .philosophy-step:hover,
  .audience-item:hover,
  .event-card:hover {
    transform: none;
  }

  .card:hover .card-media img,
  .pillars li:hover .pillar-media img,
  .philosophy-step:hover .philosophy-step-visual img {
    transform: none;
  }
}
