:root {
  --forest: #173f35;
  --forest-deep: #10372e;
  --green: #285b4b;
  --sage: #e8eee5;
  --sage-deep: #d7e3d5;
  --cream: #f8f6ef;
  --paper: #fffefa;
  --gold: #bd9253;
  --gold-light: #e7d1a9;
  --ink: #20332d;
  --muted: #68776f;
  --line: #e7e8df;
  --shadow: 0 20px 60px rgba(24, 55, 44, .09);
  --sans: "DM Sans", "Noto Sans Devanagari", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(189, 146, 83, .7); outline-offset: 4px; }
.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 246, 239, .94); border-bottom: 1px solid rgba(23, 63, 53, .08); backdrop-filter: blur(16px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--forest); }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #f4dfb9; background: var(--forest); font-size: 21px; box-shadow: 0 7px 16px rgba(23, 63, 53, .13); }
.brand-name { font-size: 15px; line-height: 1.12; font-weight: 800; letter-spacing: -.35px; }
.brand-name small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: 2px; font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; border: 0; background: none; color: #53665c; font-size: 13px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--forest); }
.nav-dropdown { position: relative; }
.dropdown-chevron { display: inline-block; margin-top: -5px; font-size: 20px; transition: transform .2s ease; }
.nav-dropdown.is-open .dropdown-chevron { transform: rotate(180deg); margin-top: 5px; }
.dropdown-menu { position: absolute; top: calc(100% + 15px); left: -20px; width: 275px; padding: 9px; border: 1px solid rgba(23, 63, 53, .09); border-radius: 17px; background: var(--paper); box-shadow: 0 18px 44px rgba(24, 55, 44, .15); animation: menu-in .18s ease both; }
.dropdown-menu[hidden] { display: none; }
.dropdown-menu a { display: block; padding: 12px 13px; border-radius: 10px; color: #53665c; font-size: 13px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.dropdown-menu a:hover { background: var(--sage); color: var(--forest); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-button { min-width: 62px; padding: 9px 13px; border: 1px solid #d5ded3; border-radius: 30px; background: transparent; color: var(--forest); font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s ease; }
.language-button:hover { background: #edf1e9; }
.mobile-menu-button { display: none; width: 42px; height: 42px; padding: 11px 9px; border: 1px solid #d5ded3; border-radius: 13px; background: transparent; cursor: pointer; }
.mobile-menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 4px; background: var(--forest); transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 76px 0 80px; background: linear-gradient(115deg, #f8f6ef 0%, #f6f4eb 54%, #edf1e8 100%); }
.hero::before { position: absolute; top: -250px; right: -190px; width: 650px; height: 650px; border: 1px solid rgba(40, 91, 75, .08); border-radius: 50%; content: ""; }
.hero::after { position: absolute; right: 5%; bottom: -390px; width: 650px; height: 650px; border: 1px solid rgba(40, 91, 75, .07); border-radius: 50%; content: ""; }
.hero-wash { position: absolute; top: 0; right: 0; width: 47%; height: 100%; background: linear-gradient(135deg, rgba(220, 232, 218, .1), rgba(205, 221, 204, .4)); clip-path: ellipse(72% 85% at 80% 50%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .96fr) minmax(400px, 1.04fr); align-items: center; gap: clamp(45px, 7vw, 92px); }
.hero-copy { max-width: 540px; padding: 14px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow-line { width: 27px; height: 2px; background: var(--gold); }
.hero h1 { margin: 22px 0 20px; color: var(--forest); font-family: var(--serif); font-size: clamp(48px, 5.6vw, 72px); font-weight: 500; line-height: 1.08; letter-spacing: -2px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 455px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 30px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; box-shadow: 0 10px 24px rgba(23, 63, 53, .16); }
.button-primary:hover { background: var(--green); box-shadow: 0 13px 28px rgba(23, 63, 53, .2); }
.button-text { padding-inline: 4px; color: var(--forest); }
.button-text:hover { color: #9b743d; }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 40px; color: #79867e; font-size: 11px; font-weight: 600; }
.footnote-mark { color: var(--gold); font-size: 18px; }
.hero-visual-wrap { position: relative; padding: 0 12px 24px 0; }
.hero-visual { position: relative; height: 470px; overflow: hidden; border-radius: 48% 48% 22px 22px; background: #d7e4d5; box-shadow: var(--shadow); }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(15, 45, 35, .28)); content: ""; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.image-note { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 15px; background: rgba(255, 254, 250, .91); color: var(--forest); font-family: var(--serif); font-size: 16px; box-shadow: 0 10px 28px rgba(15, 45, 35, .12); backdrop-filter: blur(12px); }
.image-note-icon { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #f1e5ca; color: #a77d42; font-size: 18px; }
.visual-caption { position: absolute; right: 2px; bottom: 0; display: flex; gap: 8px; color: #89968c; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.scroll-cue { position: absolute; z-index: 2; bottom: 18px; left: 50%; width: 25px; height: 40px; display: grid; place-items: start center; padding-top: 8px; border: 1px solid rgba(23, 63, 53, .2); border-radius: 20px; opacity: .65; }
.scroll-cue span { width: 3px; height: 7px; border-radius: 3px; background: var(--forest); animation: scroll-pulse 1.6s infinite; }

/* Program overview */
.programs-section { position: relative; padding: 82px 0 92px; background: var(--paper); }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 50px; }
.section-kicker { display: inline-block; color: #9a763e; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.section-intro h2 { max-width: 610px; margin: 11px 0 0; color: var(--forest); font-family: var(--serif); font-size: clamp(34px, 4vw, 49px); font-weight: 500; line-height: 1.12; letter-spacing: -1px; }
.section-intro > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 42px; }
.program-card { position: relative; min-height: 300px; display: flex; flex-direction: column; padding: 23px 21px 20px; overflow: hidden; border: 1px solid rgba(23, 63, 53, .08); border-radius: 19px; background: #f8f8f2; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.program-card::after { position: absolute; top: -55px; right: -55px; width: 140px; height: 140px; border: 1px solid rgba(23, 63, 53, .08); border-radius: 50%; content: ""; transition: transform .3s ease; }
.program-card:hover { transform: translateY(-6px); border-color: rgba(40, 91, 75, .2); box-shadow: 0 18px 40px rgba(24, 55, 44, .1); }
.program-card:hover::after { transform: scale(1.2); }
.program-card-meditation { background: #f2f5ed; }
.program-card-interaction { background: #f7f1e7; }
.program-card-story { background: #f1f3f1; }
.program-card-breathing { background: #edf3ef; }
.program-card-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.program-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .72); color: var(--forest); font-family: var(--serif); font-size: 29px; box-shadow: 0 6px 18px rgba(24, 55, 44, .05); }
.program-number { color: #a2ada3; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.program-card-content { position: relative; z-index: 1; flex: 1; }
.program-overline { color: #9a763e; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.program-card h3 { margin: 8px 0 9px; color: var(--forest); font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.22; }
.program-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.card-link { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 13px; border-top: 1px solid rgba(23, 63, 53, .1); color: var(--green); font-size: 11px; font-weight: 800; }
.card-link span { color: var(--gold); font-size: 18px; }

/* Program resource sections */
.program-detail { padding: 42px 0 78px; scroll-margin-top: 0; }
.detail-sage { background: #eef2eb; }
.detail-paper { background: var(--paper); }
.detail-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(35px, 7vw, 95px); }
.detail-heading { position: static; padding-top: 0; }
.detail-index { display: inline-block; color: #a17d48; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.detail-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 22px 0 18px; border: 1px solid rgba(23, 63, 53, .1); border-radius: 17px; background: rgba(255, 255, 255, .72); color: var(--forest); font-size: 30px; }
.detail-heading h2 { max-width: 430px; margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(32px, 3.7vw, 46px); font-weight: 500; line-height: 1.13; letter-spacing: -.7px; }
.detail-subtitle { margin: 12px 0 0; color: #8e7147; font-size: 14px; font-weight: 700; }
.detail-description { max-width: 390px; margin: 19px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.resource-panel { overflow: hidden; border: 1px solid rgba(23, 63, 53, .09); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 36px rgba(24, 55, 44, .055); }
.resource-panel-heading { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 21px; border-bottom: 1px solid var(--line); color: var(--forest); font-size: 13px; font-weight: 800; }
.resource-count { color: #9a763e; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; white-space: nowrap; }
.resource-list { padding: 0 21px; }
.resource-item { display: grid; grid-template-columns: 105px minmax(0, 1fr) 38px; align-items: center; gap: 17px; padding: 19px 0; border-bottom: 1px solid #eceee7; }
.resource-item:last-child { border-bottom: 0; }
.resource-type { width: fit-content; max-width: 105px; padding: 6px 8px; border-radius: 6px; color: #55705f; background: #eaf0e7; font-size: 8px; line-height: 1.35; font-weight: 800; letter-spacing: .8px; text-align: center; }
.video-type { background: #edf1e8; color: #54704f; }
.meeting-type { background: #f4ecdf; color: #98723e; }
.audio-type { background: #e9eef0; color: #58717a; }
.response-type { background: #f1eaf0; color: #86617b; }
.resource-copy h3 { margin: 0; color: #263b32; font-size: 13px; font-weight: 700; line-height: 1.6; }
.resource-copy p { margin: 4px 0 0; color: #849087; font-size: 11px; line-height: 1.55; }
.resource-link { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #dce4d9; border-radius: 50%; color: var(--forest); background: #fbfcf8; font-size: 17px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.resource-link:hover { transform: translate(2px, -2px); border-color: var(--forest); color: white; background: var(--forest); }

/* Schools and footer */
.schools-section { padding: 65px 0 78px; background: var(--cream); }
.schools-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: 26px; background: var(--forest); box-shadow: 0 20px 50px rgba(23, 63, 53, .14); }
.section-kicker-light { color: #e3c58f; }
.schools-copy h2 { max-width: 540px; margin: 13px 0 13px; color: white; font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.15; }
.schools-copy > p { max-width: 490px; margin: 0; color: #d1ded5; font-size: 13px; line-height: 1.8; }
.button-light { margin-top: 25px; background: #f0d8ad; color: var(--forest); }
.button-light:hover { background: #f7e4c3; }
.schools-points { display: grid; gap: 12px; }
.schools-points > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 13px; }
.schools-points span { color: #e5c68e; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.schools-points p { margin: 0; color: #edf2ec; font-size: 12px; line-height: 1.55; }
.site-footer { padding: 26px 0; background: #f1f0e8; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 17px; }
.footer-brand .brand-name { font-size: 12px; }
.footer-brand .brand-name small { font-size: 8px; }
.footer-content > p, .footer-content > span { margin: 0; color: #78847c; font-size: 10px; }

@keyframes menu-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-pulse { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(8px); opacity: 1; } }

@media (max-width: 1020px) {
  .primary-nav { gap: 22px; }
  .hero-layout { grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); gap: 40px; }
  .hero-visual { height: 420px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card { min-height: 260px; }
  .detail-layout { grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 40px; }
  .schools-card { gap: 35px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-shell { width: min(100% - 34px, 1180px); }
  .nav-shell { min-height: 70px; gap: 12px; }
  .mobile-menu-button { display: block; order: 3; margin-left: 2px; }
  .nav-actions { margin-left: auto; }
  .primary-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 17px 18px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 14px 25px rgba(24, 55, 44, .07); }
  .primary-nav.mobile-open { display: flex; flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid rgba(23, 63, 53, .07); }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; width: 100%; margin: 3px 0 10px; padding: 6px; border-radius: 12px; box-shadow: none; background: #f0f2eb; animation: none; }
  .dropdown-menu a { padding: 10px 12px; }
  .hero { padding: 52px 0 63px; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 590px; }
  .hero h1 { font-size: clamp(46px, 10vw, 64px); }
  .hero-description { font-size: 14px; }
  .hero-footnote { margin-top: 27px; }
  .hero-visual-wrap { width: min(100%, 530px); margin: 0 auto; }
  .hero-visual { height: 380px; border-radius: 42% 42% 19px 19px; }
  .scroll-cue { display: none; }
  .programs-section { padding: 62px 0 68px; }
  .section-intro { grid-template-columns: 1fr; gap: 14px; }
  .section-intro > p { max-width: 560px; }
  .program-grid { margin-top: 30px; }
  .program-detail { padding: 34px 0 58px; scroll-margin-top: 0; }
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .detail-heading { position: static; }
  .detail-icon { margin: 15px 0; }
  .detail-heading h2 { max-width: 650px; }
  .detail-description { max-width: 650px; margin-top: 12px; }
  .schools-card { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .brand-mark { width: 37px; height: 37px; border-radius: 12px; }
  .brand-name { font-size: 13px; }
  .language-button { min-width: 55px; padding: 8px 10px; }
  .hero { padding: 43px 0 50px; }
  .hero h1 { margin: 17px 0; font-size: 44px; letter-spacing: -1.5px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.25px; }
  .hero-actions { gap: 10px 15px; margin-top: 23px; }
  .button { min-height: 45px; padding: 0 16px; font-size: 11px; }
  .button-text { padding-inline: 0; }
  .hero-visual { height: 285px; border-radius: 36% 36% 17px 17px; }
  .image-note { right: 12px; bottom: 12px; left: 12px; padding: 11px 12px; font-size: 13px; }
  .image-note-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .programs-section { padding: 52px 0 58px; }
  .section-intro h2 { font-size: 35px; }
  .section-intro > p { font-size: 12px; }
  .program-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 25px; }
  .program-card { min-height: 0; display: grid; grid-template-columns: 47px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-radius: 16px; }
  .program-card-top { grid-row: 1 / span 2; display: block; margin: 0; }
  .program-icon { width: 43px; height: 43px; font-size: 25px; }
  .program-number { display: block; margin-top: 10px; text-align: center; }
  .program-card-content { grid-column: 2; }
  .program-card h3 { margin: 5px 0; font-size: 19px; }
  .program-card p { font-size: 11px; }
  .card-link { grid-column: 2; margin-top: 10px; padding-top: 8px; font-size: 10px; }
  .detail-layout { gap: 22px; }
  .detail-heading h2 { font-size: 34px; }
  .resource-panel-heading { align-items: flex-start; padding: 14px; font-size: 11px; }
  .resource-count { font-size: 8px; }
  .resource-list { padding: 0 14px; }
  .resource-item { grid-template-columns: 1fr 34px; gap: 8px 12px; padding: 15px 0; }
  .resource-type { grid-column: 1; grid-row: 1; max-width: none; }
  .resource-copy { grid-column: 1; grid-row: 2; }
  .resource-link { grid-column: 2; grid-row: 1 / span 2; }
  .resource-copy h3 { font-size: 12px; }
  .resource-copy p { font-size: 10px; }
  .schools-section { padding: 45px 0 55px; }
  .schools-card { padding: 25px 20px; border-radius: 20px; }
  .schools-copy h2 { font-size: 34px; }
  .schools-points > div { padding: 12px; }
  .footer-content { align-items: flex-start; flex-direction: column; gap: 10px; }
}

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


/* Programs-first homepage */
.programs-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 7vw, 88px) 0 clamp(66px, 8vw, 102px);
  background:
    radial-gradient(circle at 8% 12%, rgba(224, 233, 219, .88), transparent 28%),
    radial-gradient(circle at 94% 78%, rgba(237, 224, 199, .48), transparent 25%),
    linear-gradient(135deg, #f8f6ef 0%, #f4f4eb 52%, #edf2e9 100%);
}
.programs-home::before,
.programs-home::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(40, 91, 75, .09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.programs-home::before { width: 520px; height: 520px; top: -330px; right: -105px; }
.programs-home::after { width: 370px; height: 370px; bottom: -260px; left: -120px; }
.programs-home-glow {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -8%;
  width: 40%;
  height: 78%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  filter: blur(35px);
}
.programs-home-shell { position: relative; }
.home-programs { width: 100%; }
.home-programs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, .72fr);
  align-items: end;
  gap: clamp(28px, 6vw, 82px);
  margin-bottom: 36px;
}
.home-programs-heading-copy { max-width: 720px; }
.home-programs-heading .section-kicker { color: #92713f; letter-spacing: 2px; }
.home-programs-heading h1 {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -1.7px;
}
.home-programs-heading h1 em { color: #b18a50; font-style: normal; }
.home-programs-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: #65766c;
  font-size: 14px;
  line-height: 1.85;
}
.home-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.home-program-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 53, .09);
  border-radius: 21px;
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 12px 32px rgba(24, 55, 44, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-program-card:hover {
  transform: translateY(-7px);
  border-color: rgba(40, 91, 75, .22);
  box-shadow: 0 22px 42px rgba(24, 55, 44, .13);
}
.home-program-photo {
  position: relative;
  height: clamp(164px, 16vw, 205px);
  overflow: hidden;
  background: #dce6da;
}
.home-program-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 36, 28, .02) 38%, rgba(12, 36, 28, .48) 100%);
  content: "";
  pointer-events: none;
}
.home-program-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.home-program-card:hover .home-program-photo img { transform: scale(1.055); }
.home-program-number {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 50%;
  background: rgba(255, 254, 250, .9);
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(14, 36, 29, .1);
}
.home-program-photo-label {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 14px;
  left: 15px;
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .22);
}
.home-program-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px 18px;
}
.home-program-card-body h2 {
  margin: 0 0 9px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 23px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.35px;
}
.home-program-card-body p {
  margin: 0;
  color: #6d7a71;
  font-size: 11px;
  line-height: 1.75;
}
.home-program-card-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 17px;
  color: #315d4d;
  font-size: 10px;
  font-weight: 800;
}
.home-program-card-link span {
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}
.home-program-card:hover .home-program-card-link span { transform: translate(3px, -2px); }

@media (max-width: 1080px) {
  .home-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-program-photo { height: 220px; }
  .home-program-card-body h2 { font-size: 23px; }
  .home-program-card-body p { font-size: 12px; }
}
@media (max-width: 760px) {
  .programs-home { padding: 52px 0 68px; }
  .home-programs-heading { grid-template-columns: 1fr; gap: 15px; margin-bottom: 27px; }
  .home-programs-heading h1 { max-width: 610px; font-size: clamp(39px, 8vw, 55px); }
  .home-programs-heading > p { max-width: 600px; font-size: 13px; }
  .home-program-grid { gap: 14px; }
  .home-program-photo { height: 195px; }
  .home-program-card-body { padding: 17px 16px 16px; }
}
@media (max-width: 520px) {
  .programs-home { padding: 42px 0 54px; }
  .home-programs-heading h1 { font-size: 40px; letter-spacing: -1.2px; }
  .home-programs-heading .section-kicker { font-size: 9px; letter-spacing: 1.45px; }
  .home-program-grid { grid-template-columns: 1fr; gap: 15px; }
  .home-program-card { display: grid; grid-template-columns: 40% minmax(0, 1fr); min-height: 174px; border-radius: 17px; }
  .home-program-photo { height: 100%; min-height: 174px; }
  .home-program-number { top: 10px; left: 10px; min-width: 30px; height: 30px; font-size: 9px; }
  .home-program-photo-label { right: 9px; bottom: 10px; left: 10px; font-size: 7px; letter-spacing: .8px; }
  .home-program-card-body { padding: 15px 13px 13px; }
  .home-program-card-body h2 { margin-bottom: 7px; font-size: 18px; }
  .home-program-card-body p { font-size: 10px; line-height: 1.55; }
  .home-program-card-link { padding-top: 10px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-program-card, .home-program-photo img, .home-program-card-link span { transition: none !important; }
}


/* Final homepage spacing, headline wrap and user-supplied local photos */
.programs-home {
  padding-top: 28px;
}
.home-programs-heading {
  margin-bottom: 32px;
}
.home-programs-heading h1 {
  margin-top: 10px;
}
.home-programs-heading h1 em {
  display: block;
  color: #b18a50;
  font-style: normal;
}
.home-programs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: center;
  gap: 16px;
  max-width: 470px;
  margin: 0 0 4px auto;
  padding: 10px;
  border: 1px solid rgba(40, 91, 75, .09);
  border-radius: 18px;
  background: rgba(255, 254, 250, .58);
}
.home-programs-intro > p {
  max-width: none;
  margin: 0;
  color: #65766c;
  font-size: 13px;
  line-height: 1.75;
}
.home-intro-photo {
  width: 118px;
  height: 102px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}
.home-program-photo img {
  object-position: center;
}
@media (max-width: 760px) {
  .programs-home {
    padding-top: 24px;
  }
  .home-programs-intro {
    max-width: 620px;
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .home-intro-photo {
    width: 104px;
    height: 90px;
  }
  .home-programs-heading h1 em {
    display: block;
  }
}
@media (max-width: 520px) {
  .programs-home {
    padding-top: 20px;
  }
  .home-programs-heading {
    margin-bottom: 23px;
  }
  .home-programs-heading h1 {
    margin-top: 8px;
  }
  .home-programs-intro {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    padding: 8px;
  }
  .home-programs-intro > p {
    font-size: 11px;
    line-height: 1.6;
  }
  .home-intro-photo {
    width: 82px;
    height: 76px;
  }
}


/* Master brief: official project taglines and school initiative messaging */
.program-tagline {
  margin: 0 0 10px !important;
  color: #967344 !important;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1.55 !important;
  letter-spacing: .1px;
}
.home-program-card-body .program-tagline + p {
  margin-top: 0;
}
.detail-tagline {
  display: block;
  max-width: 440px;
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: #8e7147;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}
.detail-description {
  max-width: 430px;
  margin-top: 16px;
}
.home-program-card-link > span:first-child {
  font-size: 10px;
}
.home-program-card-link > span:last-child {
  color: var(--gold);
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}
.home-program-card:hover .home-program-card-link > span:last-child {
  transform: translate(3px, -2px);
}
@media (max-width: 520px) {
  .program-tagline { font-size: 9px !important; line-height: 1.5 !important; }
  .detail-tagline { font-size: 13px; margin-top: 12px; }
  .detail-description { margin-top: 12px; }
}

/* Program detail sections retain their natural content height. */

/* Refined Programs dropdown control */
.dropdown-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 15px;
  border: 1px solid #d5ded3;
  border-radius: 999px;
  background: rgba(255, 254, 250, .42);
  color: #53665c;
  box-shadow: 0 2px 8px rgba(24, 55, 44, .025);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded="true"] {
  border-color: rgba(40, 91, 75, .22);
  background: #edf2ea;
  color: var(--forest);
  box-shadow: 0 5px 14px rgba(24, 55, 44, .07);
}

.dropdown-toggle:active {
  transform: translateY(1px);
}

.dropdown-toggle:focus-visible {
  outline: 3px solid rgba(189, 146, 83, .34);
  outline-offset: 3px;
  border-radius: 999px;
}

.dropdown-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: -4px 1px 0 0;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  font-size: 0;
  line-height: 0;
  transform: rotate(45deg);
  transition: transform .22s ease, margin .22s ease;
}

.nav-dropdown.is-open .dropdown-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.dropdown-menu {
  z-index: 90;
  top: calc(100% + 11px);
  left: 0;
  min-width: 275px;
  padding: 8px;
  border: 1px solid rgba(23, 63, 53, .1);
  border-radius: 16px;
  background: rgba(255, 254, 250, .98);
  box-shadow: 0 16px 38px rgba(24, 55, 44, .14);
  backdrop-filter: blur(14px);
}

.dropdown-menu a {
  padding: 11px 13px;
  border-radius: 10px;
  line-height: 1.45;
}

.dropdown-menu a:focus-visible {
  outline: 2px solid rgba(40, 91, 75, .35);
  outline-offset: 1px;
  background: #edf2ea;
}

@media (max-width: 760px) {
  .nav-link.dropdown-toggle {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 11px 13px;
    border: 1px solid rgba(40, 91, 75, .12);
    border-radius: 12px;
    background: rgba(255, 254, 250, .55);
  }

  .nav-link.dropdown-toggle:hover,
  .nav-link.dropdown-toggle[aria-expanded="true"] {
    border-color: rgba(40, 91, 75, .2);
    background: #edf2ea;
  }

  .dropdown-menu {
    min-width: 0;
    margin: 7px 0 10px;
    border: 1px solid rgba(23, 63, 53, .08);
    border-radius: 12px;
    background: #f0f2eb;
    box-shadow: none;
  }
}


/* Current site update: trilingual selector, new initiative heading, demo timer and resource play links */
.language-picker { position: relative; }
.language-button { min-width: 92px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.language-button::after { content: "⌄"; font-size: 15px; line-height: 1; transition: transform .2s ease; }
.language-picker.is-open .language-button::after { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: 150px; padding: 7px; border: 1px solid rgba(23,63,53,.1); border-radius: 14px; background: var(--paper); box-shadow: 0 16px 36px rgba(24,55,44,.15); }
.language-menu[hidden] { display: none; }
.language-option { width: 100%; display: block; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--forest); text-align: left; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-option:hover, .language-option.is-selected { background: var(--sage); color: var(--forest-deep); }
.home-programs-heading-copy { max-width: 790px; }
.home-programs-heading .main-initiative-heading { max-width: 790px; margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(31px, 3.4vw, 47px); font-weight: 600; line-height: 1.15; letter-spacing: -.9px; }
.main-initiative-subheading { max-width: 790px; margin: 16px 0 0; color: #5e7167; font-size: 14px; line-height: 1.8; font-weight: 600; }
.home-programs-heading { align-items: start; }
.home-programs-intro > p { font-size: 13px; line-height: 1.75; }
.resource-text-link { display: block; color: inherit; text-decoration: none; min-width: 0; }
.resource-text-link:hover h3 { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(23,63,53,.3); text-underline-offset: 3px; }
.resource-play-button { font-size: 12px !important; padding-left: 2px; }
.resource-play-button:hover { transform: scale(1.06); }
.demo-section { padding: 68px 0 75px; background: linear-gradient(125deg, #f4f1e7, #eaf0e8); }
.demo-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr); gap: clamp(30px, 7vw, 90px); align-items: center; }
.demo-copy h2 { max-width: 500px; margin: 11px 0 12px; color: var(--forest); font-family: var(--serif); font-size: clamp(32px, 4vw, 45px); line-height: 1.15; font-weight: 500; }
.demo-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.demo-timer-card { padding: 25px 28px 22px; border: 1px solid rgba(23,63,53,.1); border-radius: 23px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.demo-timer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #8d7956; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.demo-timer-status { padding: 5px 8px; border-radius: 99px; background: var(--sage); color: var(--green); font-size: 8px; letter-spacing: 1px; }
.demo-timer-display { margin: 14px 0 13px; color: var(--forest); font-family: var(--serif); font-size: clamp(58px, 7vw, 76px); line-height: 1.12; font-variant-numeric: tabular-nums; }
.demo-timer-controls { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.demo-timer-button { min-width: 82px; padding: 10px 14px; border: 1px solid #dce4d9; border-radius: 99px; background: transparent; color: var(--forest); font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.demo-timer-button:hover { background: var(--sage); border-color: #c3d2c0; }
.demo-timer-start { background: var(--forest); border-color: var(--forest); color: #fff; }
.demo-timer-start:hover { background: var(--green); border-color: var(--green); }
.demo-timer-message { min-height: 20px; margin: 15px 0 0; color: #7a887e; font-size: 11px; }
@media (max-width: 760px) {
  .home-programs-heading-copy { max-width: 100%; }
  .home-programs-heading .main-initiative-heading { font-size: clamp(29px, 6vw, 40px); }
  .main-initiative-subheading { font-size: 12px; margin-top: 11px; }
  .demo-section { padding: 52px 0 58px; }
  .demo-shell { grid-template-columns: 1fr; gap: 22px; }
  .demo-timer-card { max-width: 520px; width: 100%; }
}
@media (max-width: 520px) {
  .language-button { min-width: 82px; }
  .language-menu { right: -5px; }
  .home-programs-heading .main-initiative-heading { font-size: 30px; line-height: 1.2; }
  .main-initiative-subheading { font-size: 11px; line-height: 1.7; }
  .home-programs-intro > p { font-size: 11px; }
  .demo-timer-card { padding: 21px 16px 18px; }
  .demo-timer-display { font-size: 58px; }
  .demo-timer-button { min-width: 75px; padding: 9px 11px; }
}


/* Visual refinement: unified typography, balanced initiative heading and updated learning logo */
:root {
  --serif: var(--sans);
}
html, body, button, input, select, textarea {
  font-family: var(--sans);
}
h1, h2, h3, h4, h5, h6,
.brand-name, .nav-link, .language-button, .language-option,
.resource-copy, .resource-type, .demo-timer-display {
  font-family: var(--sans);
}

/* The headline is intentionally compact so the full initiative statement feels clear, not oversized. */
.home-programs-heading-copy {
  max-width: 900px;
}
.home-programs-heading .main-initiative-heading {
  max-width: 900px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(27px, 2.55vw, 35px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.65px;
  text-wrap: balance;
}
.main-initiative-subheading {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

/* Distinctive open-book + rising-light logo for the school learning initiative. */
.brand-mark.brand-logo-mark {
  padding: 7px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #1d5546, #10372e);
  box-shadow: 0 7px 17px rgba(23, 63, 53, .19), inset 0 1px 0 rgba(255,255,255,.13);
}
.brand-symbol-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-brand .brand-mark.brand-logo-mark {
  padding: 5px;
  border-radius: 11px;
}
.brand:hover .brand-logo-mark {
  box-shadow: 0 9px 20px rgba(23, 63, 53, .23), inset 0 1px 0 rgba(255,255,255,.16);
}

@media (max-width: 760px) {
  .home-programs-heading-copy { max-width: 100%; }
  .home-programs-heading .main-initiative-heading {
    max-width: 100%;
    font-size: clamp(25px, 4.1vw, 30px);
    line-height: 1.25;
    letter-spacing: -.45px;
  }
  .main-initiative-subheading { font-size: 12px; }
}
@media (max-width: 520px) {
  .home-programs-heading .main-initiative-heading {
    font-size: 24px;
    line-height: 1.28;
    letter-spacing: -.35px;
  }
  .main-initiative-subheading { font-size: 11px; line-height: 1.7; }
}


/* Heading hierarchy refinement requested for the current website */
.home-programs-heading-copy {
  max-width: 100%;
}

.home-programs-heading .main-initiative-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  max-width: 100%;
  margin: 0;
  font-family: var(--sans);
  line-height: 1.2;
  letter-spacing: -.55px;
  text-wrap: initial;
}

.main-initiative-primary {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(18px, 2.45vw, 31px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.65px;
  color: var(--forest);
}

.main-initiative-secondary {
  display: block;
  max-width: 100%;
  font-size: clamp(13px, 1.45vw, 17px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.15px;
  color: #68776f;
}

.main-initiative-subheading {
  color: #967344;
  font-weight: 700;
}

/* The Language selector uses the same pill control treatment as Programs. */
.language-button.dropdown-toggle {
  min-width: 104px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #d5ded3;
  border-radius: 999px;
  background: rgba(255, 254, 250, .42);
  color: #53665c;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(24, 55, 44, .025);
  white-space: nowrap;
}

.language-button.dropdown-toggle:hover,
.language-picker.is-open .language-button.dropdown-toggle {
  border-color: rgba(40, 91, 75, .22);
  background: #edf2ea;
  color: var(--forest);
  box-shadow: 0 5px 14px rgba(24, 55, 44, .07);
}

.language-button.dropdown-toggle:focus-visible {
  outline: 3px solid rgba(189, 146, 83, .34);
  outline-offset: 3px;
}

.language-menu {
  top: calc(100% + 11px);
  width: 158px;
  padding: 8px;
  border: 1px solid rgba(23, 63, 53, .1);
  border-radius: 16px;
  background: rgba(255, 254, 250, .98);
  box-shadow: 0 16px 38px rgba(24, 55, 44, .14);
  backdrop-filter: blur(14px);
}

.language-option {
  padding: 11px 13px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .home-programs-heading .main-initiative-heading {
    gap: 6px;
  }
  .main-initiative-primary {
    font-size: clamp(17px, 4.2vw, 25px);
    letter-spacing: -.5px;
  }
  .main-initiative-secondary {
    font-size: clamp(12px, 2.6vw, 15px);
  }
}

@media (max-width: 520px) {
  .main-initiative-primary {
    font-size: clamp(14px, 4.2vw, 18px);
    letter-spacing: -.4px;
  }
  .main-initiative-secondary {
    font-size: 12px;
    line-height: 1.55;
  }
  .language-button.dropdown-toggle {
    min-width: 96px;
    padding: 8px 11px;
  }
}




/* Programs and Language: identical navigation button geometry */
#programsToggle.nav-link.dropdown-toggle,
#langBtn.nav-link.dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #53665c !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  cursor: pointer;
  transform: none !important;
  transition: color .2s ease !important;
}

#programsToggle.nav-link.dropdown-toggle:hover,
#programsToggle.nav-link.dropdown-toggle[aria-expanded="true"],
#langBtn.nav-link.dropdown-toggle:hover,
#langBtn.nav-link.dropdown-toggle[aria-expanded="true"] {
  color: var(--forest) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* One shared chevron rule: exactly the same element, dimensions and drawing */
#programsToggle .dropdown-chevron,
#langBtn .dropdown-chevron {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 8px !important;
  margin: -4px 1px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1.8px solid currentColor !important;
  border-bottom: 1.8px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: rotate(45deg) !important;
  transition: transform .22s ease, margin .22s ease !important;
}

/* Both arrows use the same open-state rotation */
#programsDropdown.is-open #programsToggle .dropdown-chevron,
#languagePicker.is-open #langBtn .dropdown-chevron {
  margin-top: 4px !important;
  transform: rotate(225deg) !important;
}

/* Remove any legacy pseudo-element arrow from Language */
#langBtn::after {
  content: none !important;
  display: none !important;
}

#languagePicker {
  position: relative;
}

#languagePicker .language-menu {
  top: calc(100% + 11px);
  right: -14px;
  width: 160px;
  padding: 9px;
}

@media (max-width: 760px) {
  #programsToggle.nav-link.dropdown-toggle,
  #langBtn.nav-link.dropdown-toggle {
    width: 100%;
    min-height: 42px !important;
    padding: 11px 4px !important;
    justify-content: space-between !important;
  }

  #languagePicker {
    width: 100%;
  }

  #languagePicker .language-menu {
    position: static;
    width: 100%;
    margin: 5px 0 10px;
    box-shadow: none;
  }
}
