: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);
  --radius-apple-sm: 18px;
  --radius-apple-md: 24px;
  --radius-apple-lg: 32px;
  --radius-apple-xl: 40px;
  --radius-pill: 999px;
  --radius-circle: 50%;
  --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;
  overscroll-behavior-y: none;
}

.page-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  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%;
}

@supports (corner-shape: squircle) {
  :where(
    .about-meta,
    .system-map,
    .system-axis span,
    .bento article,
    .ladder article,
    .schedule-panel,
    .loop,
    .teacher-feature,
    .teacher-card,
    .teacher-sheet,
    .program,
    .price-box,
    .campus-grid article,
    .contact,
    .form-card input,
    .form-card select,
    .faq-item,
    .detail-visual img,
    .detail-side,
    .sticky-actions a
  ) {
    corner-shape: squircle;
  }

  :where(
    .brand span,
    .nav-toggle,
    .hero-glass,
    .hero-glass span,
    .button,
    .detail-action,
    .schedule-link,
    .teacher-tags span,
    .teacher-filter,
    .teacher-filter button,
    .teacher-sheet-close,
    .sticky-actions a
  ) {
    corner-shape: round;
  }
}

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-floating-back,
.detail-side a,
.footer-top,
.schedule-link,
.results-detail-panel,
.teacher-card,
.teacher-filter button,
.teacher-sheet-close,
.faq-item button,
.site-nav a,
.nav-more summary,
.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: 14px;
  left: clamp(14px, 3vw, 42px);
  right: clamp(14px, 3vw, 42px);
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  height: 64px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(247, 241, 229, 0.8)),
    rgba(255, 248, 235, 0.84);
  box-shadow:
    0 22px 54px rgba(7, 13, 46, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 6px;
  width: var(--scroll-progress, 0%);
  max-width: calc(100% - 44px);
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue-2), var(--gold-2));
  opacity: 0.72;
}

.site-header.scrolled,
.site-header.nav-open {
  border-color: rgba(22, 29, 63, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(247, 241, 229, 0.9)),
    rgba(255, 248, 235, 0.94);
  box-shadow:
    0 18px 44px rgba(7, 13, 46, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 48px;
  padding: 0 13px 0 2px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
  outline: none;
}

.brand img {
  width: clamp(112px, 10vw, 132px);
  height: auto;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid rgba(22, 29, 63, 0.13);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  min-width: 0;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(22, 29, 63, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(22, 29, 63, 0.045);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.64) inset,
    0 10px 24px rgba(7, 13, 46, 0.05);
  font-size: clamp(0.74rem, 0.78vw, 0.84rem);
  overflow: visible;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 clamp(9px, 0.9vw, 14px);
  border-radius: var(--radius-pill);
  color: rgba(16, 19, 27, 0.76);
  font-weight: 800;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 clamp(10px, 0.9vw, 14px);
  border-radius: var(--radius-pill);
  color: rgba(16, 19, 27, 0.76);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-more[open] summary::after,
.nav-more:hover summary::after,
.nav-more:focus-within summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-more:hover summary,
.nav-more:focus-visible summary,
.nav-more[open] summary {
  color: var(--paper-warm);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 10px 24px rgba(7, 13, 46, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a[href*="results"] {
  color: var(--navy);
  background: rgba(214, 167, 44, 0.16);
}

.site-nav a[href*="results"]:hover,
.site-nav a[href*="results"]:focus-visible {
  color: var(--paper-warm);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 148px;
  padding: 8px;
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(247, 241, 229, 0.94)),
    var(--paper-warm);
  box-shadow:
    0 22px 42px rgba(7, 13, 46, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more[open] .nav-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-more-menu a {
  min-height: 38px;
  justify-content: flex-start;
  padding: 0 12px;
  color: var(--navy);
  background: transparent;
}

.nav-more-menu a:hover,
.nav-more-menu a:focus-visible {
  color: var(--paper-warm);
}

.site-nav .nav-mobile-cta {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--paper-warm);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow:
    0 16px 30px rgba(7, 13, 46, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta::after {
  content: "→";
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(7, 13, 46, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  outline: none;
}

@media (max-width: 1120px) {
  .site-header {
    left: 20px;
    right: 20px;
    gap: 8px;
    padding-left: 10px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    font-size: 0.74rem;
  }

  .site-nav a {
    padding: 0 8px;
  }
}

@media (max-width: 940px) {
  .site-header {
    left: 14px;
    right: 14px;
    padding-right: 7px;
  }

  .site-nav {
    justify-self: end;
    overflow: visible;
    max-width: 100%;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .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: var(--radius-circle);
  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: var(--radius-pill);
  background: currentColor;
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.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: var(--radius-pill);
  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: var(--radius-circle);
  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: var(--radius-pill);
  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: var(--radius-pill);
  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: var(--radius-pill);
  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:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: 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: var(--radius-circle);
  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;
  min-height: 64px;
  padding: 0 7vw;
  background: linear-gradient(180deg, var(--paper), var(--paper-warm));
  overflow: hidden;
}

.chapter-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  width: min(320px, 56vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 172, 0, 0.42), rgba(28, 32, 136, 0.16), transparent);
  transform: translate(-50%, -50%);
}

.chapter-divider::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 4px solid color-mix(in srgb, var(--paper-warm) 78%, white);
  background: linear-gradient(135deg, var(--gold) 0 50%, var(--blue) 50%);
  box-shadow: 0 10px 28px rgba(7, 13, 46, 0.1);
  transform: rotate(45deg);
}

.chapter-divider svg {
  display: none;
}

.chapter-divider-soft {
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper-warm) 82%, white));
}

.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;
}

.text-keep {
  white-space: nowrap;
}

.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);
}

.teachers {
  background: linear-gradient(180deg, color-mix(in srgb, var(--paper-warm) 82%, white), var(--paper-warm));
}

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

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

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.system-map {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  min-height: auto;
  padding: 30px 32px;
  color: var(--paper);
  border: 1px solid rgba(246, 239, 223, 0.16);
  border-radius: var(--radius-apple-md);
  background:
    radial-gradient(circle at 88% 82%, rgba(49, 87, 255, 0.34), transparent 34%),
    linear-gradient(145deg, var(--blue), var(--navy-deep) 74%);
  overflow: hidden;
  box-shadow: 0 26px 76px rgba(7, 13, 46, 0.16);
}

.system-map::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(246, 239, 223, 0.13);
  border-radius: var(--radius-apple-md);
  pointer-events: none;
}

.system-map::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 175, 69, 0), rgba(215, 175, 69, 0.52), rgba(215, 175, 69, 0));
  opacity: 0.34;
}

.system-map-mark {
  position: absolute;
  right: 38px;
  top: 28px;
  z-index: 1;
  width: 210px;
  height: 150px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.system-map-mark svg {
  width: 188px;
  height: auto;
  opacity: 0.34;
  mix-blend-mode: screen;
  filter:
    saturate(1.18)
    brightness(1.18)
    drop-shadow(0 18px 34px rgba(6, 10, 36, 0.32));
}

.system-map-copy {
  position: relative;
  z-index: 2;
  max-width: 340px;
}

.system-map-copy span {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.system-map-copy strong {
  display: block;
  margin-top: 18px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.2vw, 4.1rem);
  font-weight: 900;
  line-height: 0.98;
}

.bento .system-map-copy p {
  max-width: 300px;
  margin: 22px 0 0;
  color: rgba(246, 239, 223, 0.74);
  font-weight: 700;
  line-height: 1.8;
}

.system-axis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
}

.system-axis span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 78px;
  padding: 14px 16px;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  background: rgba(246, 239, 223, 0.07);
  border: 1px solid rgba(246, 239, 223, 0.13);
  border-radius: var(--radius-apple-md);
}

.system-axis b {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.bento article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 22px;
  align-content: center;
  min-height: 178px;
  padding: 22px 26px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 235, 0.92)),
    var(--paper-warm);
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: var(--radius-apple-md);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(7, 13, 46, 0.06);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease,
    box-shadow 320ms ease,
    background 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(-6px);
  box-shadow: 0 24px 64px rgba(7, 13, 46, 0.14);
}

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

.bento .bento-main {
  min-height: 178px;
  color: var(--paper);
  border-color: rgba(246, 239, 223, 0.16);
  background:
    linear-gradient(135deg, rgba(49, 87, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--navy-deep) 78%);
}

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

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

.bento h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.62rem, 2.3vw, 2rem);
  line-height: 1.12;
}

.bento p {
  grid-column: 2;
  margin: 0;
  color: rgba(16, 19, 27, 0.66);
  font-weight: 650;
}

.bento .bento-main p {
  color: rgba(246, 239, 223, 0.76);
}

.bento .detail-affordance {
  grid-column: 2;
  margin-top: 18px;
}

.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: var(--radius-apple-md);
  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: var(--radius-pill);
  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: var(--radius-apple-md);
  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 {
  position: relative;
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1180px;
  margin: 74px auto 0;
  padding: 0;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(246, 239, 223, 0.92)),
    var(--paper-warm);
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: var(--radius-apple-md);
  box-shadow: 0 22px 68px rgba(7, 13, 46, 0.08);
  overflow: hidden;
}

.loop::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold-2), var(--blue));
}

.loop-copy {
  position: relative;
  z-index: 1;
  min-height: 248px;
  padding: 34px 34px 34px 38px;
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 18%, rgba(49, 87, 255, 0.36), transparent 34%),
    linear-gradient(145deg, var(--blue), var(--navy-deep) 76%);
}

.loop-copy .eyebrow {
  color: var(--gold-2);
}

.loop h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4vw, 4.05rem);
  line-height: 1;
}

.loop-copy p:not(.eyebrow) {
  max-width: 300px;
  margin: 22px 0 0;
  color: rgba(246, 239, 223, 0.74);
  font-weight: 700;
  line-height: 1.8;
}

.loop-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  min-height: 248px;
  margin: 0;
  padding: 32px 30px;
  list-style: none;
}

.loop-track::before {
  content: "";
  position: absolute;
  left: 50px;
  right: 50px;
  top: 84px;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 175, 69, 0.1), rgba(215, 175, 69, 0.7), rgba(28, 90, 171, 0.22));
}

.loop-track li {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 0 14px 0 0;
}

.loop-track li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin: 41px 0 12px;
  background:
    linear-gradient(135deg, var(--gold-2) 0 50%, transparent 50%),
    linear-gradient(315deg, var(--gold-2) 0 50%, transparent 50%);
  border: 1px solid rgba(215, 175, 69, 0.38);
  transform: rotate(45deg);
  box-shadow: 0 12px 32px rgba(215, 175, 69, 0.18);
}

.loop-track span {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.loop-track strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.56rem;
  line-height: 1.08;
}

.loop-track small {
  max-width: 116px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.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: var(--radius-apple-lg);
  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: var(--radius-pill);
  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: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
}

.teacher-filter button {
  padding: 9px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  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: 286px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(22, 29, 63, 0.1);
  border-radius: var(--radius-apple-md);
  color: var(--navy);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(145deg, rgba(255, 250, 240, 0.98), rgba(239, 228, 205, 0.84)),
    var(--paper-warm);
  text-align: left;
  box-shadow: 0 18px 46px rgba(7, 13, 46, 0.075);
}

.teacher-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background:
    linear-gradient(90deg, rgba(10, 17, 65, 0.96), rgba(23, 29, 112, 0.92)),
    var(--navy);
  border-top: 1px solid rgba(214, 167, 44, 0.62);
}

.teacher-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 122%;
  object-fit: cover;
  object-position: var(--teacher-photo-x, 50%) 0;
  filter: drop-shadow(0 18px 24px rgba(7, 13, 46, 0.12)) saturate(0.96);
  transition: scale 220ms ease;
}

.teacher-card::after {
  content: "";
  position: absolute;
  inset: 0 0 42px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 235, 0) 42%,
    rgba(255, 248, 235, 0.22) 58%,
    rgba(255, 248, 235, 0.88) 86%,
    rgba(255, 248, 235, 0.98) 100%
  );
}

.teacher-card.active {
  border-color: rgba(214, 167, 44, 0.52);
  box-shadow: 0 22px 58px rgba(7, 13, 46, 0.11);
}

.teacher-card:hover img,
.teacher-card.active img {
  scale: 1.035;
}

.teacher-card[data-teacher="吴翔"] {
  --teacher-photo-x: 58%;
}

.teacher-card[data-teacher="刘竞楠"],
.teacher-card[data-teacher="武彦君"],
.teacher-card[data-teacher="解放"] {
  --teacher-photo-x: 62%;
}

.teacher-card[data-teacher="王靖元"] {
  --teacher-photo-x: 54%;
}

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

.teacher-card em {
  top: 16px;
  right: auto;
  width: fit-content;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 248, 228, 0.98), rgba(232, 201, 124, 0.78));
  border: 1px solid rgba(151, 108, 23, 0.2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 9px 22px rgba(80, 55, 8, 0.11);
}

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

.teacher-card small {
  bottom: 54px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.teacher-card strong {
  bottom: 13px;
  color: rgba(255, 248, 235, 0.96);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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: var(--radius-apple-lg) var(--radius-apple-lg) 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: var(--radius-pill);
  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: var(--radius-circle);
  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: linear-gradient(180deg, var(--paper), var(--paper-warm));
  color: var(--ink);
}

.programs .section-head h2 {
  color: var(--navy);
}

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

.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(28, 32, 136, 0.18);
  border-radius: var(--radius-apple-lg);
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 18%, rgba(49, 87, 255, 0.2), transparent 30%),
    linear-gradient(145deg, var(--navy), var(--navy-deep) 78%);
  box-shadow: 0 28px 74px rgba(7, 13, 46, 0.14);
  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: var(--radius-apple-md);
  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: 50%;
  right: auto;
  top: 0;
  width: min(560px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 167, 44, 0.48), transparent);
  transform: translateX(-50%);
}

.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: inline-flex;
  align-items: flex-start;
  gap: clamp(8px, 0.7vw, 14px);
  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 {
  flex: 0 0 auto;
  display: inline-block;
  margin-top: 0.28em;
  margin-left: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.23em;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  vertical-align: baseline;
}

.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-dashboard {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 30px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
    rgba(255, 248, 235, 0.58);
  box-shadow: 0 24px 70px rgba(7, 13, 46, 0.08);
}

.results-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 29, 63, 0.12);
}

.results-dashboard-head h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.results-controls {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(78px, auto));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  background: rgba(255, 255, 255, 0.54);
}

.results-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  color: rgba(16, 19, 27, 0.66);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.results-controls button.active,
.results-controls button[aria-pressed="true"] {
  color: var(--navy);
  background: var(--gold);
}

.results-controls button:focus-visible,
.result-bar:focus-visible,
.result-row-button:focus-visible {
  outline: 2px solid rgba(28, 32, 136, 0.34);
  outline-offset: 2px;
}

.results-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 26px;
  align-items: stretch;
  padding-top: 28px;
}

.results-chart {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.result-bar {
  display: grid;
  grid-template-columns: minmax(72px, 0.18fr) minmax(160px, 1fr) minmax(76px, auto);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.result-bar-label {
  color: var(--navy);
  font-weight: 950;
}

.result-bar-track {
  position: relative;
  height: 22px;
  overflow: hidden;
  background: rgba(28, 32, 136, 0.08);
}

.result-bar-track i {
  display: block;
  width: calc(var(--bar-ratio, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform-origin: left center;
  transition:
    width 360ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 220ms ease;
}

.result-bar strong {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.result-bar[aria-pressed="true"] .result-bar-track {
  box-shadow: 0 0 0 2px rgba(247, 172, 0, 0.28);
}

.result-bar[aria-pressed="true"] .result-bar-track i {
  filter: saturate(1.22) brightness(1.04);
}

.results-inspector {
  min-width: 0;
  padding: 24px;
  background: var(--navy);
  color: var(--paper);
}

.results-inspector h4 {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.16;
}

.results-inspector strong {
  display: block;
  margin-top: 24px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: italic;
  line-height: 0.9;
}

.results-inspector small {
  margin-left: 8px;
  color: rgba(246, 239, 223, 0.74);
  font-family: var(--sans);
  font-size: 0.2em;
  font-style: normal;
}

.results-inspector dl {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.results-inspector dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(246, 239, 223, 0.16);
}

.results-inspector dt,
.results-inspector dd {
  margin: 0;
}

.results-inspector dt {
  color: rgba(246, 239, 223, 0.62);
}

.results-inspector dd {
  color: var(--paper);
  font-weight: 900;
}

.results-share {
  height: 5px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(246, 239, 223, 0.16);
}

.results-share span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.results-inspector > p:last-child {
  margin: 18px 0 0;
  color: rgba(246, 239, 223, 0.68);
  line-height: 1.7;
}

.results-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-top: 1px solid rgba(22, 29, 63, 0.12);
}

.results-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.results-table th,
.results-table td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(22, 29, 63, 0.1);
  text-align: left;
}

.results-table thead th {
  color: rgba(16, 19, 27, 0.58);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.results-table tbody th,
.results-table td {
  color: var(--ink-2);
  font-weight: 850;
}

.results-table tbody tr.active {
  background: rgba(247, 172, 0, 0.13);
}

.result-row-button {
  padding: 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.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: var(--radius-apple-md);
  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: var(--radius-apple-lg);
  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: var(--radius-circle);
  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;
}

.form-hidden {
  display: none !important;
}

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

.consult-form input,
.consult-form select,
.consult-form textarea {
  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 textarea {
  min-height: 112px;
  padding-top: 14px;
  line-height: 1.65;
  resize: vertical;
}

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

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea: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);
}

.form-note.error {
  color: #ffcfba;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 78px 7vw 34px;
  color: rgba(246, 239, 223, 0.72);
  background:
    linear-gradient(180deg, rgba(23, 30, 85, 0.96), rgba(5, 8, 20, 1)),
    #050814;
}

.site-footer::after {
  content: "XM";
  position: absolute;
  right: 6vw;
  bottom: -0.22em;
  color: rgba(246, 239, 223, 0.035);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 18rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7vw;
  right: 7vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 172, 0, 0.62), transparent);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(210px, 0.75fr) minmax(240px, 0.85fr);
  gap: clamp(32px, 5vw, 76px);
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand img {
  width: clamp(228px, 22vw, 304px);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.24));
}

.footer-brand strong {
  display: block;
  max-width: 420px;
  margin-top: 22px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
}

.footer-brand p,
.footer-contact p {
  margin: 0;
}

.footer-brand p {
  max-width: 470px;
  margin-top: 18px;
  color: rgba(246, 239, 223, 0.64);
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  align-content: start;
}

.footer-nav a,
.footer-contact a {
  color: rgba(246, 239, 223, 0.86);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 850;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold-2);
  outline: none;
}

.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-contact span {
  color: rgba(246, 239, 223, 0.42);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact a {
  width: fit-content;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
}

.footer-contact p {
  max-width: 310px;
  color: rgba(246, 239, 223, 0.64);
  line-height: 1.7;
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  max-width: 1180px;
  margin: 46px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 223, 0.12);
}

.footer-legal p {
  margin: 0;
  color: rgba(246, 239, 223, 0.5);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-icp {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(247, 172, 0, 0.24);
  border-radius: var(--radius-pill);
  color: rgba(246, 239, 223, 0.84);
  background: rgba(246, 239, 223, 0.045);
  font-size: 0.78rem;
  font-weight: 850;
}

.footer-icp span {
  color: rgba(246, 239, 223, 0.46);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.footer-icp strong {
  font: inherit;
}

.footer-icp:hover,
.footer-icp:focus-visible {
  border-color: rgba(247, 172, 0, 0.68);
  color: var(--gold-2);
  outline: none;
}

.footer-top {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 239, 223, 0.24);
  border-radius: var(--radius-circle);
  color: var(--paper);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-top:hover,
.footer-top:focus-visible {
  border-color: rgba(247, 172, 0, 0.68);
  color: var(--gold-2);
  outline: none;
  transform: translateY(-2px);
}

.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: var(--radius-pill);
  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-floating-back {
  position: fixed;
  top: 76px;
  left: clamp(18px, 2.8vw, 42px);
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(22, 29, 63, 0.12);
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: rgba(255, 248, 235, 0.68);
  box-shadow: 0 16px 44px rgba(7, 13, 46, 0.1);
  backdrop-filter: blur(18px) saturate(160%);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.detail-floating-back span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  line-height: 1;
}

.detail-floating-back strong {
  font: inherit;
}

.detail-floating-back:hover,
.detail-floating-back:focus-visible {
  border-color: rgba(247, 172, 0, 0.56);
  color: var(--blue);
  background: rgba(255, 248, 235, 0.94);
  outline: none;
  transform: translateY(-2px);
}

.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: 900px;
}

.detail-backline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.detail-backline .eyebrow {
  margin: 0;
}

.detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(23, 30, 85, 0.58);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-breadcrumb i {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(28, 32, 136, 0.22));
}

.detail-breadcrumb strong {
  color: var(--blue-2);
  font: inherit;
  letter-spacing: 0.12em;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(28, 32, 136, 0.14);
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.detail-back span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  color: var(--paper);
  background: var(--blue);
  line-height: 1;
}

.detail-back strong {
  font: inherit;
}

.detail-back:hover,
.detail-back:focus-visible {
  border-color: rgba(247, 172, 0, 0.56);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.detail-title-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
  max-width: 900px;
  padding: 26px 0 28px;
  border-top: 1px solid rgba(22, 29, 63, 0.12);
  border-bottom: 1px solid rgba(22, 29, 63, 0.12);
}

.detail-title-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(240px, 42vw);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold), transparent);
}

.detail-title-row span {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(28, 32, 136, 0.16);
  border-radius: var(--radius-pill);
  color: var(--gold-2);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 16px 42px rgba(7, 13, 46, 0.16);
  font-family: var(--mono);
  font-weight: 900;
}

.detail-title-row h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 7.2vw, 7.2rem);
  line-height: 1.02;
  text-wrap: balance;
}

.detail-hero-copy.is-short-title .detail-title-row {
  width: fit-content;
  max-width: min(100%, 760px);
  padding-right: clamp(18px, 4vw, 48px);
}

.detail-hero-copy.is-short-title .detail-title-row h1 {
  font-size: clamp(4.2rem, 8.4vw, 7.6rem);
  white-space: nowrap;
}

.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: var(--radius-apple-md);
  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: var(--radius-apple-md);
  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-result-report {
  display: grid;
  gap: 22px;
}

.detail-result-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 8px;
  background: rgba(22, 29, 63, 0.12);
  border: 1px solid rgba(22, 29, 63, 0.12);
}

.detail-result-metrics div {
  min-width: 0;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.44);
}

.detail-result-metrics strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-style: italic;
  line-height: 0.95;
  white-space: nowrap;
}

.detail-result-metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 850;
}

.detail-result-bars {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.detail-result-bars div {
  display: grid;
  grid-template-columns: minmax(66px, 0.2fr) minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.detail-result-bars span {
  color: var(--navy);
  font-weight: 950;
}

.detail-result-bars i {
  display: block;
  height: 18px;
  overflow: hidden;
  background: rgba(28, 32, 136, 0.08);
}

.detail-result-bars b {
  display: block;
  width: calc(var(--bar-ratio, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.detail-result-bars strong {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.86rem;
  white-space: nowrap;
}

.detail-result-table-wrap {
  margin-top: 2px;
  overflow-x: auto;
  border-top: 1px solid rgba(22, 29, 63, 0.12);
}

.detail-result-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.detail-result-table th,
.detail-result-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(22, 29, 63, 0.1);
  color: var(--ink-2);
  text-align: left;
  vertical-align: top;
}

.detail-result-table thead th {
  color: rgba(16, 19, 27, 0.58);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.detail-result-table tbody th {
  color: var(--navy);
  font-weight: 950;
}

.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 .system-map,
.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 .system-map,
.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 {
    scale: 1;
  }

  .teacher-card:active img,
  .teacher-card.is-tap-motion img {
    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 {
    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,
  .nav-more summary:active,
  .nav-more summary.is-tap-motion {
    color: var(--paper-warm);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    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));
    grid-template-rows: auto;
  }

  .system-map {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }

  .system-map-mark {
    right: 24px;
    top: 24px;
    bottom: auto;
    width: 190px;
    height: 134px;
  }

  .system-axis {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    align-self: end;
  }

  .system-axis span {
    display: grid;
    align-content: center;
    gap: 7px;
    min-height: 74px;
    padding: 14px;
  }

  .system-axis b {
    display: block;
  }

  .bento .system-map-copy p {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 340px;
  }

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

  .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-board {
    grid-template-columns: 1fr;
  }

  .results-inspector {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.72fr);
    gap: 18px 26px;
    align-items: start;
  }

  .results-inspector strong,
  .results-inspector dl,
  .results-share,
  .results-inspector > p:last-child {
    grid-column: 2;
  }

  .results-inspector h4 {
    grid-row: span 4;
  }

  .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;
    top: 10px;
    left: 12px;
    right: 12px;
    height: 58px;
    padding: 6px 7px 6px 10px;
    gap: 10px;
  }

  .site-header::after {
    left: 18px;
    right: 18px;
    bottom: 5px;
    max-width: calc(100% - 36px);
  }

  .brand {
    height: 44px;
    padding-right: 10px;
    background: transparent;
    box-shadow: none;
  }

  .brand img {
    width: 116px;
  }

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

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    border-color: rgba(22, 29, 63, 0.12);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    width: 100%;
    max-width: none;
    justify-self: stretch;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-height: calc(100svh - 88px);
    padding: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(22, 29, 63, 0.12);
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(247, 241, 229, 0.94)),
      var(--paper-warm);
    box-shadow:
      0 24px 54px rgba(22, 29, 63, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.82) inset;
    white-space: normal;
  }

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

  .site-nav a {
    display: flex;
    min-height: 48px;
    padding: 0 12px;
    justify-content: center;
    background: rgba(22, 29, 63, 0.055);
    color: var(--navy);
    text-align: center;
    box-shadow: none;
  }

  .site-nav .nav-more {
    display: grid;
    min-width: 0;
  }

  .site-nav .nav-more[open] {
    grid-column: 1 / -1;
    padding: 8px;
    border-radius: 24px;
    background: rgba(22, 29, 63, 0.055);
  }

  .site-nav .nav-more summary {
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    color: var(--navy);
    background: rgba(22, 29, 63, 0.055);
    text-align: center;
  }

  .site-nav .nav-more:hover summary,
  .site-nav .nav-more:focus-within summary,
  .site-nav .nav-more[open] summary {
    color: var(--paper-warm);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: none;
    transform: none;
  }

  .site-nav .nav-more-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
    margin-top: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-nav .nav-more[open] .nav-more-menu {
    transform: none;
  }

  .site-nav .nav-more-menu a {
    min-height: 44px;
    padding: 0 12px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.44);
  }

  .site-nav a[href*="results"] {
    background: rgba(214, 167, 44, 0.18);
  }

  .site-nav .nav-mobile-cta {
    display: flex;
    grid-column: 1 / -1;
    color: var(--paper-warm);
    background: linear-gradient(135deg, var(--navy), var(--blue));
  }

  .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: 118px 22px 48px;
  }

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

  .detail-floating-back {
    top: 70px;
    left: 14px;
    min-height: 38px;
    padding: 0 12px 0 9px;
    font-size: 0.68rem;
  }

  .detail-floating-back span {
    width: 22px;
    height: 22px;
  }

  .detail-backline {
    gap: 10px;
    margin-bottom: 20px;
  }

  .detail-breadcrumb {
    gap: 10px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .detail-back {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.66rem;
  }

  .detail-back span {
    width: 20px;
    height: 20px;
  }

  .detail-title-row {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 20px 0 22px;
  }

  .detail-title-row span {
    width: fit-content;
    min-width: 48px;
    min-height: 48px;
    padding: 0 13px;
  }

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

  .detail-hero-copy.is-short-title .detail-title-row {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  .detail-hero-copy.is-short-title .detail-title-row h1 {
    font-size: clamp(3.3rem, 17vw, 5.3rem);
    white-space: normal;
  }

  .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;
  }

  .detail-result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-result-bars div {
    grid-template-columns: minmax(56px, 0.24fr) minmax(96px, 1fr) auto;
    gap: 10px;
  }

  .motion-ready .reveal .section-head,
  .motion-ready .reveal .about-copy,
  .motion-ready .reveal .about-mark,
  .motion-ready .reveal .about-meta,
  .motion-ready .reveal .system-map,
  .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 .system-map,
  .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 {
    grid-template-columns: 1fr;
  }

  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .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;
  }

  .system-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .system-map::before {
    inset: 12px;
  }

  .system-map::after {
    display: none;
  }

  .system-map-mark {
    right: 14px;
    top: 16px;
    bottom: auto;
    width: 122px;
    height: 88px;
  }

  .system-map-mark svg {
    width: 116px;
    opacity: 0.28;
  }

  .system-map-copy {
    max-width: 280px;
  }

  .system-map-copy strong {
    margin-top: 12px;
    font-size: 2.55rem;
  }

  .bento .system-map-copy p {
    max-width: 250px;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .system-axis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
  }

  .system-axis span {
    min-height: 50px;
    padding: 10px 12px;
    font-size: 0.92rem;
    gap: 10px;
  }

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

  .bento article {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px;
  }

  .bento h3 {
    font-size: 1.52rem;
  }

  .bento p {
    font-size: 0.94rem;
  }

  .bento .detail-affordance {
    margin-top: 14px;
  }

  .ladder article {
    border-radius: var(--radius-apple-md);
  }

  .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 {
    gap: 0;
    margin-top: 50px;
  }

  .loop-copy {
    min-height: auto;
    padding: 28px 26px 26px 30px;
  }

  .loop h3 {
    font-size: 2.55rem;
  }

  .loop-copy p:not(.eyebrow) {
    max-width: none;
    margin-top: 16px;
    font-size: 0.94rem;
  }

  .loop-track {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding: 22px;
  }

  .loop-track::before {
    left: 34px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(215, 175, 69, 0.12), rgba(215, 175, 69, 0.72), rgba(28, 90, 171, 0.28));
  }

  .loop-track li {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-content: center;
    min-height: 72px;
    padding: 0;
  }

  .loop-track li::before {
    grid-row: 1 / span 3;
    width: 18px;
    height: 18px;
    margin: 26px 0 0 3px;
  }

  .loop-track span,
  .loop-track strong,
  .loop-track small {
    grid-column: 2;
  }

  .loop-track span {
    font-size: 0.68rem;
  }

  .loop-track strong {
    font-size: 1.45rem;
  }

  .loop-track small {
    max-width: none;
  }

  .results-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-top: 0;
    border-bottom: 0;
  }

  .results-stats article {
    min-height: 150px;
    padding: 22px 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-apple-sm);
    background: rgba(255, 255, 255, 0.58);
  }

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

  .results-stats span {
    right: 14px;
    top: 14px;
    font-size: 0.62rem;
  }

  .results-stats strong {
    gap: 6px;
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .results-stats sup {
    margin-top: 0.34em;
    font-size: 0.24em;
  }

  .results-stats p {
    max-width: none;
    margin-top: 14px;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .results-dashboard {
    margin: 22px -22px 0;
    padding: 18px 16px;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .results-dashboard-head {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .results-controls {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .results-controls button {
    flex: 1 0 auto;
    min-width: 68px;
    padding: 0 12px;
  }

  .results-board {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 22px;
  }

  .result-bar {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    min-height: 62px;
  }

  .result-bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 16px;
  }

  .result-bar strong {
    font-size: 0.84rem;
  }

  .results-inspector {
    display: block;
    padding: 18px;
  }

  .results-inspector strong,
  .results-inspector dl,
  .results-share,
  .results-inspector > p:last-child,
  .results-inspector h4 {
    grid-column: auto;
    grid-row: auto;
  }

  .results-table-wrap {
    margin-top: 22px;
  }

  .results-table {
    min-width: 560px;
  }

  .results-table th,
  .results-table td {
    padding: 12px 10px;
  }

  .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: var(--radius-apple-md);
    justify-content: center;
  }

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

  .teacher-card img {
    top: 12px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 58px);
    object-fit: contain;
    object-position: center bottom;
  }

  .teacher-card span,
  .teacher-card small,
  .teacher-card strong {
    left: 14px;
    right: 14px;
  }

  .teacher-card em {
    left: 14px;
    top: 14px;
    font-size: 0.66rem;
  }

  .teacher-card span {
    bottom: 70px;
    font-size: 1.3rem;
  }

  .teacher-card small {
    bottom: 50px;
  }

  .teacher-card strong {
    bottom: 13px;
    font-size: 0.76rem;
  }

  .contact {
    gap: 42px;
  }

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

  .site-footer {
    padding: 56px 22px 104px;
  }

  .site-footer::before {
    left: 22px;
    right: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand img {
    width: min(240px, 78vw);
  }

  .footer-brand strong {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 38px;
  }

  .footer-icp {
    width: fit-content;
    max-width: 100%;
  }

  .footer-top {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-pill);
  }

  .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;
  }

  .detail-result-metrics {
    grid-template-columns: 1fr;
  }

  .result-bar {
    grid-template-columns: 1fr auto;
  }

  .result-bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
