:root {
  --ink: #10131b;
  --ink-2: #1a1f2b;
  --paper: #f7f1e5;
  --paper-2: #ebe1ca;
  --paper-warm: #fff8eb;
  --navy: #171e55;
  --navy-deep: #070d2e;
  --blue: #24218b;
  --blue-2: #3157ff;
  --sky: #83d8ff;
  --gold: #d6a72c;
  --gold-2: #f2c95c;
  --line: rgba(22, 29, 63, 0.14);
  --muted: #696d78;
  --glass: rgba(255, 255, 255, 0.52);
  --shadow: 0 36px 100px rgba(7, 13, 46, 0.2);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(49, 87, 255, 0.12), transparent 58%),
    radial-gradient(ellipse at 92% 8%, rgba(242, 201, 92, 0.14), transparent 34%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a,
button,
summary,
[role="button"],
.detail-card,
.detail-link,
.detail-action,
.detail-affordance,
.detail-back,
.detail-side a,
.schedule-link,
.results-detail-panel,
.teacher-card,
.teacher-filter button,
.teacher-sheet-close,
.faq-item button,
.site-nav a,
.nav-toggle,
.sticky-actions a {
  -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}

.xm-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 58px;
  padding: 0 42px;
  background: rgba(246, 239, 223, 0.76);
  border-bottom: 1px solid rgba(22, 29, 63, 0.08);
  backdrop-filter: saturate(180%) blur(22px);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-2), var(--gold-2));
}

.site-header.scrolled,
.site-header.nav-open {
  background: rgba(246, 239, 223, 0.94);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 132px;
}

.brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 26px);
  font-size: 0.8rem;
}

.site-nav a {
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-2);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 26px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: clamp(10px, 1.2vw, 16px);
    font-size: 0.76rem;
  }

  .nav-cta {
    padding: 0 13px;
    font-size: 0.78rem;
  }
}

@media (max-width: 940px) {
  .site-header {
    padding: 0 22px;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.72rem;
  }

  .nav-cta {
    display: none;
  }
}

.nav-toggle {
  display: none;
  place-items: center;
  align-content: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  color: var(--navy);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 7vw 96px;
  background:
    radial-gradient(ellipse at 84% 44%, rgba(49, 87, 255, 0.13), transparent 36%),
    radial-gradient(ellipse at 76% 68%, rgba(242, 201, 92, 0.17), transparent 42%),
    linear-gradient(180deg, var(--paper-warm), var(--paper) 62%, var(--paper-2));
}

.hero-logo-bg {
  --px: 0px;
  --py: 0px;
  position: absolute;
  right: clamp(34px, 8vw, 118px);
  top: 25%;
  z-index: 1;
  width: clamp(210px, 22vw, 330px);
  aspect-ratio: 1;
  opacity: 0.11;
  filter: drop-shadow(0 34px 70px rgba(7, 13, 46, 0.16));
  transform-style: preserve-3d;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: stageGlow 7.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo-bg svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.xm-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-mobile-mark {
  --px: 0px;
  --py: 0px;
  display: none;
  width: 132px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 34px rgba(7, 13, 46, 0.16));
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mobile-mark .xm-mark-mobile {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1040px;
  text-align: center;
  perspective: 900px;
}

.motion-ready .hero-kicker,
.motion-ready .hero-sub,
.motion-ready .hero-glass,
.motion-ready .hero-actions {
  opacity: 0;
  translate: 0 16px;
  animation: fadeLift 940ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.motion-ready .hero-kicker {
  animation-delay: 140ms;
}

.motion-ready .hero-sub {
  animation-delay: 720ms;
}

.motion-ready .hero-glass {
  animation-delay: 880ms;
}

.motion-ready .hero-actions {
  animation-delay: 1040ms;
}

.motion-ready .hero h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(42px) rotateX(38deg);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  animation: heroWordIn 1080ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.motion-ready .hero h1 span:first-child {
  animation-delay: 300ms;
}

.motion-ready .hero h1 span:last-child {
  animation:
    heroWordIn 1080ms cubic-bezier(0.2, 0.8, 0.2, 1) 440ms forwards,
    textShimmer 7s ease-in-out 1520ms infinite;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  margin: 0 0 42px;
  padding: 0 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 11vw, 176px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  transform: translateZ(0);
}

.hero h1 span:first-child {
  color: var(--navy);
}

.hero h1 span:last-child {
  margin-left: 0.08em;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
  color: transparent;
  background: linear-gradient(110deg, var(--blue), var(--blue-2) 48%, var(--gold) 92%);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShimmer 7s ease-in-out infinite;
}

.hero-sub {
  max-width: 760px;
  margin: 38px auto 0;
  color: rgba(16, 19, 27, 0.76);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.7;
}

.hero-glass {
  --px: 0px;
  --py: 0px;
  display: inline-grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid rgba(36, 33, 139, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 48px rgba(7, 13, 46, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-glass span {
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 82px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(23, 30, 85, 0.72);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  opacity: 0;
  transform: translateX(-50%);
  translate: 0 12px;
  animation: fadeLift 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 1500ms forwards;
  pointer-events: none;
}

.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(23, 30, 85, 0.78), rgba(242, 201, 92, 0.8));
  animation: scrollBar 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(22, 29, 63, 0.18);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.hero-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 248, 235, 0.9), rgba(235, 225, 202, 0.72)),
    rgba(246, 239, 223, 0.78);
  backdrop-filter: blur(18px) saturate(170%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: translateX(-120%);
  animation: railSheen 7s ease-in-out infinite;
}

.rail-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: railMove var(--rail-duration, 34s) linear infinite;
}

.rail-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
}

.hero-rail span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  height: 100%;
  color: rgba(16, 19, 27, 0.65);
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.16em;
}

.hero-rail i {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.hero-rail i::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.72;
}

.manifest {
  position: relative;
  min-height: 58svh;
  display: grid;
  place-items: center;
  padding: 88px 7vw;
  background: var(--paper);
  overflow: hidden;
}

.manifest-logo {
  position: absolute;
  right: min(7vw, 92px);
  top: 50%;
  width: clamp(150px, 18vw, 260px);
  height: auto;
  opacity: 0.1;
  transform: translateY(-50%);
  pointer-events: none;
}

.manifest p {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.manifest p span {
  display: inline-block;
  color: rgba(23, 30, 85, 0.18);
  transition: color 320ms ease, text-shadow 320ms ease;
}

.manifest p span.active {
  color: var(--navy);
  text-shadow: 0 18px 46px rgba(49, 87, 255, 0.12);
}

.section {
  padding: 126px 7vw;
}

.chapter-divider {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 7vw;
  background: var(--paper);
  overflow: hidden;
}

.chapter-divider::before {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 29, 63, 0.1), transparent);
  transform: translateY(-50%);
}

.chapter-divider svg {
  position: relative;
  z-index: 1;
  display: block;
  width: min(360px, 58vw);
  height: auto;
  opacity: 0.38;
}

.chapter-divider-soft {
  background: linear-gradient(180deg, var(--paper), var(--paper-warm));
}

.chapter-divider-soft svg {
  opacity: 0.3;
}

.section-head {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 54px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

.section-head h2,
.contact-copy h2 {
  max-width: 860px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  gap: 78px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-copy h3 {
  max-width: 660px;
  margin: 0 0 26px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.18;
}

.about-copy p {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(16, 19, 27, 0.72);
  font-size: 1.06rem;
}

.about-action {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-top: 30px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.about-action::after {
  content: "";
  order: 2;
  flex: 0 0 40px;
  width: 40px;
  height: 1.5px;
  margin-left: 12px;
  background: currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0));
}

.about-action::before {
  content: "";
  order: 3;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0)) rotate(45deg);
}

.about-action:hover,
.about-action:focus-visible {
  --arrow-move: 4px;
  color: var(--gold);
  outline: none;
  transform: translateX(2px);
}

.about-action:hover::after,
.about-action:focus-visible::after,
.about-action:hover::before,
.about-action:focus-visible::before {
  opacity: 1;
}

.about-mark {
  --px: 0px;
  --py: 0px;
  position: relative;
  overflow: visible;
  aspect-ratio: 1.18;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-mark::before,
.about-mark::after {
  content: none;
}

.about-mark .xm-mark-small {
  position: relative;
  inset: auto;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(7, 13, 46, 0.16));
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 70px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-meta div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.about-meta div:last-child {
  border-right: 0;
}

.about-meta span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.about-meta strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2rem;
}

.about-meta small {
  margin-left: 7px;
  color: var(--muted);
}

.system,
.teachers,
.campus {
  background: var(--paper-warm);
}

.bento {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-auto-rows: minmax(184px, auto);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.bento article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 184px;
  padding: 30px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 24px;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
}

.bento article > *,
.program > *,
.campus-grid article > * {
  position: relative;
  z-index: 1;
}

.bento article::before,
.program::before,
.campus-grid article::before,
.teacher-feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(131, 216, 255, 0.28), transparent 36%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.bento article:hover,
.program:hover,
.campus-grid article:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 28px 70px rgba(7, 13, 46, 0.18);
}

.bento article:hover::before,
.program:hover::before,
.campus-grid article:hover::before,
.teacher-feature:hover::before {
  opacity: 1;
}

.bento .bento-main {
  grid-row: span 3;
  min-height: 588px;
  background:
    radial-gradient(circle at 20% 82%, rgba(49, 87, 255, 0.35), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--navy-deep) 72%);
}

.bento .bento-end {
  color: var(--navy);
  background: linear-gradient(135deg, var(--paper), var(--paper-2));
}

.bento span,
.course-label {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

.bento h3 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.15;
}

.bento p {
  margin: 0;
  color: rgba(246, 239, 223, 0.74);
}

.bento-end p {
  color: var(--muted);
}

.detail-card {
  position: relative;
  cursor: pointer;
  outline: none;
}

.detail-card:has(.detail-link:focus-visible) {
  box-shadow: 0 0 0 3px rgba(242, 201, 92, 0.42), 0 28px 70px rgba(7, 13, 46, 0.18);
}

.ladder article:has(.detail-action:focus-visible) {
  box-shadow: 0 0 0 3px rgba(242, 201, 92, 0.36), 0 18px 44px rgba(22, 29, 63, 0.08);
}

.detail-card > .detail-link {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: block;
  border-radius: inherit;
  color: transparent;
  font-size: 0;
}

.detail-card > .detail-link:focus-visible {
  outline: none;
}

.detail-affordance {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-top: 22px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  pointer-events: none;
  opacity: 0.82;
  transition: opacity 220ms ease, transform 220ms ease;
}

.detail-affordance::after {
  content: "";
  order: 2;
  flex: 0 0 40px;
  width: 40px;
  height: 1.5px;
  margin-left: 12px;
  background: currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0));
}

.detail-affordance::before {
  content: "";
  order: 3;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0)) rotate(45deg);
}

.detail-card:hover .detail-affordance,
.detail-card:has(.detail-link:focus-visible) .detail-affordance {
  --arrow-move: 4px;
  opacity: 1;
  transform: translateX(2px);
}

.detail-card:hover .detail-affordance::after,
.detail-card:has(.detail-link:focus-visible) .detail-affordance::after,
.detail-card:hover .detail-affordance::before,
.detail-card:has(.detail-link:focus-visible) .detail-affordance::before {
  opacity: 1;
}

.ladder .detail-affordance {
  color: var(--blue);
}

.ladder article:hover .detail-affordance {
  color: var(--gold-2);
}

.ladder article:hover .detail-action {
  color: var(--gold-2);
}

.program .detail-affordance {
  grid-column: 1 / -1;
  margin-top: 0;
}

.campus-grid .detail-affordance {
  margin-top: 24px;
}

.detail-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.detail-action::after {
  content: "";
  order: 2;
  flex: 0 0 40px;
  width: 40px;
  height: 1.5px;
  margin-left: 12px;
  background: currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0));
}

.detail-action::before {
  content: "";
  order: 3;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(var(--arrow-move, 0)) rotate(45deg);
}

.detail-action:hover,
.detail-action:focus-visible {
  --arrow-move: 4px;
  color: var(--gold);
  outline: none;
  transform: translateX(2px);
}

.detail-action:hover::after,
.detail-action:focus-visible::after,
.detail-action:hover::before,
.detail-action:focus-visible::before {
  opacity: 1;
}

.path {
  background: var(--paper);
}

.ladder {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 0 10px;
}

.ladder::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 32, 136, 0.2), rgba(214, 167, 44, 0.46), rgba(28, 32, 136, 0.2), transparent);
}

.ladder article {
  position: relative;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 24px 20px 26px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.24)),
    var(--paper-warm);
  box-shadow: 0 18px 44px rgba(22, 29, 63, 0.06);
  text-align: left;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.ladder article:nth-child(even) {
  margin-top: 54px;
}

.ladder article:hover {
  transform: translateY(-10px);
  color: var(--paper);
  border-color: rgba(242, 201, 92, 0.24);
  background:
    radial-gradient(circle at 18% 18%, rgba(49, 87, 255, 0.38), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 26px 70px rgba(7, 13, 46, 0.18);
}

.ladder span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 38px;
  border: 1px solid rgba(28, 32, 136, 0.14);
  border-radius: 999px;
  color: var(--gold-2);
  background: var(--navy);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ladder article:hover span {
  color: var(--navy);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.ladder h3 {
  margin: 52px 0 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.48rem;
  line-height: 1.12;
}

.ladder article:hover h3,
.ladder article:hover p {
  color: var(--paper);
}

.ladder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.schedule-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  max-width: 1180px;
  margin: 52px auto 0;
  padding: 34px 38px;
  border: 1px solid rgba(28, 32, 136, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 235, 0.9), rgba(235, 225, 202, 0.62)),
    var(--paper-warm);
  box-shadow: 0 18px 54px rgba(7, 13, 46, 0.08);
  overflow: hidden;
}

.schedule-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--gold-2));
}

.schedule-panel::after {
  content: "XM";
  position: absolute;
  right: 28px;
  top: 18px;
  color: rgba(28, 32, 136, 0.06);
  font-family: var(--serif);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.schedule-panel > * {
  position: relative;
  z-index: 1;
}

.schedule-panel h3 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1.08;
}

.schedule-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(28, 32, 136, 0.16);
  color: var(--paper);
  background: var(--navy);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  transition: transform 220ms ease, background 220ms ease;
}

.schedule-link::after {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 1.5px;
  margin-left: 12px;
  background: currentColor;
  transform: translateX(var(--arrow-move, 0));
  transition: transform 220ms ease;
}

.schedule-link::before {
  content: "";
  order: 3;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateX(var(--arrow-move, 0)) rotate(45deg);
  transition: transform 220ms ease;
}

.schedule-link:hover,
.schedule-link:focus-visible {
  --arrow-move: 4px;
  background: var(--blue);
  outline: none;
  transform: translateY(-2px);
}

.loop {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 74px auto 0;
  padding: 44px;
  border-radius: 28px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.loop h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.2rem;
}

.loop div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.loop span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(246, 239, 223, 0.2);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: var(--serif);
  font-weight: 900;
}

.teacher-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto 18px;
  color: var(--navy-deep);
  background:
    linear-gradient(135deg, rgba(255, 248, 235, 0.96), rgba(235, 225, 202, 0.78)),
    var(--paper-warm);
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(7, 13, 46, 0.12);
  overflow: hidden;
}

.teacher-photo {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-right: 1px solid rgba(22, 29, 63, 0.1);
  background:
    linear-gradient(135deg, rgba(36, 33, 139, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(214, 167, 44, 0.16)),
    var(--paper-2);
}

.teacher-photo img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 36px rgba(7, 13, 46, 0.18));
}

.teacher-detail {
  align-self: end;
  padding: 50px 58px;
}

.teacher-role {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.teacher-detail h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.teacher-detail p[data-feature-copy] {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(16, 19, 27, 0.72);
  font-size: 1.06rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.teacher-tags span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(28, 32, 136, 0.14);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
  font-weight: 850;
}

.teacher-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.teacher-filter button {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.teacher-filter button.active {
  color: var(--paper);
  background: var(--navy);
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.teacher-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(22, 29, 63, 0.11);
  border-radius: 22px;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.96), rgba(235, 225, 202, 0.9)),
    var(--paper-warm);
  text-align: left;
  box-shadow: 0 16px 44px rgba(7, 13, 46, 0.08);
}

.teacher-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  padding: 10px 8px 0;
  filter: drop-shadow(0 16px 24px rgba(7, 13, 46, 0.16));
  transition: transform 220ms ease;
}

.teacher-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(255, 248, 235, 0.88) 66%, rgba(255, 248, 235, 0.98));
}

.teacher-card.active {
  border-color: rgba(214, 167, 44, 0.62);
  box-shadow: 0 20px 54px rgba(7, 13, 46, 0.12);
}

.teacher-card:hover img,
.teacher-card.active img {
  transform: scale(1.04);
}

.teacher-card span,
.teacher-card small {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
}

.teacher-card span {
  bottom: 40px;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 800;
}

.teacher-card small {
  bottom: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

html.teacher-sheet-open,
body.teacher-sheet-open {
  overflow: hidden;
}

.teacher-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: end;
  pointer-events: none;
  --sheet-offset: 0px;
  --sheet-backdrop-opacity: 0;
  --sheet-backdrop-blur: 0px;
}

.teacher-sheet[hidden] {
  display: none;
}

.teacher-sheet.is-open,
.teacher-sheet.is-closing {
  pointer-events: auto;
}

.teacher-sheet.is-open,
.teacher-sheet.is-closing {
  --sheet-backdrop-opacity: 0.78;
  --sheet-backdrop-blur: 14px;
}

.teacher-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(7, 13, 46, 0.2), rgba(7, 13, 46, 0.72));
  opacity: var(--sheet-backdrop-opacity);
  backdrop-filter: blur(var(--sheet-backdrop-blur)) saturate(0.88);
  -webkit-backdrop-filter: blur(var(--sheet-backdrop-blur)) saturate(0.88);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 360ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teacher-sheet-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  max-height: min(86svh, 780px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.985), rgba(235, 225, 202, 0.94)),
    var(--paper-warm);
  box-shadow:
    0 -24px 68px rgba(7, 13, 46, 0.24),
    0 -1px 0 rgba(255, 255, 255, 0.34) inset;
  transform: translate3d(0, calc(100% + var(--sheet-offset)), 0);
  transform-origin: bottom center;
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms ease;
  will-change: transform;
}

.teacher-sheet-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 82px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 74%);
}

.teacher-sheet-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(22, 29, 63, 0.24), transparent);
}

.teacher-sheet.is-open .teacher-sheet-panel {
  transform: translate3d(0, var(--sheet-offset), 0);
}

.teacher-sheet.is-dragging .teacher-sheet-backdrop,
.teacher-sheet.is-dragging .teacher-sheet-panel {
  transition: none;
}

.teacher-sheet.is-dragging .teacher-sheet-panel {
  box-shadow:
    0 -16px 44px rgba(7, 13, 46, 0.18),
    0 -1px 0 rgba(255, 255, 255, 0.26) inset;
}

.teacher-sheet-rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 72px 10px;
  touch-action: none;
}

.teacher-sheet-handle {
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22, 29, 63, 0.16), rgba(22, 29, 63, 0.34), rgba(22, 29, 63, 0.16));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 8px 16px rgba(7, 13, 46, 0.12);
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background 220ms ease;
}

.teacher-sheet.is-dragging .teacher-sheet-handle {
  transform: scaleX(1.12);
  background: linear-gradient(90deg, rgba(22, 29, 63, 0.2), rgba(22, 29, 63, 0.44), rgba(22, 29, 63, 0.2));
}

.teacher-sheet-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 24px rgba(7, 13, 46, 0.12);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.teacher-sheet-close:focus-visible {
  outline: 2px solid rgba(28, 32, 136, 0.36);
  outline-offset: 2px;
}

.teacher-sheet-close:active,
.teacher-sheet-close.is-tap-motion {
  transform: scale(0.92) rotate(90deg);
  border-color: rgba(22, 29, 63, 0.18);
  box-shadow: 0 6px 12px rgba(7, 13, 46, 0.12);
}

.teacher-sheet-close::before,
.teacher-sheet-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--navy);
}

.teacher-sheet-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.teacher-sheet-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.teacher-sheet-media {
  min-height: 276px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 2px;
  touch-action: none;
  border-bottom: 1px solid rgba(22, 29, 63, 0.08);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.74), transparent 34%),
    linear-gradient(135deg, rgba(36, 33, 139, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(214, 167, 44, 0.18)),
    var(--paper-2);
}

.teacher-sheet-media img {
  width: 100%;
  height: 276px;
  object-fit: contain;
  object-position: bottom center;
  padding: 18px 24px 0;
  filter: drop-shadow(0 20px 28px rgba(7, 13, 46, 0.18));
}

.teacher-sheet-detail {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 32%);
}

.teacher-sheet-detail h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3rem);
  line-height: 1;
}

.teacher-sheet-copy {
  margin: 18px 0 0;
  color: rgba(16, 19, 27, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

.teacher-sheet-tags {
  margin-top: 20px;
}

.programs {
  background: var(--navy-deep);
  color: var(--paper);
}

.programs .section-head h2,
.programs .section-head p:not(.eyebrow) {
  color: var(--paper);
}

.program-list {
  display: grid;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.program {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.56fr 0.56fr;
  gap: 32px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(246, 239, 223, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
}

.program.featured {
  border-color: rgba(198, 154, 74, 0.52);
}

.program-label {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.program h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
}

.program p:not(.program-label) {
  margin: 0;
  color: rgba(246, 239, 223, 0.68);
}

.price-box {
  padding: 24px;
  border-radius: 20px;
  background: rgba(246, 239, 223, 0.08);
}

.price-box span {
  color: var(--gold-2);
  font-size: 0.86rem;
}

.price-box strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 2.2rem;
}

.price-box small {
  display: block;
  margin-top: 10px;
  color: rgba(246, 239, 223, 0.56);
}

.results {
  position: relative;
  background: linear-gradient(180deg, var(--paper-warm), var(--paper));
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 167, 44, 0.7), transparent);
}

.results-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
}

.results-head p:not(.eyebrow) {
  margin-top: 0;
}

.results-head h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.results-head h2 span {
  display: block;
  white-space: nowrap;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-stats article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 246px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 28px 34px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.results-stats article:last-child {
  border-right: 0;
}

.results-stats span {
  position: absolute;
  right: 24px;
  top: 22px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.results-stats strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3.15rem, 5.5vw, 5.8rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.results-stats sup {
  margin-left: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.23em;
  font-style: normal;
  font-weight: 900;
  vertical-align: super;
}

.results-stats p {
  max-width: 190px;
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.results-detail-panel {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 22px 0;
  border-top: 1px solid rgba(22, 29, 63, 0.12);
  border-bottom: 1px solid rgba(22, 29, 63, 0.12);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 260ms ease,
    color 260ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.results-detail-panel span {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.results-detail-panel strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.38rem, 2.6vw, 2.15rem);
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: 0;
}

.results-detail-panel em {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.results-detail-panel em::after {
  content: "";
  flex: 0 0 42px;
  width: 42px;
  height: 1.5px;
  margin-left: 12px;
  background: currentColor;
  transition: transform 220ms ease;
  transform: translateX(var(--arrow-move, 0));
}

.results-detail-panel em::before {
  content: "";
  order: 3;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform 220ms ease;
  transform: translateX(var(--arrow-move, 0)) rotate(45deg);
}

.results-detail-panel:hover,
.results-detail-panel:focus-visible {
  --arrow-move: 5px;
  border-color: rgba(28, 90, 171, 0.34);
  color: var(--blue);
  outline: none;
  transform: translateY(-2px);
}

.results-detail-panel:active {
  --arrow-move: 3px;
  transform: translateY(0);
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 42px auto 0;
}

.winner-grid article {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 258px;
  padding: 28px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.24)),
    var(--paper-warm);
  box-shadow: 0 18px 54px rgba(7, 13, 46, 0.08);
  overflow: hidden;
}

.winner-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--gold-2));
}

.winner-grid article > * {
  position: relative;
  z-index: 1;
}

.winner-grid p {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.85;
}

.winner-grid div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 29, 63, 0.1);
}

.winner-grid strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.26rem;
}

.winner-grid span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: right;
  overflow-wrap: anywhere;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.campus-grid article {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: 28px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
}

.campus-grid span {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.campus-grid h3 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: 2.6rem;
}

.campus-grid p {
  margin: 0;
  color: rgba(246, 239, 223, 0.72);
}

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

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.28rem;
  text-align: left;
  transition: transform 180ms ease;
}

.faq-item button span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.faq-item.open button span {
  color: var(--paper);
  background: var(--navy);
  transform: rotate(45deg);
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  transition: max-height 260ms ease, padding 260ms ease;
}

.faq-item.open p {
  max-height: 180px;
  padding: 0 0 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 76px;
  align-items: start;
  padding: 132px 7vw;
  color: var(--paper);
  background: var(--navy-deep);
}

.contact-copy h2 {
  color: var(--paper);
}

.contact-copy p:not(.eyebrow) {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(246, 239, 223, 0.7);
  font-size: 1.08rem;
}

.contact-copy a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--gold-2);
  font-weight: 900;
}

.consult-form {
  display: grid;
  gap: 16px;
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: rgba(246, 239, 223, 0.82);
  font-weight: 800;
}

.consult-form input,
.consult-form select {
  min-height: 54px;
  width: 100%;
  padding: 0 15px;
  border: 1px solid rgba(246, 239, 223, 0.18);
  border-radius: 0;
  color: var(--paper);
  background: rgba(246, 239, 223, 0.08);
}

.consult-form input::placeholder {
  color: rgba(246, 239, 223, 0.45);
}

.consult-form input:focus,
.consult-form select:focus {
  border-color: var(--gold-2);
  outline: none;
}

.consult-form select option {
  color: var(--ink);
}

.consult-form .button {
  width: max-content;
}

.form-note {
  margin: 0;
  min-height: 28px;
  color: rgba(246, 239, 223, 0.56);
}

.form-note.success {
  color: var(--gold-2);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 7vw;
  color: rgba(246, 239, 223, 0.55);
  background: #050814;
}

.site-footer img {
  width: 148px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 239, 223, 0.22);
  border-radius: 50%;
}

.sticky-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-actions.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-actions a {
  min-width: 112px;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(22, 29, 63, 0.2);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sticky-actions a:first-child {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.detail-page {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(49, 87, 255, 0.12), transparent 38%),
    linear-gradient(180deg, var(--paper-warm), var(--paper) 46%, var(--paper-2));
}

.detail-main {
  overflow: hidden;
}

.detail-main[hidden],
.detail-not-found[hidden] {
  display: none;
}

.detail-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  padding: 138px 8vw 76px;
  overflow: hidden;
}

.detail-hero-copy,
.detail-hero-media,
.detail-showcase,
.detail-layout {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-main.is-ready .detail-hero-copy,
.detail-main.is-ready .detail-hero-media,
.detail-main.is-ready .detail-showcase,
.detail-main.is-ready .detail-layout {
  opacity: 1;
  translate: 0 0;
}

.detail-main.is-ready .detail-hero-media {
  transition-delay: 100ms;
}

.detail-main.is-ready .detail-showcase {
  transition-delay: 170ms;
}

.detail-main.is-ready .detail-layout {
  transition-delay: 240ms;
}

.detail-logo-bg {
  position: absolute;
  right: clamp(28px, 8vw, 128px);
  top: 118px;
  width: clamp(210px, 28vw, 420px);
  opacity: 0.08;
  pointer-events: none;
}

.detail-logo-bg svg {
  width: 100%;
  height: auto;
}

.detail-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 42px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  transition: color 180ms ease, transform 180ms ease;
}

.detail-back::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.detail-title-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 900px);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.detail-title-row span {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(28, 32, 136, 0.18);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-weight: 900;
}

.detail-title-row h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 8.2rem);
  line-height: 0.95;
}

.detail-lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.8;
}

.detail-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin-top: 30px;
}

.detail-chips span {
  padding: 8px 13px;
  border: 1px solid rgba(28, 32, 136, 0.14);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.36);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-hero-media {
  position: relative;
  z-index: 2;
  align-self: end;
  margin: 28px 0 0;
}

.detail-hero-media::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 24px;
  width: 58px;
  height: 58px;
  border-left: 10px solid var(--gold);
  border-bottom: 10px solid var(--gold);
  opacity: 0.9;
}

.detail-hero-media img {
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  border: 1px solid rgba(22, 29, 63, 0.12);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(7, 13, 46, 0.18);
}

.detail-hero-media figcaption {
  margin-top: 14px;
  color: rgba(16, 19, 27, 0.62);
  font-size: 0.86rem;
  line-height: 1.7;
}

.detail-divider {
  padding-top: 0;
  padding-bottom: 0;
}

.detail-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  padding: 74px 8vw 48px;
}

.detail-showcase-copy {
  position: sticky;
  top: 92px;
}

.detail-showcase-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 1.04;
}

.detail-showcase-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.detail-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-image-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(7, 13, 46, 0.08);
}

.detail-image-grid figure:first-child {
  grid-column: 1 / -1;
}

.detail-image-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-image-grid figure:not(:first-child) img {
  aspect-ratio: 4 / 3;
}

.detail-image-grid figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.detail-image-grid strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.34rem;
  line-height: 1.18;
}

.detail-image-grid span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 820px);
  gap: clamp(42px, 8vw, 112px);
  align-items: start;
  padding: 72px 8vw 120px;
}

.detail-side {
  position: sticky;
  top: 92px;
  padding-left: 24px;
  border-left: 4px solid var(--gold);
}

.detail-side p {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.detail-side strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.18;
}

.detail-side a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 28px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--navy);
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

.detail-article {
  display: grid;
  gap: 54px;
}

.detail-section {
  padding-top: 34px;
  border-top: 1px solid rgba(22, 29, 63, 0.14);
}

.detail-section h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.detail-section p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.9;
}

.detail-section .detail-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.34);
  font-weight: 800;
}

.detail-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-section li {
  position: relative;
  min-height: 44px;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(28, 32, 136, 0.1);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.detail-section li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.detail-not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 120px 22px;
  text-align: center;
}

.detail-not-found img {
  width: 150px;
}

.detail-not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4rem);
}

.detail-not-found p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: translateY(24px) scale(0.992);
  transition: transform 1120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.motion-ready .reveal .section-head,
.motion-ready .reveal .about-copy,
.motion-ready .reveal .about-mark,
.motion-ready .reveal .about-meta,
.motion-ready .reveal .bento article,
.motion-ready .reveal .ladder article,
.motion-ready .reveal .schedule-panel,
.motion-ready .reveal .loop,
.motion-ready .reveal .program,
.motion-ready .reveal .results-stats article,
.motion-ready .reveal .results-detail-panel,
.motion-ready .reveal .winner-grid article,
.motion-ready .reveal .campus-grid article,
.motion-ready .reveal .faq-item,
.motion-ready .reveal-unit {
  opacity: 0;
  translate: 0 44px;
  filter: blur(8px);
  transition:
    opacity 1120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    translate 1120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 1120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .reveal.is-visible .section-head,
.motion-ready .reveal.is-visible .about-copy,
.motion-ready .reveal.is-visible .about-mark,
.motion-ready .reveal.is-visible .about-meta,
.motion-ready .reveal.is-visible .bento article,
.motion-ready .reveal.is-visible .ladder article,
.motion-ready .reveal.is-visible .schedule-panel,
.motion-ready .reveal.is-visible .loop,
.motion-ready .reveal.is-visible .program,
.motion-ready .reveal.is-visible .results-stats article,
.motion-ready .reveal.is-visible .results-detail-panel,
.motion-ready .reveal.is-visible .winner-grid article,
.motion-ready .reveal.is-visible .campus-grid article,
.motion-ready .reveal.is-visible .faq-item,
.motion-ready .reveal-unit.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.motion-ready .reveal.is-visible .bento article:nth-child(2),
.motion-ready .reveal.is-visible .ladder article:nth-child(2),
.motion-ready .reveal.is-visible .results-stats article:nth-child(2),
.motion-ready .reveal.is-visible .winner-grid article:nth-child(2),
.motion-ready .reveal.is-visible .campus-grid article:nth-child(2),
.motion-ready .reveal.is-visible .faq-item:nth-child(2) {
  transition-delay: 90ms;
}

.motion-ready .reveal.is-visible .bento article:nth-child(3),
.motion-ready .reveal.is-visible .ladder article:nth-child(3),
.motion-ready .reveal.is-visible .results-stats article:nth-child(3),
.motion-ready .reveal.is-visible .winner-grid article:nth-child(3),
.motion-ready .reveal.is-visible .faq-item:nth-child(3) {
  transition-delay: 160ms;
}

.motion-ready .reveal.is-visible .bento article:nth-child(4),
.motion-ready .reveal.is-visible .ladder article:nth-child(4),
.motion-ready .reveal.is-visible .results-stats article:nth-child(4) {
  transition-delay: 230ms;
}

.motion-ready .reveal.is-visible .bento article:nth-child(5),
.motion-ready .reveal.is-visible .ladder article:nth-child(5) {
  transition-delay: 300ms;
}

@keyframes railMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(var(--rail-shift, 1600px) * -1));
  }
}

@keyframes railSheen {
  0%, 64% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes fadeLift {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes scrollBar {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  48% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes pieceIn {
  from {
    opacity: 0;
    translate: 0 28px;
    scale: 0.86;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes softDrift {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@keyframes goldPulse {
  0%, 100% { filter: drop-shadow(0 18px 26px rgba(214, 167, 44, 0.24)) brightness(1); }
  50% { filter: drop-shadow(0 26px 40px rgba(242, 201, 92, 0.42)) brightness(1.08); }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes stageGlow {
  0%, 100% { filter: drop-shadow(0 38px 90px rgba(7, 13, 46, 0.2)); }
  50% { filter: drop-shadow(0 46px 110px rgba(49, 87, 255, 0.26)); }
}

@keyframes markBuild {
  from {
    opacity: 0;
    translate: 0 30px;
    scale: 0.86;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes markFloat {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

@keyframes textShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.touch-motion .hero-logo-bg,
.touch-motion .hero-mobile-mark,
.touch-motion .hero-glass,
.touch-motion .about-mark {
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .bento article:hover,
  .program:hover,
  .campus-grid article:hover,
  .ladder article:hover {
    transform: none;
  }

  .button:active,
  .button.is-tap-motion {
    transform: scale(0.985);
  }

  .bento article:hover,
  .program:hover,
  .campus-grid article:hover {
    box-shadow: none;
  }

  .bento article:hover::before,
  .program:hover::before,
  .campus-grid article:hover::before,
  .teacher-feature:hover::before {
    opacity: 0;
  }

  .ladder article:hover {
    color: var(--ink);
    border-color: rgba(22, 29, 63, 0.12);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.24)),
      var(--paper-warm);
    box-shadow: 0 18px 44px rgba(22, 29, 63, 0.06);
  }

  .ladder article:hover span {
    color: var(--gold-2);
    background: var(--navy);
    border-color: rgba(28, 32, 136, 0.14);
  }

  .ladder article:hover h3 {
    color: var(--navy);
  }

  .ladder article:hover p {
    color: var(--muted);
  }

  .ladder article:hover .detail-affordance {
    color: var(--blue);
  }

  .ladder article:hover .detail-action {
    color: var(--blue);
  }

  .teacher-card:hover:not(.active) img {
    transform: none;
  }

  .teacher-card:active img,
  .teacher-card.is-tap-motion img {
    transform: scale(1.02);
  }

  .detail-card:active,
  .detail-card.is-tap-motion {
    transform: scale(0.99);
  }

  .schedule-link:hover {
    --arrow-move: 0;
    background: var(--navy);
    transform: none;
  }

  .results-detail-panel:hover {
    --arrow-move: 0;
    border-color: rgba(22, 29, 63, 0.12);
    color: var(--ink);
    transform: none;
  }

  .about-action:active,
  .about-action.is-tap-motion,
  .detail-action:active,
  .detail-action.is-tap-motion {
    --arrow-move: 5px;
    color: var(--gold);
    transform: translateX(3px);
  }

  .about-action:active::after,
  .about-action:active::before,
  .about-action.is-tap-motion::after,
  .about-action.is-tap-motion::before,
  .detail-action:active::after,
  .detail-action:active::before,
  .detail-action.is-tap-motion::after,
  .detail-action.is-tap-motion::before {
    opacity: 1;
  }

  .detail-card:active .detail-affordance,
  .detail-card.is-tap-motion .detail-affordance {
    --arrow-move: 5px;
    opacity: 1;
    transform: translateX(3px);
  }

  .detail-card:active .detail-affordance::after,
  .detail-card:active .detail-affordance::before,
  .detail-card.is-tap-motion .detail-affordance::after,
  .detail-card.is-tap-motion .detail-affordance::before {
    opacity: 1;
  }

  .schedule-link:active,
  .schedule-link.is-tap-motion {
    --arrow-move: 5px;
    background: var(--navy);
    transform: scale(0.985);
  }

  .results-detail-panel:active,
  .results-detail-panel.is-tap-motion {
    --arrow-move: 6px;
    border-color: rgba(28, 90, 171, 0.34);
    color: var(--blue);
    transform: scale(0.992);
  }

  .teacher-filter button:active,
  .teacher-filter button.is-tap-motion,
  .faq-item button:active,
  .faq-item button.is-tap-motion,
  .site-nav a:active,
  .site-nav a.is-tap-motion {
    background: transparent;
  }

  .teacher-filter button:active,
  .teacher-filter button.is-tap-motion,
  .faq-item button:active,
  .faq-item button.is-tap-motion {
    transform: scale(0.97);
  }

  .site-nav a:active,
  .site-nav a.is-tap-motion {
    color: var(--blue-2);
    transform: scale(0.98);
  }

  .teacher-filter button.active:active,
  .teacher-filter button.active.is-tap-motion {
    background: var(--navy);
  }

  .nav-toggle.is-tap-motion,
  .sticky-actions a.is-tap-motion,
  .detail-side a.is-tap-motion {
    transform: scale(0.965);
  }

  .detail-back.is-tap-motion {
    color: var(--gold);
    transform: translateX(-3px);
  }
}

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

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

  .bento .bento-main {
    grid-row: auto;
    grid-column: span 2;
    min-height: 360px;
  }

  .ladder {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ladder::before {
    display: none;
  }

  .ladder article:nth-child(even) {
    margin-top: 0;
  }

  .teacher-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .program {
    grid-template-columns: 1fr;
  }

  .results-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
  }

  .results-stats article {
    min-height: 224px;
    border-bottom: 1px solid var(--line);
  }

  .results-stats article:nth-child(2n) {
    border-right: 0;
  }

  .results-stats strong {
    font-size: clamp(4rem, 9vw, 5.8rem);
  }

  .results-detail-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .results-detail-panel strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .winner-grid div {
    align-items: start;
    flex-direction: column;
  }

  .winner-grid span {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .teacher-feature {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 56px;
    padding: 0 18px;
  }

  .brand img {
    width: 116px;
  }

  .brand span,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(22, 29, 63, 0.14);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 10px;
    background: rgba(22, 29, 63, 0.05);
    text-align: center;
  }

  .hero {
    min-height: 100svh;
    padding: 82px 22px 112px;
  }

  .hero-mobile-mark {
    display: block;
  }

  .hero-kicker {
    max-width: 100%;
    padding: 0 14px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 80px);
    line-height: 1.1;
  }

  .hero h1 span {
    display: block;
    line-height: 1.1;
  }

  .motion-ready .hero h1 span {
    display: block;
  }

  .hero h1 span:last-child {
    margin-left: 0;
    margin-top: 2px;
  }

  .hero-sub {
    margin-top: 28px;
    font-size: 1.08rem;
    line-height: 1.9;
  }

  .hero-logo-bg {
    display: none;
  }

  .hero-glass {
    margin-top: 24px;
    max-width: 100%;
  }

  .hero-glass span {
    min-width: 48px;
  }

  .hero-rail {
    height: 56px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-rail span {
    min-width: 168px;
    font-size: 0.82rem;
  }

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

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
  }

  .sticky-actions {
    display: none;
  }

  .manifest {
    min-height: auto;
    padding: 78px 22px;
  }

  .manifest p {
    text-align: left;
  }

  .section,
  .contact {
    padding: 84px 22px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 92px 22px 48px;
  }

  .detail-logo-bg {
    right: -44px;
    top: 92px;
    width: 210px;
    opacity: 0.1;
  }

  .detail-back {
    margin-bottom: 28px;
  }

  .detail-title-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-title-row span {
    width: fit-content;
    min-width: 44px;
    min-height: 44px;
  }

  .detail-title-row h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .detail-lead {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.78;
  }

  .detail-chips {
    gap: 8px;
    margin-top: 22px;
  }

  .detail-hero-media {
    align-self: stretch;
    margin-top: 4px;
  }

  .detail-hero-media::before {
    left: -10px;
    top: 18px;
    width: 38px;
    height: 38px;
    border-left-width: 7px;
    border-bottom-width: 7px;
  }

  .detail-hero-media img {
    aspect-ratio: 1.08;
    box-shadow: 0 18px 46px rgba(7, 13, 46, 0.14);
  }

  .detail-hero-media figcaption {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .detail-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 22px 24px;
  }

  .detail-showcase-copy {
    position: static;
  }

  .detail-showcase-copy h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .detail-showcase-copy p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 0.98rem;
  }

  .detail-image-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-image-grid figure:first-child {
    grid-column: auto;
  }

  .detail-image-grid img,
  .detail-image-grid figure:not(:first-child) img {
    aspect-ratio: 1.2;
  }

  .detail-image-grid figcaption {
    padding: 16px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 52px 22px 92px;
  }

  .detail-side {
    position: static;
    padding-left: 18px;
  }

  .detail-side strong {
    font-size: 1.6rem;
  }

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

  .motion-ready .reveal .section-head,
  .motion-ready .reveal .about-copy,
  .motion-ready .reveal .about-mark,
  .motion-ready .reveal .about-meta,
  .motion-ready .reveal .bento article,
  .motion-ready .reveal .ladder article,
  .motion-ready .reveal .schedule-panel,
  .motion-ready .reveal .loop,
  .motion-ready .reveal .program,
  .motion-ready .reveal .results-stats article,
  .motion-ready .reveal .results-detail-panel,
  .motion-ready .reveal .winner-grid article,
  .motion-ready .reveal .campus-grid article,
  .motion-ready .reveal .faq-item,
  .motion-ready .reveal-unit {
    translate: 0 14px;
    transition:
      opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
      translate 620ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 620ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .motion-ready .reveal.is-visible .bento article,
  .motion-ready .reveal.is-visible .ladder article,
  .motion-ready .reveal.is-visible .schedule-panel,
  .motion-ready .reveal.is-visible .program,
  .motion-ready .reveal.is-visible .results-stats article,
  .motion-ready .reveal.is-visible .results-detail-panel,
  .motion-ready .reveal.is-visible .winner-grid article,
  .motion-ready .reveal.is-visible .campus-grid article,
  .motion-ready .reveal.is-visible .faq-item,
  .motion-ready .reveal-unit.is-visible {
    transition-delay: 0ms;
  }

  .chapter-divider {
    padding: 6px 22px;
  }

  .chapter-divider::before {
    left: 22px;
    right: 22px;
  }

  .chapter-divider svg {
    width: min(250px, 70vw);
    opacity: 0.3;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .about-grid,
  .contact,
  .results-head,
  .teacher-feature,
  .campus-grid {
    grid-template-columns: 1fr;
  }

  .about-mark {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-meta,
  .bento,
  .ladder,
  .schedule-panel,
  .loop,
  .winner-grid,
  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .about-meta div,
  .about-meta div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bento .bento-main {
    grid-column: auto;
    min-height: auto;
  }

  .bento article,
  .ladder article,
  .course-map article {
    min-height: auto;
  }

  .ladder article {
    border-radius: 22px;
  }

  .schedule-panel {
    gap: 24px;
    margin-top: 36px;
    padding: 28px 22px 26px;
  }

  .schedule-panel::after {
    right: 14px;
    top: 16px;
    font-size: 5rem;
  }

  .schedule-link {
    width: 100%;
    justify-content: center;
  }

  .loop div {
    grid-template-columns: repeat(5, minmax(56px, 1fr));
    overflow-x: auto;
  }

  .results-stats {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    max-width: none;
    margin: 0 -22px;
    padding: 2px 22px 12px;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 0;
    scroll-padding: 22px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .results-stats::-webkit-scrollbar {
    display: none;
  }

  .results-stats article {
    flex: 0 0 min(78vw, 310px);
    min-height: 188px;
    padding: 30px 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    scroll-snap-align: start;
  }

  .results-stats article:nth-child(2n),
  .results-stats article:last-child {
    border-right: 1px solid var(--line);
  }

  .results-stats strong {
    font-size: clamp(3.4rem, 15vw, 4.9rem);
  }

  .results-stats p {
    max-width: none;
    margin-top: 18px;
  }

  .results-detail-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
    padding: 20px 0;
  }

  .results-detail-panel strong {
    grid-column: auto;
    grid-row: auto;
    font-size: 1.42rem;
  }

  .results-detail-panel em {
    width: fit-content;
    min-height: 40px;
    align-items: center;
  }

  .winner-grid {
    margin-top: 24px;
  }

  .winner-grid article {
    min-height: auto;
    padding: 24px 22px;
  }

  .winner-grid p {
    font-size: 1.04rem;
  }

  .winner-grid div {
    align-items: start;
    flex-direction: column;
  }

  .winner-grid span {
    text-align: left;
  }

  .teacher-photo,
  .teacher-photo img {
    min-height: 390px;
    height: 390px;
  }

  .teacher-photo {
    border-right: 0;
    border-bottom: 1px solid rgba(22, 29, 63, 0.1);
  }

  .teacher-detail {
    padding: 30px 24px 34px;
  }

  .teacher-detail h3 {
    font-size: 3rem;
  }

  .teacher-filter {
    width: 100%;
    border-radius: 20px;
    justify-content: center;
  }

  .teacher-card {
    min-height: 226px;
  }

  .contact {
    gap: 42px;
  }

  .consult-form .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px 96px;
  }

  .sticky-actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-rail span {
    min-width: 150px;
  }

  .section-head h2,
  .contact-copy h2 {
    font-size: 2.55rem;
  }

  .program h3 {
    font-size: 2.35rem;
  }
}
