:root {
  --ink: #17152f;
  --ink-soft: #5f5b74;
  --night: #14113b;
  --night-soft: #211b59;
  --purple: #6c4eff;
  --purple-bright: #8d73ff;
  --purple-pale: #eeeaff;
  --paper: #f7f5ef;
  --paper-white: #fffdf9;
  --gold: #f4c469;
  --coral: #ff8864;
  --line: rgba(23, 21, 47, .13);
  --content-max: 1280px;
  --header-height: 76px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 22px 70px rgba(38, 25, 91, .14);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-silk: cubic-bezier(.22, .8, .2, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--purple);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 80px), var(--content-max));
  margin-inline: auto;
}

.section-pad {
  position: relative;
  padding-block: clamp(96px, 10vw, 170px);
}

.section-index,
.eyebrow {
  margin: 0 0 24px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5.25vw, 76px);
  font-weight: 740;
  letter-spacing: -.055em;
  line-height: 1.12;
}

.section-heading h2 span {
  color: var(--purple);
}

.section-heading h2 .heading-line {
  color: inherit;
  white-space: nowrap;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .6fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: end;
}

.section-heading--split > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease, background .3s ease;
}

.button::before {
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -45%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  content: "";
  transform: skewX(-18deg) translateX(-220%);
  transition: transform .7s var(--ease-out-expo);
}

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

.button:hover::before {
  transform: skewX(-18deg) translateX(620%);
}

.button:active {
  transform: translateY(0) scale(.98);
}

.button--primary {
  color: #fff;
  background: linear-gradient(110deg, var(--purple), #8065ff);
  box-shadow: 0 16px 34px rgba(108, 78, 255, .34);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px);
}

.button--light {
  color: var(--night);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 60;
  display: grid;
  width: min(calc(100% - 32px), 1380px);
  min-height: var(--header-height);
  grid-template-columns: 190px 1fr;
  align-items: center;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 14, 52, .22);
  box-shadow: 0 12px 50px rgba(15, 11, 54, .08);
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(135%);
  transition: top .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  top: 8px;
  border-color: rgba(23, 21, 47, .1);
  color: var(--ink);
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 14px 50px rgba(23, 21, 47, .12);
}

.brand {
  display: block;
  width: 146px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .12));
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 46px);
}

.site-menu a {
  position: relative;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 650;
}

.site-menu a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

/* Hero */
.hero {
  --hero-content-opacity: 1;
  --hero-content-y: 0px;
  --hero-picture-scale: 1;
  --hero-picture-y: 0px;
  --hero-ambient-y: 0px;
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 75% 22%, rgba(113, 89, 255, .5), transparent 28%),
    linear-gradient(125deg, #100d32 0%, #1d1750 52%, #382874 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 10, 42, .98) 0%, rgba(12, 10, 42, .88) 40%, rgba(12, 10, 42, .25) 72%, rgba(12, 10, 42, .36) 100%);
  content: "";
}

.hero__picture {
  position: absolute;
  inset: 0;
  opacity: .82;
  transform: translate3d(0, var(--hero-picture-y), 0) scale(var(--hero-picture-scale));
  transform-origin: center 32%;
  will-change: transform, opacity;
}

.hero__picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 13, 55, 0), rgba(17, 13, 55, .68));
  content: "";
}

.hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.9) contrast(1.04);
}

.hero__ambient,
.hero__ambient span {
  position: absolute;
}

.hero__ambient {
  inset: 0;
  overflow: hidden;
  transform: translate3d(0, var(--hero-ambient-y), 0);
  will-change: transform;
}

.hero__orb {
  border-radius: 50%;
  filter: blur(2px);
}

.hero__orb--one {
  top: 18%;
  right: 10%;
  width: 320px;
  height: 320px;
  background: rgba(255, 161, 197, .24);
  box-shadow: 0 0 120px rgba(255, 161, 197, .18);
  animation: orb-drift-one 12s ease-in-out infinite alternate;
}

.hero__orb--two {
  bottom: -140px;
  left: 42%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, .12);
  animation: orb-drift-two 16s ease-in-out infinite alternate;
}

.hero__grid {
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 72%);
  animation: grid-breathe 10s ease-in-out infinite alternate;
}

.hero__content {
  padding-top: calc(var(--header-height) + 74px);
  padding-bottom: 120px;
  opacity: var(--hero-content-opacity);
  transform: translate3d(0, var(--hero-content-y), 0);
  will-change: transform, opacity;
}

.hero .eyebrow {
  color: #b8aaff;
}

.hero h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(54px, 7vw, 106px);
  font-weight: 760;
  letter-spacing: -.07em;
  line-height: .98;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__lead {
  max-width: 620px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.hero__facts {
  display: flex;
  gap: 0;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  display: grid;
  gap: 7px;
  min-width: 150px;
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.hero__facts li + li {
  padding-left: 32px;
}

.hero__facts li:last-child {
  border-right: 0;
}

.hero__facts strong {
  font-size: 18px;
}

.hero__facts span {
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 70px;
  background: linear-gradient(#fff, transparent);
  animation: scroll-cue 2s var(--ease-silk) infinite;
}

@keyframes orb-drift-one {
  to { transform: translate3d(28px, -20px, 0) scale(1.08); }
}

@keyframes orb-drift-two {
  to { transform: translate3d(-34px, -26px, 0) rotate(8deg); }
}

@keyframes grid-breathe {
  to { opacity: .13; transform: translate3d(-10px, 8px, 0); }
}

@keyframes scroll-cue {
  0%, 100% { opacity: .35; transform: scaleY(.55); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes hero-intro {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.js .hero__picture {
  opacity: 0;
  transition: opacity 1.35s ease;
}

.js.is-page-ready .hero__picture {
  opacity: .82;
}

.js .hero__content > * {
  opacity: 0;
}

.js.is-page-ready .hero__content > * {
  animation: hero-intro .9s var(--ease-out-expo) both;
}

.js.is-page-ready .hero__content > :nth-child(1) { animation-delay: .08s; }
.js.is-page-ready .hero__content > :nth-child(2) { animation-delay: .16s; }
.js.is-page-ready .hero__content > :nth-child(3) { animation-delay: .25s; }
.js.is-page-ready .hero__content > :nth-child(4) { animation-delay: .34s; }
.js.is-page-ready .hero__content > :nth-child(5) { animation-delay: .43s; }

/* Philosophy */
.manifesto {
  overflow: hidden;
  background: var(--paper);
}

.manifesto::before {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(108, 78, 255, .17);
  border-radius: 50%;
  box-shadow: inset 0 0 0 80px rgba(108, 78, 255, .03), inset 0 0 0 160px rgba(108, 78, 255, .025);
  content: "";
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: end;
}

.manifesto__copy {
  padding-bottom: 6px;
}

.manifesto__copy p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
}

.manifesto__copy .manifesto__lead {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.45;
}

/* Outcomes */
.outcomes {
  color: #fff;
  background: var(--night);
}

.outcomes .section-heading--split > p,
.outcomes .section-index {
  color: rgba(255, 255, 255, .58);
}

.outcomes .section-heading h2 span {
  color: var(--gold);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(70px, 8vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.metric-grid article {
  min-height: 260px;
  padding: 40px 30px 34px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  transition: background .35s ease, transform .35s var(--ease-out-expo);
}

.metric-grid article:hover {
  background: rgba(255, 255, 255, .045);
  transform: translateY(-6px);
}

.metric-grid article:last-child {
  border-right: 0;
}

.metric-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -.06em;
}

.metric-grid h3 {
  margin: 22px 0 8px;
  font-size: 19px;
}

.metric-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.6;
}

.ability-stage {
  margin-top: clamp(90px, 10vw, 150px);
}

.ability-stage__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.ability-stage__title > span {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.ability-stage__title p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

.ability-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ability-list article {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s ease, transform .25s ease;
}

.ability-list article:hover {
  background: rgba(255, 255, 255, .05);
  transform: translateY(-5px);
}

.ability-list article:last-child {
  border-right: 0;
}

.ability-list article > span {
  color: var(--gold);
  font-size: 12px;
}

.ability-list h3 {
  margin: 68px 0 14px;
  font-size: 24px;
}

.ability-list p {
  margin: 0;
  color: rgba(255, 255, 255, .53);
  font-size: 14px;
  line-height: 1.75;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(90px, 10vw, 150px);
}

.advantage-grid article {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.advantage-grid__mark {
  position: absolute;
  right: 18px;
  bottom: -42px;
  color: rgba(255, 255, 255, .035);
  font-size: 240px;
  font-weight: 800;
  line-height: 1;
}

.advantage-grid h3 {
  position: relative;
  margin: 80px 0 14px;
  font-size: 27px;
}

.advantage-grid article > p:last-child {
  position: relative;
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  line-height: 1.8;
}

/* Courses */
.courses {
  overflow: hidden;
  background: linear-gradient(180deg, #f7f5ef 0%, #eeeaff 48%, #f7f5ef 100%);
}

.courses::after {
  position: absolute;
  top: 10%;
  right: -12vw;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: rgba(135, 109, 255, .08);
  filter: blur(2px);
  content: "";
}

.course-selector {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(64px, 7vw, 100px);
}

.course-card {
  position: relative;
  display: grid;
  min-height: 285px;
  grid-template-columns: 1fr auto;
  align-content: end;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 47, .12);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, .56);
  cursor: pointer;
  transition: transform .4s var(--ease-out-expo), color .3s ease, background .3s ease, box-shadow .4s ease;
}

.course-card::before {
  position: absolute;
  top: -62px;
  right: -46px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(108, 78, 255, .22);
  border-radius: 50%;
  content: "";
  transition: transform .7s var(--ease-out-expo), opacity .35s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card:hover::before {
  transform: translate3d(-18px, 18px, 0) scale(1.1);
}

.course-card.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--purple), #4630ad);
  box-shadow: var(--shadow);
}

.course-card__level {
  position: absolute;
  top: 26px;
  left: 30px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
}

.course-card__age {
  position: absolute;
  top: 31px;
  right: 30px;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
}

.course-card strong,
.course-card small {
  grid-column: 1 / -1;
}

.course-card strong {
  font-size: clamp(22px, 2vw, 29px);
}

.course-card small {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.course-card.is-active small {
  color: rgba(255, 255, 255, .66);
}

.course-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 28px 0;
}

.course-nav button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.7);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .3s var(--ease-out-expo), box-shadow .3s ease;
}

.course-nav button:hover {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 12px 28px rgba(108, 78, 255, .24);
  transform: translateY(-3px);
}

.course-nav span {
  min-width: 68px;
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
  letter-spacing: .12em;
}

.course-panel {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(23, 21, 47, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, .88);
  box-shadow: 0 30px 90px rgba(70, 48, 173, .1);
  backdrop-filter: blur(18px);
}

.course-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 60px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.course-panel__header span {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.course-panel__header h3 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -.05em;
}

.course-panel__header p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-panel__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.course-panel__fact {
  padding: 22px 24px;
  background: rgba(255, 255, 255, .76);
}

.course-panel__fact strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.course-panel__fact p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.course-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.course-module {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-white);
  transition: border-color .3s ease, box-shadow .35s ease, transform .4s var(--ease-out-expo);
}

.course-module:hover {
  border-color: rgba(108, 78, 255, .3);
  box-shadow: 0 20px 48px rgba(62, 43, 139, .1);
  transform: translateY(-4px);
}

.course-module__header {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(108, 78, 255, .1), rgba(255, 255, 255, .82) 70%);
}

.course-module__header > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(108, 78, 255, .28);
  border-radius: 50%;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.course-module__header h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.course-module__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-detail {
  min-width: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-detail:nth-child(2n) {
  border-right: 0;
}

.course-detail:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.course-detail h5 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 13px;
  letter-spacing: .08em;
}

.course-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}

.course-detail li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.course-detail li::before {
  margin-right: 8px;
  color: var(--purple);
  content: "·";
}

.course-detail--growth ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

/* Pedagogy */
.pedagogy {
  background: var(--paper-white);
}

.pedagogy__layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.pedagogy__visual {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  height: min(720px, calc(100svh - 130px));
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--purple-pale);
  box-shadow: var(--shadow);
}

.pedagogy__visual picture,
.pedagogy__visual img {
  width: 100%;
  height: 100%;
}

.pedagogy__visual img {
  object-fit: cover;
  object-position: 50% 10%;
}

.pedagogy__content blockquote {
  margin: 58px 0 0;
  padding: 28px 0 28px 30px;
  border-left: 3px solid var(--gold);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.8;
}

.dimension-card {
  margin-top: 28px;
  padding: 36px;
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--night);
  transition: box-shadow .35s ease, transform .4s var(--ease-out-expo);
}

.dimension-card:hover {
  box-shadow: 0 24px 60px rgba(20, 17, 59, .2);
  transform: translateY(-5px);
}

.dimension-card .section-index {
  margin-bottom: 16px;
  color: var(--gold);
}

.dimension-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
}

.dimension-card > p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .58);
  line-height: 1.85;
}

.service-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 50px 150px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease-out-expo), color .25s ease;
}

.service-list article:hover {
  padding-inline: 12px;
  color: var(--purple);
}

.service-list article > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.service-list h3,
.service-list p {
  margin: 0;
}

.service-list h3 {
  font-size: 19px;
}

.service-list p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
  gap: clamp(60px, 9vw, 150px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  grid-template-columns: 52px 1fr 36px;
  gap: 16px;
  align-items: center;
  padding: 29px 0;
  border: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 720;
  cursor: pointer;
  transition: color .25s ease, padding .35s var(--ease-out-expo);
}

.faq-item button:hover {
  padding-inline: 12px;
  color: var(--purple);
}

.faq-item button span {
  color: var(--purple);
  font-size: 12px;
}

.faq-item button i {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 52px 30px 68px;
}

.faq-answer p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

/* Final inquiry */
.inquire {
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--night);
}

.inquire::before,
.inquire::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
}

.inquire::before {
  width: 620px;
  height: 620px;
  top: -310px;
  left: -180px;
}

.inquire::after {
  width: 760px;
  height: 760px;
  right: -280px;
  bottom: -440px;
}

.inquire__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: rgba(108, 78, 255, .24);
  filter: blur(80px);
  transform: translate(-50%, -50%);
}

.inquire .section-index {
  color: var(--gold);
}

.inquire h2 {
  margin: 0;
  font-size: clamp(46px, 6.5vw, 92px);
  letter-spacing: -.065em;
  line-height: 1.05;
}

.inquire h2 span {
  color: var(--gold);
}

.inquire__content > p:not(.section-index) {
  margin: 28px 0 34px;
  color: rgba(255,255,255,.62);
  font-size: 18px;
}

.inquire__services {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 72px 0 0;
  padding: 0;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  list-style: none;
}

.inquire__services li + li::before {
  margin-right: 22px;
  content: "·";
}

.site-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: transparent;
  text-align: center;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

/* Dialog */
.dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 39, .78);
  backdrop-filter: blur(12px);
}

.dialog-card {
  position: relative;
  z-index: 1;
  width: min(90vw, 410px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 36px 28px 28px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 30px;
  background: var(--paper-white);
  box-shadow: 0 40px 100px rgba(5, 3, 24, .4);
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--purple-pale);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.dialog-logo {
  width: min(170px, 66%);
  height: auto;
  margin: 0 auto 12px;
}

.dialog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.wecom-qr {
  width: min(260px, 100%);
  height: auto;
  margin: 18px auto;
  object-fit: contain;
}

.wecom-qr.is-unavailable,
.wecom-qr[hidden] {
  display: none;
}

.qr-error {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(108, 78, 255, .24);
  border-radius: 14px;
  color: #4a356f;
  background: #f4f1ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.dialog-primary,
.dialog-secondary {
  margin: 0;
}

.dialog-primary {
  font-size: 17px;
  font-weight: 750;
}

.dialog-secondary {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.noscript-card {
  max-width: 420px;
  margin: 30px auto;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

/* Progressive enhancement */
.js [data-reveal] {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(.985);
  filter: blur(5px);
  transition: opacity .68s ease, transform .88s var(--ease-out-expo), filter .7s ease;
  transition-delay: 0ms;
}

.js [data-reveal][data-motion-origin="above"] {
  transform: translate3d(0, -30px, 0) scale(.985);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: var(--reveal-delay);
}

.motion-surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.motion-surface::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, .15), transparent 44%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.motion-surface:hover::after {
  opacity: 1;
}

.motion-surface > * {
  z-index: 1;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 160px 1fr auto;
  }

  .site-menu {
    gap: 20px;
  }

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

  .metric-grid article:nth-child(2) {
    border-right: 0;
  }

  .metric-grid article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .ability-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ability-list article:nth-child(3) {
    border-right: 0;
  }

  .ability-list article:nth-child(-n+3) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .section-inner {
    width: min(calc(100% - 48px), var(--content-max));
  }

  .site-header {
    min-height: var(--header-height);
    grid-template-columns: 1fr auto;
    padding-left: 16px;
  }

  .brand {
    width: 130px;
  }

  .menu-button {
    display: flex;
    order: 2;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
  }

  .menu-button__icon {
    display: grid;
    gap: 6px;
    width: 20px;
  }

  .menu-button__icon i {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease;
  }

  .site-header.is-menu-open .menu-button__icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-button__icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-menu {
    position: fixed;
    top: calc(var(--header-height) + 20px);
    right: 0;
    left: 0;
    display: grid;
    padding: 20px 24px 30px;
    border-radius: 26px;
    color: var(--ink);
    background: rgba(255,253,249,.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-header.is-menu-open .site-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-menu a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .hero__picture {
    left: 0;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(12,10,42,.98), rgba(12,10,42,.75) 62%, rgba(12,10,42,.36));
  }

  .manifesto__grid,
  .section-heading--split,
  .pedagogy__layout,
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .manifesto__grid,
  .section-heading--split,
  .faq__layout {
    gap: 44px;
  }

  .advantage-grid,
  .course-selector {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 220px;
  }

  .course-modules {
    grid-template-columns: 1fr;
  }

  .pedagogy__visual {
    position: relative;
    top: auto;
    height: 520px;
  }
}

@media (max-width: 767px) {
  :root {
    --radius-lg: 26px;
    --radius-md: 18px;
  }

  .js [data-reveal],
  .js [data-reveal][data-motion-origin="above"] {
    filter: none;
    transform: translate3d(0, 24px, 0) scale(.992);
  }

  .js [data-reveal][data-motion-origin="above"] {
    transform: translate3d(0, -20px, 0) scale(.992);
  }

  .js [data-reveal].is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  .section-pad {
    padding-block: 86px;
  }

  .section-index,
  .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.16;
  }

  .section-heading h2 .heading-line {
    white-space: normal;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    grid-template-columns: 1fr auto;
  }

  .site-header.is-scrolled,
  .site-header.is-menu-open {
    top: 8px;
  }

  .brand {
    width: 122px;
  }

  .menu-button__label {
    display: none;
  }

  .menu-button {
    min-width: 48px;
    justify-content: center;
    padding: 0;
  }

  .site-menu {
    top: 72px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(12,10,42,.5), rgba(12,10,42,.96) 66%, rgba(12,10,42,1));
  }

  .hero__picture {
    inset: 0;
    opacity: .62;
  }

  .hero__picture img {
    object-position: center 18%;
  }

  .hero__content {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 120px;
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.2vw, 68px);
    line-height: 1.02;
  }

  .hero__lead {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
  }

  .button {
    min-height: 52px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .hero__facts {
    margin-top: 34px;
  }

  .hero__facts li {
    min-width: 0;
    flex: 1;
    padding-right: 12px;
  }

  .hero__facts li + li {
    padding-left: 12px;
  }

  .hero__facts strong {
    font-size: 14px;
  }

  .hero__facts span {
    font-size: 10px;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto__grid {
    gap: 48px;
  }

  .manifesto__copy p {
    font-size: 15px;
  }

  .manifesto__copy .manifesto__lead {
    font-size: 24px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 58px;
  }

  .metric-grid article {
    min-height: 190px;
    padding: 26px 18px;
  }

  .metric-grid strong {
    font-size: 46px;
  }

  .metric-grid h3 {
    margin-top: 14px;
    font-size: 16px;
  }

  .metric-grid p {
    font-size: 12px;
  }

  .ability-stage {
    margin-top: 78px;
  }

  .ability-stage__title {
    display: grid;
    gap: 18px;
  }

  .ability-stage__title > span {
    font-size: 28px;
  }

  .ability-list {
    grid-template-columns: 1fr;
  }

  .ability-list article,
  .ability-list article:nth-child(3) {
    min-height: 0;
    padding: 24px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .ability-list h3 {
    margin: 22px 0 10px;
  }

  .advantage-grid {
    margin-top: 76px;
  }

  .advantage-grid article {
    min-height: 285px;
    padding: 30px;
  }

  .advantage-grid h3 {
    margin-top: 64px;
  }

  .courses__heading {
    gap: 28px;
  }

  .course-selector {
    display: flex;
    gap: 12px;
    margin-right: -18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .course-selector::-webkit-scrollbar {
    display: none;
  }

  .course-card {
    min-width: min(82vw, 330px);
    min-height: 224px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .course-panel {
    padding: 26px 18px;
  }

  .course-panel__header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .course-panel__header h3 {
    font-size: 32px;
  }

  .course-panel__header p {
    font-size: 14px;
  }

  .course-panel__facts {
    grid-template-columns: 1fr;
  }

  .course-panel__fact {
    padding: 19px 20px;
  }

  .course-modules {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .course-module__header {
    min-height: 78px;
    padding: 18px 20px;
  }

  .course-module__header h4 {
    font-size: 18px;
  }

  .course-module__details {
    grid-template-columns: 1fr;
  }

  .course-detail,
  .course-detail:nth-child(2n),
  .course-detail:nth-last-child(-n + 2) {
    padding: 18px 20px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-detail:last-child {
    border-bottom: 0;
  }

  .course-detail--growth ul {
    grid-template-columns: 1fr;
  }

  .pedagogy__layout {
    gap: 52px;
  }

  .pedagogy__visual {
    height: 420px;
  }

  .pedagogy__content blockquote {
    margin-top: 38px;
    padding: 20px 0 20px 20px;
    font-size: 17px;
  }

  .dimension-card {
    padding: 26px;
  }

  .service-list article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .service-list p {
    grid-column: 2;
  }

  .faq__layout {
    gap: 52px;
  }

  .faq-item button {
    grid-template-columns: 32px 1fr 34px;
    gap: 10px;
    padding: 24px 0;
  }

  .faq-answer {
    padding: 0 0 26px 42px;
  }

  .inquire {
    min-height: 660px;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .inquire h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .inquire__content > p:not(.section-index) {
    font-size: 15px;
    line-height: 1.7;
  }

  .inquire__services {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 50px;
  }

  .inquire__services li + li::before {
    margin-right: 18px;
  }

  .dialog {
    padding: 14px;
  }

  .dialog-card {
    width: 100%;
    padding: 34px 22px 24px;
    border-radius: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .js .hero__picture,
  .js.is-page-ready .hero__picture,
  .js .hero__content > * {
    opacity: 1;
    transform: none;
  }

  .hero__content,
  .hero__picture,
  .hero__ambient {
    transform: none;
  }
}
