@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;
  color: #f0f2e9;
  background: #0b0d0b;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  --muted: #b9bfb2;
  --line: #252c23;
  --accent: #d8ff5d;
  --panel: #131613;
  --frame: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
section[id] { scroll-margin-top: 36px; }
:focus-visible { outline: 2px solid #d8ff5d; outline-offset: 5px; }

.frame { width: min(var(--frame), calc(100% - 88px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  background: #d8ff5d;
  color: #142011;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.055em;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px 7px 2px 7px;
  background: var(--accent);
  color: #161b0b;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 #f6ffd690;
}
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.site-nav a, .site-footer > a:last-child { font-size: .92rem; color: var(--muted); }
.site-nav a:hover, .site-footer > a:last-child:hover, .text-link:hover { color: #fff; }
.menu-toggle { display: none; }
.header-contact { justify-self: end; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--accent);
  color: #101408;
  border-color: #e4ff9a;
  box-shadow: 0 0 30px #bdff3223, inset 0 1px 0 #ffffff55;
}
.button-primary:hover { background: #e5ff94; }
.button-outline { background: #141812cc; border-color: #414a38; color: #eef1e7; }
.button-outline:hover { background: #23291d; border-color: #74835d; }
.header-contact { min-height: 41px; padding: 8px 17px; }
.text-link { color: #d3d9cb; font-size: .95rem; font-weight: 700; text-decoration: underline; text-underline-offset: .34em; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080a08;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(555px, 46vw, 740px);
}
.hero-art { position: absolute; z-index: -1; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #05070526 0%, transparent 60%), linear-gradient(0deg, #0b0d0b 0%, transparent 16%);
}
.hero-copy { width: min(100%, 760px); padding: 78px 0 70px; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .87rem; line-height: 1.45; font-weight: 800; }
.eyebrow-line { width: 23px; height: 1px; background: currentColor; }
.hero-eyebrow {
  display: inline-flex;
  margin-inline: auto;
  padding: 8px 15px;
  border: 1px solid #bcca7c50;
  border-radius: 999px;
  background: #141810da;
  color: #e1e9c8;
}
.hero h1 {
  margin: 22px 0 21px;
  color: #f7f8ef;
  font-size: clamp(4.6rem, 9vw, 9.3rem);
  font-weight: 800;
  letter-spacing: -.088em;
  word-spacing: .055em;
  line-height: .89;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-description {
  max-width: 465px;
  margin-inline: auto;
  color: #d0d5c8;
  font-size: clamp(1rem, 1.47vw, 1.24rem);
  text-wrap: balance;
}
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions .button { min-height: 55px; padding-inline: 24px; }
.hero-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 17px; color: #b9c0b1; font-size: .84rem; }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #cbf64b75; }

.section { padding-block: clamp(65px, 8vw, 112px); }
.section h2, .contact-box h2 {
  font-size: clamp(2.3rem, 5.1vw, 4.85rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -.075em;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.18fr .63fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}
.section-heading .eyebrow, .approach-intro .eyebrow, .academy .eyebrow, .contact-box .eyebrow { margin-bottom: 14px; }
.section-heading > p { color: var(--muted); max-width: 360px; margin-left: auto; padding-bottom: 4px; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.program-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid #30352e;
  border-radius: 20px;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease;
}
.program-card:hover, .program-card:focus-within { background: #1a2018; border-color: #4f5d45; }
.program-figure { position: relative; overflow: hidden; isolation: isolate; }
.program-card-content { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 17px; }
.program-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.2; font-weight: 790; letter-spacing: -.04em; }
.program-card p { margin: 9px 0 17px; color: var(--muted); font-size: .99rem; }
.program-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 10px 0 2px;
  border: 0;
  border-top: 1px solid #ffffff1e;
  background: none;
  color: #edf2df;
  text-align: left;
  font-size: .91rem;
  font-weight: 800;
}
.program-link:hover { color: var(--accent); }
.program-link span { font-size: 1.2rem; line-height: 1; }

.approach-band { background: #e3e7db; color: #141a12; border-block: 1px solid #c8cebe; }
.approach, .academy, .questions {
  display: grid;
  grid-template-columns: 1fr .94fr;
  gap: clamp(36px, 7vw, 94px);
  align-items: start;
}
.approach h2, .academy h2, .questions h2 { font-size: clamp(2.1rem, 4.7vw, 4.3rem); }
.approach-intro p:last-child, .academy p:not(.eyebrow) { margin-top: 19px; color: var(--muted); max-width: 34rem; }
.approach .eyebrow { color: #445925; }
.approach-intro p:last-child, .approach-list p { color: #495343; }
.approach-list { list-style: none; padding: 0; margin: 1px 0 0; }
.approach-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: start;
  gap: 15px;
  padding-block: 19px;
  border-top: 1px solid #abb4a2;
}
.approach-list li:last-child { border-bottom: 1px solid #abb4a2; }
.approach-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #688034; margin-top: 9px; transform: rotate(45deg); }
.approach-list h3 { font-size: 1.15rem; }
.approach-list p { margin-top: 4px; font-size: .96rem; }
.academy { align-items: center; }
.academy h2 { font-size: clamp(3rem, 6.4vw, 5.7rem); }
.academy .button { margin-top: 25px; }
.director {
  position: relative;
  display: grid;
  min-height: 365px;
  border-radius: 24px;
  border: 1px solid #30372d;
  overflow: hidden;
  background: #171c15;
}
.director img { width: 100%; height: 365px; object-fit: cover; object-position: center 36%; }
.director figcaption {
  display: grid;
  align-content: end;
  gap: 3px;
  position: absolute;
  inset: auto 0 0;
  min-height: 46%;
  padding: 23px;
  background: linear-gradient(0deg, #0c100b 10%, #0c100bd8 55%, transparent);
}
.director figcaption strong { font-size: 1.35rem; letter-spacing: -.04em; }
.director figcaption span { color: #e0e6db; font-size: .94rem; line-height: 1.45; }
.questions { border-top: 1px solid var(--line); }
.questions h2 { max-width: 12ch; }
.questions-list { border-top: 1px solid var(--line); }
.questions-list details { border-bottom: 1px solid var(--line); }
.questions-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 750;
}
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: "+"; color: var(--accent); text-align: center; font-size: 1.3rem; }
.questions-list details[open] summary::after { content: "−"; }
.questions-list p { padding-bottom: 15px; color: var(--muted); }
.questions-list p a { color: #f0f7e7; text-decoration: underline; text-underline-offset: .2em; }

.contact-section { padding-bottom: 58px; }
.contact-box {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding: clamp(27px, 5vw, 58px);
  border-radius: 26px;
  border: 1px solid #445339;
  background: radial-gradient(ellipse at 98% 102%, #4f6822, transparent 65%), linear-gradient(135deg, #172015, #161c13);
}
.contact-box h2 { font-size: clamp(2rem, 4.4vw, 4.2rem); }
.contact-box p:not(.eyebrow) { margin-top: 14px; color: #d7dfce; }
.contact-box .button { flex-shrink: 0; }
.site-footer {
  display: flex;
  gap: 15px 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
}
.site-footer p { color: var(--muted); font-size: .91rem; }

.program-dialog {
  width: min(525px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(24px, 5vw, 38px);
  color: #f0f2e9;
  background: #192015;
  border: 1px solid #4c593d;
  border-radius: 23px;
  box-shadow: 0 20px 92px #000b;
}
.program-dialog::backdrop { background: #05050cbd; backdrop-filter: blur(7px); }
.dialog-dismiss { position: absolute; top: 17px; right: 17px; }
.dialog-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #667256;
  border-radius: 50%;
  background: #262f20;
  color: white;
  font-size: 1.4rem;
  line-height: 1;
}
.program-dialog .eyebrow { padding-right: 42px; }
.program-dialog h2 { margin: 16px 0 10px; font-size: clamp(1.65rem, 5vw, 2.55rem); line-height: 1.07; letter-spacing: -.06em; }
.program-dialog p:not(.eyebrow), .program-dialog ul { color: #d7decf; }
.program-dialog h3 { margin-top: 17px; font-size: 1rem; }
.program-dialog ul { padding-left: 1.15em; margin: 9px 0 23px; line-height: 1.55; }
.program-dialog li + li { margin-top: .32em; }

@media (max-width: 920px) {
  .frame { width: min(var(--frame), calc(100% - 56px)); }
  .hero-inner { min-height: 520px; }
  .hero-art::after { background: radial-gradient(ellipse at center, #080a086b, transparent 73%), linear-gradient(0deg, #0b0d0b, transparent 15%); }
  .hero h1 { font-size: clamp(4rem, 10vw, 7rem); }
}

@media (max-width: 740px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 64px; gap: 13px; }
  .header-contact { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 13px; border: 1px solid #424c38; border-radius: 10px; background: #171c15; color: #eef1e7; font-weight: 780; }
  .site-nav { display: none; position: absolute; z-index: 3; top: calc(100% + 6px); right: 0; min-width: min(235px, 100%); padding: 8px; border: 1px solid #495240; border-radius: 13px; background: #182015; box-shadow: 0 15px 35px #030803b0; }
  .site-nav[data-menu-open="true"] { display: grid; gap: 2px; }
  .site-nav a { padding: 11px; border-radius: 8px; }
  .site-nav a:hover, .site-nav a:focus-visible { background: #293425; }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 55px 0 clamp(142px, 47vw, 260px); }
  .hero h1 { margin: 20px 0 16px; font-size: clamp(3.38rem, 13vw, 6.4rem); }
  .hero-description { max-width: 29rem; }
  .hero-actions { margin-top: 23px; gap: 9px; }
  .hero-actions .button { min-height: 48px; padding-inline: 15px; font-size: .82rem; }
  .hero-status { margin-top: 13px; }
  .hero-art { inset: auto 0 0; height: clamp(153px, 50vw, 282px); }
  .hero-art img { object-position: center; }
  .hero-art::after { background: linear-gradient(180deg, #080a08, transparent 19%, transparent 87%, #0b0d0b); }
  .section-heading, .approach, .academy, .questions { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { margin-left: 0; }
  .approach-list { margin-top: 6px; }
  .director, .director img { min-height: 280px; height: 320px; }
  .questions h2 { max-width: none; }
  .contact-box { align-items: start; flex-direction: column; }
  .site-footer { flex-wrap: wrap; align-items: start; justify-content: start; }
  .site-footer p { flex: 1 0 100%; order: 3; }
}

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