:root {
  --bg: #060a18;
  --bg-2: #0b1230;
  --ink: #eef2ff;
  --muted: #9aa6cc;
  --line: rgba(255, 255, 255, .1);
  --blue: #1d7bff;
  --brand: #0369b1;
  --cyan: #38e1ff;
  --lime: #c6ff3d;
  --violet: #8b5cff;
  --light: #f4f6fb;
  --dark-ink: #0b1230;
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, .footer__link { hyphens: auto; overflow-wrap: break-word; }
::selection { background: var(--lime); color: var(--dark-ink); }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.h2 {
  font: 700 clamp(30px, 4.6vw, 60px)/1.05 var(--display);
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.kicker {
  font: 600 13px/1 var(--text);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.muted { color: var(--muted); }
.section-head { margin-bottom: 56px; max-width: 820px; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }

/* ---------- progress + cursor ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--lime));
  transform-origin: 0 50%; transform: scaleX(0);
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
  opacity: 0;
}
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--lime); --fg-btn: var(--dark-ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font: 700 16px/1 var(--text);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 12px 40px -10px rgba(198,255,61,.6); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(8px); }
.btn--ghost::before { background: rgba(255,255,255,.12); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--light { --bg-btn: #fff; }
.btn--light::before { background: var(--lime); }
.btn--ghost-light { --bg-btn: transparent; --fg-btn: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost-light::before { background: rgba(255,255,255,.15); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%;
  translate: -50% 0;
  width: min(1240px, 100% - 32px);
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(6, 10, 24, .35);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: background .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(6, 10, 24, .82); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo img { height: 30px; width: auto; mix-blend-mode: screen; }
.nav__menu { display: flex; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: background .3s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(255,255,255,.08); }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  translate: -50% 0;
  min-width: 290px; padding: 10px;
  background: rgba(11, 18, 48, .96);
  border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97);
  transform-origin: top center;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a {
  display: block; padding: 11px 14px; border-radius: 12px;
  font-size: 15px; color: var(--muted);
  transition: background .25s, color .25s, padding .3s var(--ease);
}
.drop a:hover { background: rgba(255,255,255,.06); color: var(--ink); padding-left: 20px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg-2);
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mmenu__inner { padding: 110px 24px 40px; display: grid; gap: 8px; }
.mmenu details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.mmenu summary { font: 700 24px/1.2 var(--display); list-style: none; cursor: pointer; }
.mmenu summary::-webkit-details-marker { display: none; }
.mmenu details a { display: block; padding: 8px 0; color: var(--muted); }
.mmenu details[open] summary { color: var(--lime); }
.mmenu__big { font: 700 24px/1.2 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 110px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__img {
  position: absolute; inset: -10% 0 0; width: 100%; height: 120%;
  object-fit: cover; filter: saturate(.7) brightness(.75);
  transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,10,24,.55) 0%, rgba(6,10,24,.2) 35%, rgba(6,10,24,.95) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,10,24,.85), transparent 70%);
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  mix-blend-mode: screen; animation: float 14s ease-in-out infinite alternate;
}
.blob--1 { width: 520px; height: 520px; background: var(--blue); right: -120px; top: 10%; }
.blob--2 { width: 380px; height: 380px; background: var(--violet); left: 30%; bottom: -160px; animation-delay: -6s; }
@keyframes float {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.15); }
  100% { transform: translate(40px, -30px) scale(.9); }
}
.hero__content { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,255,61,.7); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(198,255,61,0); } }
.hero__title {
  font: 900 clamp(34px, 6.6vw, 96px)/.98 var(--display);
  letter-spacing: -.035em; margin-bottom: 28px;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span {
  display: inline-block; transform: translateY(110%) rotate(4deg);
  animation: lineUp 1.1s var(--ease) forwards;
}
.line:nth-child(2) > span { animation-delay: .12s; }
.line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.line--accent > span {
  background: linear-gradient(100deg, var(--lime), var(--cyan) 50%, var(--blue));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lineUp 1.1s var(--ease) .24s forwards, shine 6s linear 1.4s infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: #c9d2f0; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.reveal-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) var(--d, .7s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; z-index: 2; bottom: 32px; right: max(16px, calc((100% - 1240px) / 2));
  width: 28px; height: 46px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.4);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0;
  background: var(--lime); color: var(--dark-ink);
  transform: rotate(-1.5deg) scale(1.03); margin: -20px 0 40px;
  position: relative; z-index: 3;
}
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 700 clamp(18px, 2.2vw, 28px)/1 var(--display); white-space: nowrap; text-transform: uppercase; letter-spacing: -.01em; }
.marquee i { font-style: normal; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-block: 80px 140px; }
.stat { background: var(--bg); padding: 36px 28px; }
.stat b { display: block; font: 700 clamp(40px, 5vw, 68px)/1 var(--display); letter-spacing: -.03em; margin-bottom: 12px;
  background: linear-gradient(180deg, #fff, #8fa6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; margin-bottom: 160px; }
.about__text > p { color: #c9d2f0; font-size: 18px; margin-bottom: 32px; max-width: 560px; }
.mission {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(29,123,255,.18), rgba(139,92,255,.12));
  border: 1px solid rgba(56,225,255,.2);
  font-size: 19px; line-height: 1.55;
}
.mission em { font-style: normal; color: var(--lime); }
.mission__label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; font-weight: 700; }
.stages { list-style: none; position: relative; display: grid; gap: 14px; }
.stages::before {
  content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px;
  background: linear-gradient(var(--cyan), var(--violet));
  transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform .2s linear;
}
.stage {
  position: relative; display: flex; align-items: center; gap: 24px;
  padding: 18px 24px 18px 14px; border-radius: 22px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.stage:hover { background: rgba(255,255,255,.05); border-color: rgba(56,225,255,.35); transform: translateX(8px); }
.stage__n {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--bg-2); border: 1.5px solid var(--cyan);
  font: 700 15px/1 var(--display); color: var(--cyan);
}
.stage h3 { font: 700 clamp(16px, 1.6vw, 19px)/1.2 var(--display); margin-bottom: 4px; }
.stage p { color: var(--muted); font-size: 15px; }

/* ---------- innovations (bento) ---------- */
.innov { padding: 140px 0; background: var(--light); color: var(--dark-ink); border-radius: 48px 48px 0 0; }
.innov .kicker { color: var(--blue); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  padding: 34px; border-radius: var(--radius);
  background: #fff; border: 1px solid #e3e8f4;
  transition: box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: 0 30px 60px -30px rgba(11,18,48,.35); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(29,123,255,.12), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card h3 { font: 700 clamp(20px, 2.2vw, 24px)/1.15 var(--display); margin: 26px 0 12px; letter-spacing: -.01em; }
.card p { color: #4a5578; }
.card__icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--dark-ink); color: var(--lime);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--a { grid-column: span 2; background: var(--blue); color: #fff; border: 0; }
.card--a p { color: rgba(255,255,255,.85); }
.card--a .card__icon { background: #fff; color: var(--blue); }
.card__big { position: absolute; right: -10px; bottom: -40px; font: 900 180px/1 var(--display); color: rgba(255,255,255,.12); letter-spacing: -.06em; }
.card--b { grid-column: span 4; background: var(--dark-ink); color: #fff; border: 0; }
.card--b p { color: #b9c3e6; max-width: 560px; }
.card--b strong { color: var(--lime); font-weight: 700; }
.card--b .card__icon { background: var(--lime); color: var(--dark-ink); }
.badge {
  position: absolute; top: 34px; right: 34px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid rgba(198,255,61,.5); color: var(--lime);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-6px); } }
.card--c { grid-column: span 3; }
.card--d { grid-column: span 3; }
.chips { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.chips span { padding: 6px 12px; border-radius: 999px; background: #eef2ff; color: var(--blue); font-size: 13px; font-weight: 700; }

/* ---------- programs (horizontal scroll) ---------- */
.programs { background: var(--light); color: var(--dark-ink); padding-bottom: 140px; }
.programs .kicker { color: var(--blue); }
.programs .muted { color: #6b7699; }
.hscroll { overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hscroll__track { display: flex; gap: 22px; padding: 0 max(16px, calc((100% - 1240px) / 2)); width: max-content; }
.prog {
  scroll-snap-align: start;
  width: min(420px, 82vw); flex: none;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid #e3e8f4;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.prog:hover { transform: translateY(-10px); box-shadow: 0 40px 60px -30px rgba(11,18,48,.4); }
.prog__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue); }
.prog__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .9; transition: transform .9s var(--ease), mix-blend-mode .4s; pointer-events: none; }
.prog:hover .prog__img img { transform: scale(1.08); mix-blend-mode: normal; }
.prog__body { padding: 28px; }
.prog__n { font: 700 14px/1 var(--display); color: var(--blue); }
.prog h3 { font: 700 22px/1.2 var(--display); margin: 14px 0 10px; }
.prog p { color: #4a5578; font-size: 16px; margin-bottom: 20px; }
.prog__more { font-weight: 700; color: var(--blue); display: inline-block; transition: transform .4s var(--ease); }
.prog:hover .prog__more { transform: translateX(6px); }

/* ---------- life / gallery ---------- */
.life { padding-block: 160px 120px; }
.gallery { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: 300px 300px; gap: 18px; }
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.ph img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; transition: scale .9s var(--ease); }
.ph:hover img { scale: 1.05; }
.ph--tall { grid-row: span 2; }
.gallery { grid-template-columns: 1fr 1fr 1fr; }
.ph--cta {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px; background: var(--violet);
  font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display);
  transition: background .4s;
}
.ph--cta svg { align-self: flex-end; transition: transform .5s var(--ease); }
.ph--cta:hover { background: var(--blue); }
.ph--cta:hover svg { transform: rotate(45deg) scale(1.2); }

/* ---------- admission ---------- */
.admission { margin-bottom: 140px; }
.admission__box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: clamp(32px, 6vw, 80px); border-radius: 40px;
  background: linear-gradient(120deg, var(--blue), var(--violet));
}
.admission__box .kicker { color: rgba(255,255,255,.75); }
.admission__box p { color: rgba(255,255,255,.88); max-width: 520px; position: relative; z-index: 1; }
.admission__box .h2 { position: relative; z-index: 1; }
.admission__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); animation: spin 30s linear infinite; }
.ring--1 { width: 520px; height: 520px; right: -140px; top: -260px; border-style: dashed; }
.ring--2 { width: 300px; height: 300px; right: 60px; bottom: -200px; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- partners ---------- */
.partners { padding-bottom: 140px; }
.logos { overflow: hidden; padding: 9px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: 18px; width: max-content; }
.logos a {
  flex: none; width: 200px; height: 120px; border-radius: 22px;
  background: #fff; display: grid; place-items: center; padding: 18px;
  filter: grayscale(1); opacity: .8;
  transition: filter .4s, opacity .4s, transform .5s var(--ease);
}
.logos a:hover { filter: none; opacity: 1; transform: translateY(-6px) rotate(-2deg); }
.logos img { max-height: 84px; max-width: 100%; object-fit: contain; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-radius: 48px 48px 0 0; padding: 110px 0 36px; }
.footer__big { font: 900 clamp(44px, 9vw, 140px)/.95 var(--display); letter-spacing: -.04em; margin-bottom: 80px; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__label { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer__link { display: inline-block; font: 700 20px/1.3 var(--display); background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.footer__link:hover { background-size: 100% 2px; }
.footer__small { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
a.footer__small:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--lime); color: var(--dark-ink); transform: translateY(-4px); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 32px 0; color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: #6b7699; font-size: 14px; }
.totop:hover { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__menu, .nav > .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--a, .card--b, .card--c, .card--d { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 200px; }
  .ph--tall { grid-row: span 2; }
  .ph--cta { grid-column: span 2; }
  .admission__box { grid-template-columns: 1fr; }
  .admission__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding-left: 16px; }
  .nav__logo img { height: 24px; }
  .hero { padding-bottom: 90px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .blob--1 { width: 300px; height: 300px; }
  .stat { padding: 24px 18px; }
  .section-head--row { flex-direction: column; align-items: start; }
  .card { padding: 26px; }
  .badge { position: static; display: inline-block; margin-top: 18px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 380px 240px 240px auto; }
  .ph--tall { grid-row: auto; }
  .ph--cta { grid-column: auto; min-height: 160px; }
  .footer__grid { grid-template-columns: 1fr; }
  .innov, .footer { border-radius: 32px 32px 0 0; }
}

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

/* =====================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ===================================================================== */
.nav .drop a[aria-current], .mmenu a[aria-current] { color: var(--lime); }

/* ---------- page hero ---------- */
.phero {
  position: relative; overflow: hidden;
  min-height: 74svh; display: flex; align-items: flex-end;
  padding: 150px 0 90px;
}
.phero--short { min-height: 58svh; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img {
  position: absolute; inset: -10% 0 0; width: 100%; height: 125%;
  object-fit: cover; filter: saturate(.6) brightness(.6);
  transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards;
}
.phero .hero__shade { background: linear-gradient(180deg, rgba(6,10,24,.6), rgba(6,10,24,.35) 40%, var(--bg) 98%), linear-gradient(90deg, rgba(6,10,24,.85), transparent 75%); }
.phero__content { position: relative; z-index: 2; }
.phero__title { font: 900 clamp(34px, 6vw, 84px)/1 var(--display); letter-spacing: -.035em; margin-bottom: 24px; max-width: 1000px; }
.phero__lead { max-width: 720px; color: #c9d2f0; font-size: clamp(16px, 1.5vw, 19px); }
.phero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.chip b { color: var(--lime); font-family: var(--display); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--lime); }
.crumbs span:not(:last-child) { opacity: .5; }

/* ---------- docs layout ---------- */
.dlayout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; padding-block: 40px 140px; }
.dlayout--single { grid-template-columns: 1fr; max-width: 980px; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; }
.toc__title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 0 0 12px 14px; }
.toc a {
  position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; align-items: baseline;
  padding: 12px 14px; border-radius: 14px; color: var(--muted); font-size: 15px; line-height: 1.35;
  transition: background .3s, color .3s;
}
.toc a b { font: 700 12px/1 var(--display); color: inherit; opacity: .7; }
.toc a i { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); }
.toc a:hover { background: rgba(255,255,255,.04); color: var(--ink); }
.toc a.is-active { background: rgba(198,255,61,.08); color: var(--ink); }
.toc a.is-active b, .toc a.is-active i { color: var(--lime); opacity: 1; }
.toc a::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px;
  background: var(--lime); transform: scaleY(0); transition: transform .4s var(--ease);
}
.toc a.is-active::before { transform: none; }

.search { position: sticky; top: 92px; z-index: 5; margin-bottom: 32px; }
.search input {
  width: 100%; padding: 18px 120px 18px 54px; border-radius: 18px;
  background: rgba(11, 18, 48, .85); border: 1px solid var(--line); color: var(--ink);
  font: 600 16px/1 var(--text); backdrop-filter: blur(16px);
  transition: border-color .3s, box-shadow .3s;
}
.search input::placeholder { color: #6b7699; }
.search input:focus { outline: none; border-color: rgba(198,255,61,.6); box-shadow: 0 0 0 4px rgba(198,255,61,.12); }
.search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search__count { position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 13px; color: var(--muted); font-weight: 700; }
.search__empty { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.search__empty.is-shown { display: block; }
mark { background: rgba(198,255,61,.25); color: inherit; border-radius: 4px; padding: 0 2px; }

.dgroup { margin-bottom: 64px; scroll-margin-top: 170px; }
.dgroup[hidden] { display: none; }
.dgroup__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.dgroup__n { font: 700 14px/1 var(--display); color: var(--cyan); }
.dgroup__head h2 { font: 700 clamp(20px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.01em; flex: 1; }
.dgroup__count { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.dgroup__text { color: #c9d2f0; margin: -6px 0 20px; max-width: 760px; }

.docs { display: grid; gap: 8px; }
.doc {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 16px 56px 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.45; font-weight: 600;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease) var(--dd, 0s), transform .7s var(--ease) var(--dd, 0s), background .3s, border-color .3s;
}
.is-in .doc, .docs.is-in .doc { opacity: 1; transform: none; }
.doc::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(56,225,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e1ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: background-color .3s, transform .5s var(--ease);
}
a.doc::after {
  content: "↗"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  font-size: 18px; color: var(--muted); transition: transform .4s var(--ease), color .3s;
}
a.doc:hover { background: rgba(255,255,255,.06); border-color: rgba(198,255,61,.35); }
a.doc:hover::before { background-color: rgba(198,255,61,.15); transform: rotate(-8deg) scale(1.06); }
a.doc:hover::after { color: var(--lime); transform: translate(3px, -3px); }
.doc em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); white-space: nowrap; }
.doc--multi a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.doc--note {
  padding: 22px 4px 6px; background: none; border: 0;
  font: 700 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.doc--note::before { display: none; }
.doc--form::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e1ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3 8-8'/%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E"); }
.doc--video::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e1ff' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.5l5 3.5-5 3.5z' fill='%2338e1ff'/%3E%3C/svg%3E"); }
.doc--link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e1ff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }

/* ---------- prose ---------- */
.prose { max-width: 820px; color: #c9d2f0; font-size: 17.5px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font: 700 clamp(24px, 3vw, 38px)/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; margin-top: 48px; }
.prose h3 { font: 700 20px/1.25 var(--display); color: var(--ink); margin-top: 36px; }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--cyan), var(--blue)); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 48px; min-height: 34px; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 12px/1 var(--display); color: var(--dark-ink); background: var(--lime); }
.callout {
  padding: 28px 32px; border-radius: var(--radius); color: var(--ink);
  background: linear-gradient(135deg, rgba(29,123,255,.18), rgba(139,92,255,.12));
  border: 1px solid rgba(56,225,255,.2); font-size: 18px;
}
.callout__label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; font-weight: 700; }
.callout--lime { background: rgba(198,255,61,.08); border-color: rgba(198,255,61,.3); }
.callout--lime .callout__label { color: var(--lime); }
.note { font-size: 14.5px; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--line); }

/* ---------- sections on inner pages ---------- */
.psec { padding-block: 40px 120px; }
.psec--light { background: var(--light); color: var(--dark-ink); border-radius: 48px; padding-block: 110px; margin-bottom: 120px; }
.psec--light .kicker { color: var(--blue); }
.psec--light .prose { color: #4a5578; }
.psec--light .prose h2, .psec--light .prose h3, .psec--light .prose strong { color: var(--dark-ink); }
.psec--light .prose a:not(.btn) { color: var(--blue); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
a.tile:hover, .tile.has-link:hover { transform: translateY(-8px); border-color: rgba(198,255,61,.35); box-shadow: 0 40px 60px -30px rgba(0,0,0,.7); }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile__img--contain img { object-fit: contain; padding: 18px; }
.tile:hover .tile__img img { transform: scale(1.07); }
.tile__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile__n { font: 700 13px/1 var(--display); color: var(--cyan); }
.tile h3 { font: 700 clamp(18px, 1.7vw, 21px)/1.25 var(--display); }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--lime); transition: transform .4s var(--ease); display: inline-block; }
.tile:hover .tile__more { transform: translateX(6px); }
.tile--text { padding: 30px; justify-content: space-between; min-height: 170px; }
.tile--text h3 { font-size: 19px; }

/* subject grid */
.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.subject {
  position: relative; overflow: hidden; padding: 26px 24px; border-radius: 22px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s;
}
.subject:hover { transform: translateY(-6px) rotate(-.6deg); border-color: rgba(56,225,255,.4); }
.subject__n { font: 700 13px/1 var(--display); color: var(--cyan); }
.subject h3 { font: 700 18px/1.2 var(--display); }
.subject__emoji { position: absolute; right: 16px; top: 14px; font-size: 32px; transition: transform .6s var(--ease); }
.subject:hover .subject__emoji { transform: scale(1.25) rotate(-10deg); }

/* ---------- numbers / test cards ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.fact { padding: 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.fact:hover { border-color: rgba(198,255,61,.4); transform: translateY(-4px); }
.fact h3 { font: 700 18px/1.25 var(--display); margin-bottom: 10px; }
.fact__nums { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.fact__nums span { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(56,225,255,.1); color: var(--cyan); }
.fact__nums span + span { background: rgba(198,255,61,.1); color: var(--lime); }
.fact p { color: var(--muted); font-size: 15px; }
.bigtime { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.bigtime b { font: 900 clamp(48px, 7vw, 96px)/1 var(--display); letter-spacing: -.04em; background: linear-gradient(90deg, var(--lime), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigtime span { color: var(--muted); }

/* grade scale */
.scale { display: grid; gap: 10px; }
.scale__row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.scale__mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 900 28px/1 var(--display); color: var(--dark-ink); }
.scale__bar { position: relative; height: 64px; border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; display: flex; align-items: center; padding: 0 20px; font-weight: 700; }
.scale__bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); opacity: .18; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) var(--dd, .2s); }
.is-in .scale__bar::before { transform: none; }
.scale__bar span { position: relative; }
.scale__bar small { position: relative; margin-left: auto; color: var(--muted); font-weight: 600; }

/* ---------- videos ---------- */
.videos { display: grid; gap: 28px; }
.vcard { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; padding: 22px; border-radius: 32px; background: var(--bg-2); border: 1px solid var(--line); }
.vcard:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.vcard:nth-child(even) .video { order: 2; }
.vcard__body { padding: 10px 14px; }
.vcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vcard__meta span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.vcard h3 { font: 700 clamp(19px, 2vw, 24px)/1.2 var(--display); margin-bottom: 12px; }
.vcard p { color: var(--muted); }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000;
  display: block; width: 100%; cursor: pointer;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .9s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.05); opacity: .9; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--dark-ink); box-shadow: 0 0 0 0 rgba(198,255,61,.5);
  animation: pulse 2s infinite; transition: transform .4s var(--ease);
}
.video:hover .video__play { transform: scale(1.12); }
.video__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-pair { display: grid; gap: 12px; }

/* ---------- masonry + lightbox ---------- */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin-bottom: 16px; border-radius: 22px; overflow: hidden; cursor: zoom-in; position: relative; background: var(--bg-2); }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure::after { content: "⤢"; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(6,10,24,.6); backdrop-filter: blur(6px); opacity: 0; transform: scale(.7); transition: .4s var(--ease); }
.masonry figure:hover::after { opacity: 1; transform: none; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(6,10,24,.85)); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { margin: 0; aspect-ratio: 4 / 3; }
.pair figure img { height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(3,5,12,.94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 16px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 22px; transition: background .3s; }
.lightbox button:hover { background: var(--lime); color: var(--dark-ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; color: var(--muted); font-weight: 700; font-size: 14px; }

/* ---------- form ---------- */
.formcard { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--bg-2); border: 1px solid var(--line); }
.formcard::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: var(--violet); filter: blur(90px); opacity: .35; animation: float 14s ease-in-out infinite alternate; }
.form { position: relative; display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink);
  font: 600 16px/1.4 var(--text); transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transition: .3s var(--ease); transform-origin: left top; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(198,255,61,.6); box-shadow: 0 0 0 4px rgba(198,255,61,.1); background: rgba(255,255,255,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--lime); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--lime); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__hint { font-size: 13.5px; color: var(--muted); }
.form__ok { display: none; padding: 16px 18px; border-radius: 16px; background: rgba(198,255,61,.1); color: var(--lime); font-weight: 700; }
.form__ok.is-shown { display: block; animation: fadeUp .6s var(--ease); }

/* ---------- photo strip (lab) ---------- */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.event img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.event:hover img { transform: scale(1.06); }
.event figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; font: 700 17px/1.3 var(--display); background: linear-gradient(transparent, rgba(6,10,24,.92)); }
.event figcaption small { display: block; font: 600 13px/1.4 var(--text); color: var(--lime); margin-top: 6px; }

/* ---------- page-end CTA ---------- */
.endcta { margin-bottom: 120px; }

@media (max-width: 1000px) {
  .dlayout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .toc::-webkit-scrollbar { display: none; }
  .toc__title { display: none; }
  .toc a { flex: none; grid-template-columns: auto auto auto; border: 1px solid var(--line); }
  .toc a::before { display: none; }
  .split, .vcard, .vcard:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .vcard:nth-child(even) .video { order: 0; }
  .tiles, .tiles--4 { grid-template-columns: 1fr 1fr; }
  .events { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tiles, .tiles--2, .tiles--4, .events, .form__row, .pair { grid-template-columns: 1fr; }
  .search { top: 80px; }
  .search input { padding-right: 18px; }
  .search__count { display: none; }
  .doc { padding-right: 44px; font-size: 15px; }
  .doc::before { width: 34px; height: 34px; }
  .psec--light { border-radius: 32px; }
  .event { aspect-ratio: 4 / 3; }
  .vcard { padding: 14px; border-radius: 26px; }
}

/* ---------- org chart ---------- */
.org { display: grid; gap: 22px; justify-items: center; padding: clamp(20px, 4vw, 48px); border-radius: 36px; background: var(--bg-2); border: 1px solid var(--line); }
.org__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.org__arrow { width: 60px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); position: relative; }
.org__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--cyan); border-right: 0; }
.org__node {
  padding: 16px 22px; border-radius: 18px; text-align: center; font-weight: 700; line-height: 1.35;
  background: rgba(29,123,255,.14); border: 1px solid rgba(29,123,255,.4);
  transition: transform .5s var(--ease), background .3s;
}
.org__node:hover { transform: translateY(-4px); background: rgba(29,123,255,.24); }
.org__node--violet { background: var(--violet); border-color: transparent; font-family: var(--display); }
.org__node--cyan { background: var(--cyan); color: var(--dark-ink); border-color: transparent; font-family: var(--display); }
.org__node--lime { background: var(--lime); color: var(--dark-ink); border-color: transparent; font-family: var(--display); }
.org__mid { width: min(560px, 100%); position: relative; }
.org__mid::before, .org__mid::after { content: ""; position: absolute; left: 50%; width: 2px; height: 22px; background: var(--line); }
.org__mid::before { bottom: 100%; }
.org__mid::after { top: 100%; }
.org__cols { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 22px; border-top: 2px solid var(--line); }
.org__col { display: grid; gap: 12px; align-content: start; }
.org__col p { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; text-align: center; }
@media (max-width: 800px) {
  .org__cols { grid-template-columns: 1fr; }
  .org__arrow { width: 2px; height: 30px; background: linear-gradient(var(--violet), var(--cyan)); }
  .org__arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top-color: var(--cyan); border-bottom: 0; }
  .org__top { flex-direction: column; }
}
