:root {
  --ink: #0b1020;
  --navy: #071b3a;
  --navy-soft: #102d60;
  --blue: #1559c4;
  --blue-bright: #3578e7;
  --gold: #f2c34f;
  --gold-soft: #ffda7c;
  --paper: #f5f5f7;
  --white: #ffffff;
  --muted: #5f6673;
  --line: rgba(10, 24, 53, 0.12);
  --header-height: 84px;
  --page-width: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 80px rgba(9, 24, 52, 0.12);
}

/* International admissions */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admission-rail,
.news-rail {
  position: sticky;
  z-index: 45;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid rgba(7, 27, 58, 0.09);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.admission-rail > strong,
.news-rail > strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.admission-rail > div,
.news-rail > div {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 48px);
}

.admission-rail a,
.news-rail a {
  position: relative;
  display: grid;
  min-height: 56px;
  place-items: center;
  color: #5c6472;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.admission-rail a::after,
.news-rail a::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 0;
  left: 20%;
  height: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: transform 220ms var(--ease-out);
}

.admission-rail a:hover,
.admission-rail a[aria-current="page"],
.news-rail a:hover,
.news-rail a[aria-current="page"] {
  color: var(--navy);
}

.admission-rail a[aria-current="page"]::after,
.news-rail a[aria-current="page"]::after {
  transform: scaleX(1);
}

.admission-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 79, 0.22), transparent 27%),
    radial-gradient(circle at 12% 82%, rgba(53, 120, 231, 0.18), transparent 29%),
    linear-gradient(160deg, #f3f7ff, #ffffff 70%);
}

.admission-tests-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 120, 231, 0.18), transparent 27%),
    radial-gradient(circle at 82% 78%, rgba(242, 195, 79, 0.16), transparent 28%),
    linear-gradient(150deg, #f8f9fc, #ffffff 72%);
}

.admission-intro {
  padding-bottom: 0;
}

.admission-lens-grid,
.prep-loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admission-lens-grid article,
.prep-loop-grid article {
  min-height: 330px;
  padding: 34px clamp(22px, 2.8vw, 40px);
  border-right: 1px solid var(--line);
}

.admission-lens-grid article:last-child,
.prep-loop-grid article:last-child {
  border-right: 0;
}

.admission-lens-grid span,
.prep-loop-grid article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.admission-lens-grid strong,
.prep-loop-grid h3 {
  display: block;
  margin: 104px 0 0;
  color: var(--navy);
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.admission-lens-grid p,
.prep-loop-grid p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.school-guide {
  padding-top: clamp(130px, 15vw, 210px);
}

.school-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.school-card {
  display: flex;
  min-height: 530px;
  padding: clamp(32px, 4.2vw, 58px);
  justify-content: space-between;
  flex-direction: column;
  border-radius: 36px;
  color: var(--navy);
  background: #f1f3f7;
}

.school-card-featured {
  grid-column: span 2;
  min-height: 670px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 79, 0.2), transparent 26%),
    radial-gradient(circle at 14% 82%, rgba(53, 120, 231, 0.3), transparent 29%),
    linear-gradient(145deg, #020817, #082858 68%, #0c3575);
}

.school-card-blue {
  color: var(--white);
  background: linear-gradient(145deg, #0e63d7, #07316f);
}

.school-card-gold {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #ffe4a0, #f2bd40);
}

.school-card-light {
  background:
    radial-gradient(circle at 80% 18%, rgba(53, 120, 231, 0.14), transparent 26%),
    #eef2f8;
}

.school-card-navy {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(53, 120, 231, 0.28), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

.school-card-sky {
  background:
    radial-gradient(circle at 75% 18%, rgba(242, 195, 79, 0.22), transparent 28%),
    linear-gradient(145deg, #dbe8ff, #f5f8ff);
}

.school-card-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  opacity: 0.56;
}

.school-card-label,
.test-card-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.school-card:is(.school-card-featured, .school-card-blue, .school-card-navy) .school-card-label {
  color: var(--gold-soft);
}

.school-card h3 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.school-card div > p:last-child:not(.school-card-label) {
  max-width: 730px;
  margin: 28px 0 0;
  color: rgba(7, 27, 58, 0.66);
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
}

.school-card:is(.school-card-featured, .school-card-blue, .school-card-navy) div > p:last-child:not(.school-card-label) {
  color: rgba(239, 244, 255, 0.72);
}

.school-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.school-card li {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.admission-disclaimer {
  width: min(var(--page-width), 100%);
  margin: 32px auto 0;
  color: #6d7481;
  font-size: 14px;
  line-height: 1.7;
}

.admission-process {
  padding: clamp(110px, 15vw, 210px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(53, 120, 231, 0.32), transparent 30%),
    linear-gradient(145deg, #020817, #061a3c);
}

.admission-process-inner,
.test-comparison-inner,
.intelligence-method-inner,
.promo-countdown-inner,
.free-flow-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.admission-process .editorial-heading,
.test-comparison .editorial-heading,
.free-flow .editorial-heading {
  width: 100%;
}

.admission-process .subpage-kicker,
.test-comparison .subpage-kicker {
  color: var(--gold-soft);
}

.admission-process .editorial-heading h2,
.test-comparison .editorial-heading h2 {
  color: var(--white);
}

.admission-process-list,
.free-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.admission-process-list li,
.free-flow-list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(30px, 4vw, 54px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.admission-process-list li > span,
.free-flow-list li > span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.admission-process-list strong,
.free-flow-list strong {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.admission-process-list p,
.free-flow-list p {
  max-width: 760px;
  margin: 17px 0 0;
  color: rgba(239, 244, 255, 0.67);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.admission-next {
  background:
    radial-gradient(circle at 16% 78%, rgba(53, 120, 231, 0.34), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

.test-overview {
  padding-bottom: clamp(100px, 13vw, 180px);
}

.test-card-stack {
  display: grid;
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.test-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(38px, 7vw, 100px);
  min-height: 660px;
  padding: clamp(36px, 5vw, 70px);
  border-radius: 40px;
}

.test-card-map {
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(242, 195, 79, 0.2), transparent 28%),
    linear-gradient(145deg, #020817, #082858 68%, #0c3575);
}

.test-card-isee {
  color: var(--navy);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.45), transparent 28%),
    linear-gradient(145deg, #ffe4a0, #f2bd40);
}

.test-card-ssat {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(90, 151, 255, 0.34), transparent 30%),
    linear-gradient(145deg, #0e63d7, #061d46);
}

.test-card-index {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding-right: clamp(24px, 4vw, 58px);
  border-right: 1px solid currentColor;
  opacity: 0.68;
}

.test-card-index span {
  font-size: 13px;
  font-weight: 800;
}

.test-card-index strong {
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.test-card-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.test-card-map .test-card-label,
.test-card-ssat .test-card-label {
  color: var(--gold-soft);
}

.test-card h3 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.test-card-copy > p:not(.test-card-label) {
  max-width: 790px;
  margin: 34px 0 0;
  color: rgba(239, 244, 255, 0.7);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.test-card-isee .test-card-copy > p:not(.test-card-label) {
  color: rgba(7, 27, 58, 0.7);
}

.test-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  width: 100%;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.test-card li {
  padding: 17px 0;
  border-top: 1px solid currentColor;
  font-size: 15px;
  opacity: 0.72;
}

.test-comparison {
  padding: clamp(110px, 15vw, 210px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgba(242, 195, 79, 0.16), transparent 26%),
    linear-gradient(145deg, #06152e, #020817);
}

.test-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.test-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.test-table th,
.test-table td {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  text-align: left;
  vertical-align: top;
}

.test-table tr:last-child th,
.test-table tr:last-child td {
  border-bottom: 0;
}

.test-table th:last-child,
.test-table td:last-child {
  border-right: 0;
}

.test-table thead th {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.test-table tbody th {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.test-table td {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.6;
}

.test-comparison .admission-disclaimer {
  color: rgba(255, 255, 255, 0.52);
}

.prep-loop {
  padding-top: clamp(120px, 15vw, 200px);
}

/* ECF Intelligence */

.intelligence-page .subpage-main {
  background: #06142d;
}

.intelligence-hero {
  position: relative;
  min-height: calc(100svh - 56px);
  overflow: hidden;
  padding: clamp(118px, 14vh, 170px) clamp(24px, 5vw, 80px) clamp(80px, 10vh, 120px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(242, 195, 79, 0.2), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(53, 120, 231, 0.28), transparent 34%),
    linear-gradient(145deg, #020817, #071b3a 64%, #0a2d64);
}

.intelligence-hero-orbit {
  position: absolute;
  top: 6%;
  right: -16%;
  width: min(880px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 220, 124, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 140px rgba(53, 120, 231, 0.1), 0 0 160px rgba(53, 120, 231, 0.08);
}

.intelligence-hero-orbit::before,
.intelligence-hero-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.intelligence-hero-orbit::after {
  inset: 31%;
  border-color: rgba(242, 195, 79, 0.14);
}

.intelligence-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  width: min(var(--page-width), 100%);
  min-height: 680px;
  margin: 0 auto;
}

.intelligence-kicker {
  margin: 0;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.intelligence-hero h1 {
  margin: 28px 0 0;
  font-size: clamp(72px, 9vw, 138px);
  font-weight: 650;
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.intelligence-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #ffffff, #7ca9f4 46%, #ffda7c 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intelligence-lead {
  max-width: 650px;
  margin: 48px 0 0;
  color: rgba(239, 244, 255, 0.72);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.65;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.intelligence-actions,
.promo-actions,
.checkout-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.intelligence-button,
.promo-actions a,
.checkout-contact a {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font-size: 15px;
  font-weight: 680;
  transition: transform 220ms var(--ease-out), background 220ms ease, color 220ms ease;
}

.intelligence-button:hover,
.promo-actions a:hover,
.checkout-contact a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.intelligence-button-primary {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.issue-monogram {
  display: flex;
  min-height: 590px;
  padding: 34px;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid rgba(255, 220, 124, 0.35);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 36px 100px rgba(1, 7, 19, 0.38), inset 0 0 70px rgba(53, 120, 231, 0.08);
  backdrop-filter: blur(16px);
}

.issue-monogram-head,
.issue-monogram-foot {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.issue-monogram-center {
  display: grid;
  place-items: center;
  text-align: center;
}

.issue-monogram-center img {
  width: 116px;
  height: 116px;
  margin-bottom: 38px;
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(242, 195, 79, 0.32);
}

.issue-monogram-center span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.issue-monogram-center strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 130px;
  font-weight: 400;
  line-height: 0.86;
}

.promo-countdown {
  padding: clamp(90px, 12vw, 160px) clamp(24px, 5vw, 80px);
  color: var(--navy);
  background: linear-gradient(145deg, #ffdf8c, #f2b92f);
}

.promo-countdown-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
}

.promo-copy .intelligence-kicker {
  color: #725000;
}

.promo-copy h2 {
  margin: 28px 0 0;
  font-size: clamp(46px, 6.1vw, 84px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.promo-copy > p:last-of-type {
  max-width: 690px;
  margin: 34px 0 0;
  color: rgba(7, 27, 58, 0.72);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}

.promo-copy > p strong {
  color: var(--navy);
}

.promo-actions a {
  border-color: rgba(7, 27, 58, 0.25);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.18);
}

.countdown-panel {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(7, 27, 58, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 70px rgba(100, 68, 0, 0.13);
}

.countdown-dday {
  font-size: clamp(72px, 9vw, 130px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid rgba(7, 27, 58, 0.2);
  border-bottom: 1px solid rgba(7, 27, 58, 0.2);
}

.countdown-grid > div {
  padding: 20px 12px;
  border-right: 1px solid rgba(7, 27, 58, 0.16);
}

.countdown-grid > div:last-child {
  border-right: 0;
}

.countdown-grid strong {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.05em;
}

.countdown-grid span {
  display: block;
  margin-top: 7px;
  color: rgba(7, 27, 58, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.countdown-panel > p {
  margin: 18px 0 0;
  color: rgba(7, 27, 58, 0.52);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.promo-countdown.is-expired .countdown-grid {
  opacity: 0.46;
}

.intelligence-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.intelligence-value-grid article {
  min-height: 520px;
  padding: clamp(32px, 4.2vw, 58px);
  border-radius: 36px;
  background: #f1f3f7;
}

.intelligence-value-grid article:nth-child(1) {
  color: var(--white);
  background: linear-gradient(145deg, #0e63d7, #07316f);
}

.intelligence-value-grid article:nth-child(3) {
  color: var(--navy);
  background: linear-gradient(145deg, #ffe4a0, #f2bd40);
}

.intelligence-value-grid article:nth-child(4) {
  color: var(--white);
  background: linear-gradient(145deg, #06152e, #020817);
}

.intelligence-value-grid article > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.intelligence-value-grid h3 {
  margin: 130px 0 0;
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.intelligence-value-grid p {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(7, 27, 58, 0.65);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.intelligence-value-grid article:nth-child(1) p,
.intelligence-value-grid article:nth-child(4) p {
  color: rgba(239, 244, 255, 0.68);
}

.intelligence-method {
  padding: clamp(120px, 16vw, 220px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 75% 16%, rgba(53, 120, 231, 0.32), transparent 29%),
    linear-gradient(145deg, #020817, #061a3c);
}

.intelligence-method h2 {
  max-width: 1050px;
  margin: 38px 0 0;
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.intelligence-method h2 span {
  color: var(--gold-soft);
}

.decision-system {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(80px, 11vw, 150px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.decision-system > div {
  min-height: 300px;
  padding: 30px clamp(18px, 2.5vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.decision-system > div:last-child {
  border-right: 0;
}

.decision-system span {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.decision-system strong {
  display: block;
  margin-top: 84px;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.decision-system p {
  margin: 15px 0 0;
  color: rgba(239, 244, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 24px;
  align-items: start;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.pricing-options {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(230px, 1fr) minmax(150px, 0.62fr) minmax(150px, 0.62fr);
  gap: 28px;
  align-items: center;
  min-height: 158px;
  padding: 30px 34px;
  border: 1px solid rgba(7, 27, 58, 0.12);
  border-radius: 26px;
  color: var(--navy);
  background: #f4f5f8;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.pricing-card:hover,
.pricing-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(21, 89, 196, 0.42);
  box-shadow: 0 22px 60px rgba(7, 27, 58, 0.11);
}

.pricing-card-featured {
  color: var(--white);
  border-color: rgba(242, 195, 79, 0.35);
  background:
    radial-gradient(circle at 80% 18%, rgba(242, 195, 79, 0.2), transparent 28%),
    linear-gradient(145deg, #06152e, #082858);
}

.pricing-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pricing-card:focus-within {
  outline: 3px solid rgba(21, 89, 196, 0.35);
  outline-offset: 4px;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.pricing-card-head strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.pricing-card-head small,
.pricing-equivalent,
.pricing-benefit {
  display: block;
  margin-top: 8px;
  color: rgba(7, 27, 58, 0.58);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-card-featured .pricing-card-head small,
.pricing-card-featured .pricing-equivalent,
.pricing-card-featured .pricing-benefit {
  color: rgba(239, 244, 255, 0.62);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.pricing-price strong {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.055em;
}

.pricing-price i {
  font-size: 14px;
  font-style: normal;
  opacity: 0.64;
}

.pricing-benefit {
  color: var(--blue);
  font-weight: 720;
}

.pricing-card-featured .pricing-benefit {
  color: var(--gold-soft);
}

.checkout-card {
  position: sticky;
  top: calc(var(--header-height) + 78px);
  padding: 34px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(242, 195, 79, 0.2), transparent 26%),
    linear-gradient(145deg, #06152e, #020817);
  box-shadow: 0 30px 80px rgba(3, 16, 40, 0.18);
}

.checkout-kicker {
  margin: 0;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.checkout-card h3 {
  margin: 14px 0 0;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.checkout-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.checkout-test-badge {
  display: inline-flex;
  min-height: 28px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 222, 75, 0.52);
  border-radius: 999px;
  color: #ffe864;
  background: rgba(255, 222, 75, 0.1);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
}

.checkout-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.checkout-provider-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #191600;
  background: #fee500;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.checkout-provider > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.checkout-provider strong {
  font-size: 14px;
  font-weight: 720;
}

.checkout-provider small {
  color: rgba(239, 244, 255, 0.46);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.checkout-card dl {
  margin: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.checkout-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.checkout-card dt {
  color: rgba(239, 244, 255, 0.52);
  font-size: 14px;
}

.checkout-card dd {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
  text-align: right;
}

.checkout-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 30px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-family: inherit;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), background 220ms ease, opacity 220ms ease;
}

.checkout-button:not(:disabled):hover {
  transform: translateY(-2px);
  background: #ffe299;
}

.checkout-button-kakao:not(:disabled) {
  color: #191600;
  background: #fee500;
}

.checkout-button-kakao:not(:disabled):hover {
  background: #ffeb35;
  box-shadow: 0 12px 34px rgba(254, 229, 0, 0.18);
}

.checkout-button:disabled {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

.checkout-customer {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.checkout-customer label {
  display: grid;
  gap: 8px;
}

.checkout-customer label > span {
  color: rgba(239, 244, 255, 0.62);
  font-size: 13px;
  font-weight: 650;
}

.checkout-customer input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  outline: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  font: inherit;
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkout-customer input::placeholder {
  color: rgba(239, 244, 255, 0.34);
}

.checkout-customer input:focus {
  border-color: rgba(255, 218, 124, 0.76);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(242, 195, 79, 0.12);
}

.checkout-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 20px;
  color: rgba(239, 244, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.checkout-status {
  margin: 18px 0 0;
  color: rgba(239, 244, 255, 0.58);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.checkout-status[data-state="error"] {
  color: #ffaaa3;
}

.checkout-status[data-state="loading"] {
  color: var(--gold-soft);
}

.checkout-security {
  margin: 12px 0 0;
  color: rgba(239, 244, 255, 0.43);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-contact {
  margin-top: 24px;
}

.checkout-contact a {
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
}

.free-flow {
  padding: clamp(110px, 15vw, 200px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background: linear-gradient(145deg, #0b2f68, #06152e);
}

.free-flow .subpage-kicker {
  color: var(--gold-soft);
}

.free-flow .editorial-heading h2 {
  color: var(--white);
}

.free-flow-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(255, 218, 124, 0.5);
  text-underline-offset: 5px;
}

.free-flow-list a:hover {
  color: var(--gold-soft);
}

.issue-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(44px, 8vw, 120px);
  width: min(var(--page-width), 100%);
  margin: 0 auto clamp(54px, 8vw, 90px);
}

.issue-heading h2 {
  margin: 24px 0 0;
  color: var(--navy);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 680;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.issue-heading > div:last-child {
  align-self: end;
}

.issue-heading > div:last-child p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

.preview-count {
  display: inline-flex;
  margin-top: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(21, 89, 196, 0.22);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(21, 89, 196, 0.05);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.issue-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.preview-page {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 58, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(5, 19, 44, 0.12);
}

.preview-page:nth-child(5) {
  grid-column: 1 / -1;
  width: calc(50% - clamp(9px, 1.25vw, 15px));
  justify-self: center;
}

.preview-page img {
  display: block;
  width: 100%;
  height: auto;
}

.preview-page figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(3, 14, 34, 0.82);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.issue-lock {
  position: relative;
  display: grid;
  width: min(var(--page-width), 100%);
  min-height: 590px;
  margin: clamp(26px, 4vw, 48px) auto 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 218, 124, 0.22);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(242, 195, 79, 0.18), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(53, 120, 231, 0.27), transparent 35%),
    linear-gradient(145deg, #020817, #071b3a 70%, #0b3472);
  box-shadow: 0 36px 90px rgba(5, 19, 44, 0.18);
}

.issue-lock-stack {
  position: absolute;
  inset: 8% 10%;
  opacity: 0.23;
  filter: blur(11px);
}

.issue-lock-stack span {
  position: absolute;
  width: min(360px, 38vw);
  aspect-ratio: 0.707;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035));
}

.issue-lock-stack span:nth-child(1) {
  top: 4%;
  left: 4%;
  transform: rotate(-8deg);
}

.issue-lock-stack span:nth-child(2) {
  top: -6%;
  left: 36%;
  transform: rotate(3deg);
}

.issue-lock-stack span:nth-child(3) {
  top: 8%;
  right: 1%;
  transform: rotate(9deg);
}

.issue-lock-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(48px, 7vw, 90px) 28px;
  text-align: center;
}

.issue-lock-icon {
  display: inline-grid;
  min-width: 92px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 218, 124, 0.46);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(255, 218, 124, 0.08);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.issue-lock-kicker {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.issue-lock-content h3 {
  margin: 22px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.issue-lock-copy {
  max-width: 610px;
  margin: 28px auto 0;
  color: rgba(239, 244, 255, 0.68);
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
}

.issue-lock-content a {
  display: inline-flex;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 15px;
  font-weight: 760;
  transition: transform 220ms var(--ease-out), background 220ms ease;
}

.issue-lock-content a:hover {
  transform: translateY(-2px);
  background: #ffe299;
}

.pdf-note {
  width: min(var(--page-width), 100%);
  margin: 24px auto 0;
  color: #6d7481;
  font-size: 14px;
}

.payment-result-page {
  min-height: 100svh;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(242, 195, 79, 0.2), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(53, 120, 231, 0.28), transparent 34%),
    linear-gradient(145deg, #020817, #071b3a 66%, #0a2d64);
}

.payment-result-shell {
  display: grid;
  width: min(920px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px 0;
  align-content: space-between;
  background: transparent;
}

.payment-result-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.payment-result-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.payment-result-card {
  max-width: 780px;
  margin: clamp(70px, 12vh, 140px) auto;
  padding: clamp(42px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 36px 100px rgba(1, 7, 19, 0.36);
  backdrop-filter: blur(18px);
}

.payment-result-status {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.18em;
}

.payment-result-card h1 {
  margin: 30px 0 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.payment-result-card > p {
  margin: 28px 0 0;
  color: rgba(239, 244, 255, 0.69);
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

.payment-result-card > small {
  display: block;
  margin-top: 18px;
  color: rgba(239, 244, 255, 0.48);
  font-size: 13px;
}

.payment-result-card[data-state="success"] .payment-result-status {
  color: #9ee6ba;
}

.payment-result-card[data-state="error"] .payment-result-status {
  color: #ffaaa3;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.payment-result-actions a {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 680;
}

.intelligence-next {
  background:
    radial-gradient(circle at 18% 75%, rgba(53, 120, 231, 0.32), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

/* Business disclosure and policy pages */
.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin: 0 auto;
  padding: 28px max(5vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 18px;
  max-width: 980px;
}

.footer-company span:not(:last-child)::after {
  content: "";
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-policy-links a,
.payment-policy-links a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-policy-links a:hover,
.footer-policy-links a:focus-visible,
.payment-policy-links a:hover,
.payment-policy-links a:focus-visible {
  color: #f2c34f;
}

.payment-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 22px;
  color: #6e7684;
  font-size: 13px;
}

.checkout-legal-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(6, 23, 53, 0.12);
  color: #667083;
  font-size: 13px;
  line-height: 1.65;
}

.checkout-legal-note a {
  color: #0b59c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  background: #f5f7fb;
  color: #071a38;
}

.legal-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(6, 23, 53, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.legal-header .brand {
  color: #071a38;
}

.legal-header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-header-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #39465b;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-header-nav a:hover,
.legal-header-nav a:focus-visible {
  background: #e9eef7;
  color: #071a38;
}

.legal-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 120px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 64px;
  align-items: end;
  padding: 54px 0 72px;
}

.legal-kicker {
  margin: 0 0 18px;
  color: #1766d5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.legal-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.legal-hero-note {
  margin: 0 0 8px;
  color: #687286;
  font-size: 16px;
  line-height: 1.75;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 5px;
}

.legal-toc a {
  padding: 9px 12px;
  border-radius: 12px;
  color: #677286;
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: #e9eef7;
  color: #071a38;
}

.legal-content {
  overflow: hidden;
  border: 1px solid rgba(6, 23, 53, 0.08);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(19, 39, 78, 0.08);
}

.legal-section {
  padding: 42px 46px;
  scroll-margin-top: 112px;
}

.legal-section + .legal-section {
  border-top: 1px solid #e6eaf1;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.legal-section p,
.legal-section li,
.legal-section dd,
.legal-section dt {
  color: #4e5a6e;
  font-size: 16px;
  line-height: 1.8;
}

.legal-section p,
.legal-section ul,
.legal-section ol,
.legal-section dl {
  margin: 0;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section p + ol,
.legal-section ul + p,
.legal-section ol + p {
  margin-top: 14px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.25em;
}

.legal-data-list {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0;
}

.legal-data-list dt,
.legal-data-list dd {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #e8ebf1;
}

.legal-data-list dt {
  color: #071a38;
  font-weight: 750;
}

.legal-callout {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #edf4ff, #fbf7e9);
  color: #25334a;
}

.legal-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.legal-policy-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid #e1e6ee;
  border-radius: 22px;
}

.legal-policy-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #071a38;
  font-size: 19px;
}

.legal-footer {
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid rgba(6, 23, 53, 0.12);
  color: #697488;
  font-size: 13px;
  line-height: 1.75;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 12px;
}

.legal-footer a {
  color: #0b59c7;
}

@media (max-width: 820px) {
  .footer-legal,
  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }

  .legal-header-nav a:first-child {
    display: none;
  }

  .legal-main {
    padding-top: 48px;
  }

  .legal-hero {
    gap: 28px;
    padding: 36px 0 48px;
  }

  .legal-layout {
    gap: 20px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-section {
    padding: 30px 24px;
  }

  .legal-data-list,
  .legal-policy-grid {
    grid-template-columns: 1fr;
  }

  .legal-data-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .legal-data-list dd {
    padding-top: 4px;
  }
}

@media (max-width: 1100px) {
  .school-card-grid,
  .intelligence-value-grid {
    grid-template-columns: 1fr;
  }

  .school-card-featured {
    grid-column: auto;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: relative;
    top: auto;
  }

  .pricing-card {
    grid-template-columns: minmax(130px, 0.7fr) minmax(220px, 1fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr);
  }
}

@media (max-width: 900px) {
  .admission-lens-grid,
  .prep-loop-grid,
  .decision-system {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admission-lens-grid article:nth-child(2),
  .prep-loop-grid article:nth-child(2),
  .decision-system > div:nth-child(2) {
    border-right: 0;
  }

  .admission-lens-grid article:nth-child(-n + 2),
  .prep-loop-grid article:nth-child(-n + 2),
  .decision-system > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .decision-system > div:nth-child(-n + 2) {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .test-card {
    grid-template-columns: 1fr;
  }

  .test-card-index {
    flex-direction: row;
    align-items: end;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .test-card-index strong {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .intelligence-hero-inner {
    grid-template-columns: 1fr;
  }

  .issue-monogram {
    min-height: 520px;
  }

  .promo-countdown-inner,
  .issue-heading {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admission-rail,
  .news-rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 76px;
    padding: 12px 20px 0;
    overflow: hidden;
  }

  .admission-rail > div,
  .news-rail > div {
    width: 100%;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admission-rail a,
  .news-rail a {
    min-height: 40px;
    font-size: 13px;
  }

  .admission-lens-grid,
  .prep-loop-grid,
  .decision-system {
    grid-template-columns: 1fr;
  }

  .admission-lens-grid article,
  .admission-lens-grid article:nth-child(2),
  .prep-loop-grid article,
  .prep-loop-grid article:nth-child(2),
  .decision-system > div,
  .decision-system > div:nth-child(2) {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-system > div,
  .decision-system > div:nth-child(2) {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .admission-lens-grid article:last-child,
  .prep-loop-grid article:last-child,
  .decision-system > div:last-child {
    border-bottom: 0;
  }

  .admission-lens-grid strong,
  .prep-loop-grid h3,
  .decision-system strong {
    margin-top: 58px;
  }

  .school-card,
  .test-card,
  .intelligence-value-grid article {
    min-height: 500px;
    padding: 30px 24px;
    border-radius: 28px;
  }

  .school-card-featured {
    min-height: 610px;
  }

  .school-card ul,
  .test-card ul {
    grid-template-columns: 1fr;
  }

  .admission-process-list li,
  .free-flow-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .intelligence-hero {
    padding-top: 110px;
  }

  .intelligence-hero-inner {
    min-height: auto;
  }

  .intelligence-hero h1 {
    font-size: clamp(64px, 20vw, 94px);
  }

  .issue-monogram {
    min-height: 480px;
    padding: 26px;
    border-radius: 26px;
  }

  .issue-monogram-center strong {
    font-size: 105px;
  }

  .promo-countdown-inner {
    gap: 52px;
  }

  .countdown-grid > div {
    padding: 17px 7px;
  }

  .countdown-grid span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .intelligence-value-grid h3 {
    margin-top: 100px;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 300px;
    padding: 28px 24px;
  }

  .checkout-card {
    padding: 28px 24px;
  }

  .issue-preview {
    grid-template-columns: 1fr;
  }

  .preview-page:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  .preview-page {
    border-radius: 18px;
  }

  .issue-lock {
    min-height: 520px;
    border-radius: 24px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

body.menu-locked {
  overflow: hidden;
}

main {
  position: relative;
  background: #020817;
}

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

button {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(21, 89, 196, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
}

.nav-shell {
  position: relative;
  z-index: 104;
  display: grid;
  grid-template-columns: minmax(290px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 13, 34, 0.58);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled .nav-shell,
.site-header.menu-open .nav-shell,
.site-header.mobile-open .nav-shell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(4, 16, 40, 0.84);
  box-shadow: 0 12px 38px rgba(1, 8, 24, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(242, 195, 79, 0.55);
  border-radius: 50%;
  color: var(--gold-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(145deg, #0e326c, #06162f 64%);
  box-shadow: inset 0 0 0 3px rgba(242, 195, 79, 0.1), 0 7px 18px rgba(7, 27, 58, 0.12);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-mark::before {
  inset: 7px;
  border: 1px solid rgba(255, 218, 124, 0.48);
  border-radius: 50%;
}

.brand-mark::after {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark-logo {
  border-color: rgba(242, 195, 79, 0.7);
  background: #132245;
}

.brand-mark-logo::before,
.brand-mark-logo::after {
  display: none;
}

.brand-mark-logo img {
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-copy small {
  color: rgba(235, 241, 252, 0.62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  gap: clamp(24px, 2.8vw, 50px);
}

.nav-trigger {
  position: relative;
  display: flex;
  align-items: center;
  border: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  cursor: pointer;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 620;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: transform 260ms var(--ease-out);
}

.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--white);
}

.nav-trigger:hover::after,
.nav-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.nav-consult {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 650;
  transition: transform 220ms var(--ease-out), color 220ms ease, background 220ms ease;
}

.nav-consult:hover {
  transform: translateY(-2px);
  color: var(--navy);
  background: var(--white);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.mobile-toggle span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 250ms ease;
}

.mobile-toggle span:first-child {
  transform: translateY(-4px);
}

.mobile-toggle span:last-child {
  transform: translateY(4px);
}

.mobile-open .mobile-toggle span:first-child {
  transform: rotate(45deg);
}

.mobile-open .mobile-toggle span:last-child {
  transform: rotate(-45deg);
}

.mega-stage {
  position: fixed;
  z-index: 103;
  top: var(--header-height);
  right: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.mega-menu {
  display: none;
  transform: translateY(-14px);
  border-bottom: 1px solid rgba(7, 27, 58, 0.09);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.mega-menu.is-active {
  display: block;
  pointer-events: auto;
  animation: menu-in 340ms var(--ease-out) forwards;
}

@keyframes menu-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(440px, 2fr) minmax(260px, 1fr);
  gap: clamp(36px, 5vw, 88px);
  width: min(var(--page-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 64px;
}

.mega-heading {
  align-self: start;
}

.menu-index {
  display: block;
  margin-bottom: 14px;
  color: #979eab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mega-heading p {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0 32px;
}

.mega-links.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.mega-links.curriculum-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 26px;
}

.mega-links.curriculum-service-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.curriculum-service-links .mega-link {
  min-height: 62px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.3;
}

.mega-links.wide-links {
  max-width: 620px;
}

.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(7, 27, 58, 0.1);
  color: #111724;
  background: transparent;
  cursor: pointer;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 640;
  letter-spacing: -0.035em;
  text-align: left;
  transition: color 180ms ease, padding 220ms var(--ease-out);
}

.curriculum-links .mega-link {
  font-size: 17px;
}

.mega-link span:last-child {
  transform: translate(-8px, 3px);
  color: var(--blue);
  opacity: 0;
  font-size: 15px;
  transition: transform 220ms var(--ease-out), opacity 180ms ease;
}

.mega-link:hover,
.mega-link:focus-visible {
  padding-left: 8px;
  color: var(--blue);
}

.mega-link:hover span:last-child,
.mega-link:focus-visible span:last-child {
  transform: translate(0, 0);
  opacity: 1;
}

.mega-note {
  align-self: stretch;
  padding: 2px 0 0 clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.mega-note span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mega-note p {
  margin: 22px 0 0;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.menu-backdrop {
  position: fixed;
  z-index: 102;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background: rgba(5, 12, 27, 0.32);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 220ms ease;
}

.menu-open .menu-backdrop {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu {
  display: none;
}

.book-sequence {
  --book-open: 0;
  --book-shift-x: -25%;
  --book-scene-scale: 0.82;
  --book-scene-y: 0px;
  --book-scene-opacity: 1;
  --book-blur: 0px;
  --book-cover-angle: 0deg;
  --book-leaf-one-angle: 0deg;
  --book-leaf-two-angle: 0deg;
  --book-leaf-three-angle: 0deg;
  --book-copy-opacity: 0;
  --book-cue-opacity: 1;
  --book-label-opacity: 0.72;
  --book-darkness: 0;
  --book-shadow-x: 0%;
  --book-shadow-opacity: 0.48;
  --book-spine-scale: 0.35;
  --book-spine-opacity: 0.35;
  position: relative;
  z-index: 3;
  height: 100svh;
  min-height: 720px;
  isolation: isolate;
}

html.book-motion-ready .book-sequence-intro {
  height: 300svh;
}

html.book-motion-ready .book-sequence-outro {
  height: 250svh;
}

.book-sticky {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  place-items: center;
  perspective: 1900px;
}

.book-sequence-intro .book-sticky {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(242, 195, 79, 0.2), transparent 28%),
    radial-gradient(circle at 23% 76%, rgba(35, 112, 246, 0.25), transparent 34%),
    linear-gradient(145deg, #010611 0%, #061733 48%, #0c2e63 100%);
}

.book-sequence-outro .book-sticky {
  color: var(--navy);
  background: #f5f5f7;
}

.book-sequence-outro .book-sticky::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(31, 91, 190, 0.38), transparent 32%),
    linear-gradient(150deg, #081a3a, #06152e 62%, #020817);
  opacity: var(--book-darkness);
  pointer-events: none;
  will-change: opacity;
}

.book-atmosphere {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.book-atmosphere i {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  opacity: 0.75;
}

.book-atmosphere i:nth-child(1) {
  top: -32vw;
  right: -20vw;
  width: 76vw;
  height: 76vw;
  box-shadow: 0 0 0 8vw rgba(69, 128, 230, 0.035), 0 0 0 16vw rgba(242, 195, 79, 0.025);
}

.book-atmosphere i:nth-child(2) {
  bottom: -38vw;
  left: -22vw;
  width: 70vw;
  height: 70vw;
  border-color: rgba(242, 195, 79, 0.12);
}

.book-atmosphere i:nth-child(3) {
  top: 18%;
  left: 50%;
  width: min(740px, 58vw);
  height: min(740px, 58vw);
  transform: translateX(-50%);
  border-color: rgba(109, 159, 247, 0.12);
}

.book-sequence-outro .book-atmosphere {
  opacity: calc(1 - var(--book-darkness));
}

.book-sequence-outro .book-atmosphere i {
  border-color: rgba(21, 89, 196, 0.1);
}

.book-sequence-label {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-height) + 32px);
  right: clamp(24px, 4vw, 72px);
  left: clamp(24px, 4vw, 72px);
  display: flex;
  justify-content: space-between;
  color: currentColor;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.18em;
  opacity: var(--book-label-opacity);
  pointer-events: none;
  will-change: opacity;
}

.book-scene {
  position: relative;
  z-index: 3;
  width: min(900px, 82vw);
  aspect-ratio: 1.52;
  transform: translate3d(0, var(--book-scene-y), 0) scale(var(--book-scene-scale));
  transform-origin: center;
  filter: blur(var(--book-blur));
  opacity: var(--book-scene-opacity);
  perspective: 1800px;
  will-change: transform, filter, opacity;
}

.book-floor-shadow {
  position: absolute;
  z-index: 0;
  right: 10%;
  bottom: -4%;
  width: 68%;
  height: 16%;
  transform: translateX(var(--book-shadow-x));
  border-radius: 50%;
  background: rgba(0, 8, 24, 0.58);
  filter: blur(30px);
  opacity: var(--book-shadow-opacity);
}

.book-sequence-outro .book-floor-shadow {
  background: rgba(7, 27, 58, 0.34);
}

.book-object {
  position: absolute;
  z-index: 2;
  inset: 0;
  transform: translate3d(var(--book-shift-x), 0, 0) rotateX(7deg) rotateZ(-1.1deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.book-back-cover,
.book-page,
.book-turning-page,
.book-front-cover {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.book-back-cover {
  z-index: 1;
  transform: translate3d(10px, 9px, -22px);
  border: 1px solid rgba(247, 205, 91, 0.6);
  border-radius: 4px 28px 28px 4px;
  background: linear-gradient(145deg, #12376e, #051631 58%, #020a18);
  box-shadow: 22px 28px 58px rgba(0, 7, 22, 0.32);
}

.book-page {
  overflow: hidden;
  border: 1px solid rgba(7, 27, 58, 0.12);
  border-radius: 2px 23px 23px 2px;
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(9, 35, 74, 0.1), transparent 8%),
    radial-gradient(circle at 82% 18%, rgba(242, 195, 79, 0.18), transparent 26%),
    linear-gradient(145deg, #fffdf8, #edf1f7);
  box-shadow: inset 16px 0 24px rgba(8, 24, 53, 0.09), 15px 20px 45px rgba(2, 10, 27, 0.16);
}

.book-page-right {
  z-index: 2;
  transform: translateZ(2px);
}

.book-page::before,
.book-cover-inside::before,
.book-turning-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(7, 27, 58, 0.026) 31px 32px);
  pointer-events: none;
}

.book-turning-page {
  overflow: hidden;
  border: 1px solid rgba(7, 27, 58, 0.1);
  border-radius: 2px 22px 22px 2px;
  background: linear-gradient(100deg, #e8edf5, #fffdf8 18%, #edf1f7 96%);
  box-shadow: inset 14px 0 24px rgba(7, 27, 58, 0.08);
  backface-visibility: visible;
  will-change: transform;
}

.book-turning-page span {
  position: absolute;
  top: 18%;
  right: 12%;
  left: 16%;
  height: 1px;
  background: rgba(21, 89, 196, 0.16);
  box-shadow: 0 28px rgba(21, 89, 196, 0.1), 0 56px rgba(21, 89, 196, 0.08);
}

.book-turning-page-three {
  z-index: 3;
  transform: translateZ(6px) rotateY(var(--book-leaf-three-angle));
}

.book-turning-page-two {
  z-index: 4;
  transform: translateZ(11px) rotateY(var(--book-leaf-two-angle));
}

.book-turning-page-one {
  z-index: 5;
  transform: translateZ(16px) rotateY(var(--book-leaf-one-angle));
}

.book-front-cover {
  z-index: 7;
  transform: translateZ(26px) rotateY(var(--book-cover-angle));
  will-change: transform;
}

.book-cover-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 4px 28px 28px 4px;
  backface-visibility: hidden;
}

.book-cover-front {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid rgba(255, 220, 124, 0.88);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 214, 104, 0.23), transparent 25%),
    radial-gradient(circle at 18% 78%, rgba(42, 111, 226, 0.34), transparent 30%),
    linear-gradient(145deg, #0c3575, #071b3a 52%, #020817);
  box-shadow:
    inset 0 0 0 5px rgba(242, 195, 79, 0.08),
    inset -22px -18px 38px rgba(0, 6, 18, 0.32),
    18px 24px 54px rgba(0, 7, 22, 0.32),
    0 0 58px rgba(242, 195, 79, 0.12);
}

.book-cover-front::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -90%;
  width: 55%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: book-cover-sheen 5.8s ease-in-out infinite;
}

@keyframes book-cover-sheen {
  0%,
  56% {
    left: -90%;
    opacity: 0;
  }
  65% {
    opacity: 0.72;
  }
  84%,
  100% {
    left: 135%;
    opacity: 0;
  }
}

.book-cover-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(242, 195, 79, 0.36);
  border-radius: 2px 18px 18px 2px;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04);
}

.book-cover-logo {
  position: relative;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1;
  margin-top: 14%;
  overflow: hidden;
  border: 2px solid rgba(255, 220, 124, 0.9);
  border-radius: 50%;
  background: #132245;
  box-shadow: 0 0 24px rgba(242, 195, 79, 0.55), 0 0 70px rgba(39, 104, 218, 0.32);
}

.book-cover-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.book-cover-title {
  position: absolute;
  z-index: 2;
  right: 10%;
  bottom: 12%;
  left: 10%;
  text-align: center;
}

.book-cover-title strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.book-cover-title span {
  display: block;
  margin-top: 13px;
  color: rgba(255, 224, 139, 0.76);
  font-size: clamp(7px, 0.65vw, 10px);
  font-weight: 720;
  letter-spacing: 0.19em;
}

.book-cover-inside {
  transform: rotateY(180deg) translateZ(1px);
  border: 1px solid rgba(7, 27, 58, 0.12);
  color: var(--navy);
  background:
    linear-gradient(270deg, rgba(9, 35, 74, 0.12), transparent 8%),
    radial-gradient(circle at 20% 22%, rgba(35, 112, 246, 0.12), transparent 28%),
    linear-gradient(145deg, #f7f3e9, #fffdf8 58%, #e9eef6);
  box-shadow: inset -16px 0 28px rgba(7, 27, 58, 0.08);
}

.book-page-number {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 9%;
  color: rgba(7, 27, 58, 0.38);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.book-page-right .book-page-number {
  right: 9%;
  left: auto;
}

.book-page-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10%;
  left: 10%;
  transform: translateY(-48%);
}

.book-page-copy-right {
  text-align: right;
}

.book-page-copy span {
  color: var(--blue);
  font-size: clamp(7px, 0.68vw, 10px);
  font-weight: 780;
  letter-spacing: 0.15em;
}

.book-page-copy p {
  margin: 22px 0 0;
  font-size: clamp(20px, 2.25vw, 32px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.052em;
  word-break: keep-all;
}

.book-page-foot {
  position: absolute;
  z-index: 2;
  right: 9%;
  bottom: 7%;
  left: 9%;
  color: rgba(7, 27, 58, 0.34);
  font-size: clamp(6px, 0.55vw, 8px);
  font-weight: 730;
  letter-spacing: 0.14em;
}

.book-page-right .book-page-foot {
  text-align: right;
}

.book-spine {
  position: absolute;
  z-index: 9;
  top: 2%;
  bottom: 2%;
  left: 50%;
  width: 10px;
  transform: translateX(-50%) translateZ(29px) scaleX(var(--book-spine-scale));
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(0, 7, 20, 0.32), rgba(255, 225, 145, 0.5), rgba(0, 7, 20, 0.18));
  box-shadow: 0 0 18px rgba(242, 195, 79, 0.18);
  opacity: var(--book-spine-opacity);
}

.book-transition-copy {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: clamp(78px, 9vh, 112px);
  left: 20px;
  color: var(--white);
  text-align: center;
  opacity: var(--book-copy-opacity);
  pointer-events: none;
  will-change: opacity, transform;
}

.book-transition-copy span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.2em;
}

.book-transition-copy p {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.045em;
}

.book-sequence-outro .book-transition-copy {
  color: var(--navy);
}

.book-sequence-outro .book-transition-copy span {
  color: var(--blue);
}

.book-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.16em;
  opacity: var(--book-cue-opacity);
  pointer-events: none;
}

.book-scroll-cue i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.book-scroll-cue i::after {
  content: "";
  position: absolute;
  top: -60%;
  right: 0;
  left: 0;
  height: 55%;
  background: var(--gold-soft);
  animation: book-scroll-line 1.8s ease-in-out infinite;
}

@keyframes book-scroll-line {
  to {
    top: 115%;
  }
}

.book-sequence-outro .book-scroll-cue {
  display: none;
}

.hero {
  --hero-shift: 0px;
  --hero-scale: 1;
  --hero-fade: 1;
  position: relative;
  display: flex;
  min-height: max(780px, 100svh);
  padding: calc(var(--header-height) + 76px) clamp(24px, 4vw, 72px) 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 211, 91, 0.3), transparent 27%),
    radial-gradient(circle at 66% 58%, rgba(36, 112, 255, 0.4), transparent 34%),
    radial-gradient(circle at 8% 28%, rgba(19, 73, 168, 0.54), transparent 37%),
    linear-gradient(132deg, #020817 0%, #061735 36%, #0a326d 68%, #0b2550 100%);
}

@media (min-width: 861px) {
  .hero {
    position: sticky;
    top: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  right: -13vw;
  bottom: -36vw;
  width: 80vw;
  height: 80vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(53, 120, 231, 0.045), 0 0 0 16vw rgba(242, 195, 79, 0.03);
}

.hero-aurora {
  position: absolute;
  top: 12%;
  right: 8%;
  width: min(560px, 55vw);
  height: min(560px, 55vw);
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(35, 112, 246, 0.32), rgba(255, 207, 79, 0.3), rgba(13, 54, 126, 0.18));
  filter: blur(64px);
  opacity: 0.9;
  animation: aurora-drift 10s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  to {
    transform: translate3d(-5%, 6%, 0) scale(1.1) rotate(8deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale));
  transform-origin: center 42%;
  opacity: var(--hero-fade);
  transition: transform 90ms linear, opacity 90ms linear;
  will-change: transform, opacity;
}

.hero-copy {
  padding-bottom: 2vh;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 6.25vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.068em;
  word-break: keep-all;
}

.hero h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, #88b7ff 4%, #d5e4ff 38%, #ffe8a5 70%, #f5c84f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  max-width: 610px;
  margin: 32px 0 0;
  color: rgba(230, 237, 249, 0.76);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background 220ms ease;
}

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

.button-primary {
  color: #08152f;
  background: linear-gradient(100deg, #f2c34f, #ffdc7c);
  box-shadow: 0 12px 34px rgba(242, 195, 79, 0.2);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(242, 195, 79, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.17);
}

.hero-visual {
  --move-x: 0px;
  --move-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  width: min(590px, 44vw);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
  place-items: center;
  perspective: 1200px;
  transform: translate3d(var(--move-x), var(--move-y), 0);
  transition: transform 900ms var(--ease-out);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  inset: 4%;
  border: 1px solid rgba(255, 222, 132, 0.28);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.06), 0 0 80px rgba(242, 195, 79, 0.14);
  animation: halo-breathe 5.4s ease-in-out infinite;
}

.hero-visual::after {
  inset: 14%;
  border: 1px solid rgba(113, 166, 255, 0.2);
  box-shadow: 0 0 0 18px rgba(61, 123, 232, 0.04), 0 0 0 38px rgba(242, 195, 79, 0.03);
}

@keyframes halo-breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.logo-aura {
  position: absolute;
  z-index: -1;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 26%, rgba(255, 216, 112, 0.54), transparent 31%),
    radial-gradient(circle at 32% 72%, rgba(40, 108, 224, 0.42), transparent 41%),
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 46%, transparent 72%);
  filter: blur(30px);
  animation: logo-glow 4.8s ease-in-out infinite;
}

.logo-float {
  position: relative;
  z-index: 2;
  width: 76%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: logo-float 6.8s ease-in-out infinite;
}

.logo-depth {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 218, 124, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #e8b63e 0%, #80611f 35%, #071b3a 64%, #173d79 100%);
  box-shadow:
    0 18px 30px rgba(7, 27, 58, 0.24),
    0 0 38px rgba(242, 195, 79, 0.24),
    0 0 100px rgba(21, 89, 196, 0.2);
  transform: translate3d(15px, 18px, -38px);
}

.logo-medallion {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(255, 218, 124, 0.96);
  border-radius: 50%;
  background: #132245;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.12),
    inset -18px -20px 32px rgba(1, 10, 29, 0.26),
    0 0 24px rgba(242, 195, 79, 0.56),
    0 0 64px rgba(21, 89, 196, 0.34),
    0 34px 58px rgba(7, 27, 58, 0.28);
  transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateZ(34px);
  transform-style: preserve-3d;
  transition: transform 520ms var(--ease-out), box-shadow 420ms ease;
}

.logo-medallion::before,
.logo-medallion::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
}

.logo-medallion::before {
  inset: -32%;
  background: linear-gradient(112deg, transparent 33%, rgba(255, 255, 255, 0.5) 46%, rgba(255, 255, 255, 0.12) 52%, transparent 62%);
  transform: translateX(-80%) rotate(8deg);
  animation: logo-sheen 5.8s ease-in-out infinite;
}

.logo-medallion::after {
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 8px 10px 18px rgba(255, 255, 255, 0.12);
}

.logo-medallion img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes logo-sheen {
  0%,
  58% {
    transform: translateX(-82%) rotate(8deg);
    opacity: 0;
  }
  68% {
    opacity: 0.72;
  }
  86%,
  100% {
    transform: translateX(78%) rotate(8deg);
    opacity: 0;
  }
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 72px);
  bottom: 30px;
  left: clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(226, 234, 248, 0.58);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  opacity: var(--hero-fade);
  transition: opacity 90ms linear;
}

.hero-bottom a {
  transition: color 180ms ease;
}

.hero-bottom a:hover {
  color: var(--gold-soft);
}

.section-pad {
  padding: clamp(100px, 12vw, 168px) clamp(24px, 4vw, 72px);
}

.section-heading {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 740;
  line-height: 1.16;
  letter-spacing: -0.062em;
  word-break: keep-all;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.section-heading.compact {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  align-items: start;
  gap: 56px;
}

.section-heading.compact .eyebrow {
  margin-top: 12px;
}

.proof {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(circle at 86% 6%, rgba(53, 120, 231, 0.08), transparent 22%),
    #f5f5f7;
  box-shadow: 0 -24px 60px rgba(1, 7, 22, 0.16);
}

.proof-heading {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.proof-stack {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding-bottom: clamp(30px, 6vw, 80px);
}

.proof-story-card + .proof-story-card {
  margin-top: clamp(52px, 8vh, 92px);
}

.proof-story-card {
  --stack-scale: 1;
  --stack-brightness: 1;
  position: sticky;
  top: calc(var(--header-height) + 22px);
  align-self: start;
  min-height: min(680px, calc(100svh - var(--header-height) - 44px));
}

.proof-story-card:nth-child(1) {
  z-index: 1;
}

.proof-story-card:nth-child(2) {
  z-index: 2;
}

.proof-story-card:nth-child(3) {
  z-index: 3;
}

.proof-card-surface {
  position: relative;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  padding: clamp(30px, 4.5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(30px, 4vw, 52px);
  box-shadow: 0 34px 100px rgba(4, 17, 43, 0.22);
  transform: scale(var(--stack-scale));
  transform-origin: top center;
  filter: brightness(var(--stack-brightness));
  transition: transform 90ms linear, filter 90ms linear;
  will-change: transform, filter;
}

.proof-card-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.06));
}

.proof-story-scholarship .proof-card-surface {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 209, 84, 0.42), transparent 25%),
    radial-gradient(circle at 68% 86%, rgba(44, 117, 245, 0.46), transparent 35%),
    linear-gradient(135deg, #030b1f 0%, #071b3a 42%, #0b3e84 100%);
}

.proof-story-experience .proof-card-surface {
  color: var(--white);
  background:
    radial-gradient(circle at 14% 10%, rgba(135, 181, 255, 0.34), transparent 30%),
    radial-gradient(circle at 88% 86%, rgba(242, 195, 79, 0.26), transparent 28%),
    linear-gradient(135deg, #0c2d67 0%, #1659bd 50%, #332b78 100%);
}

.proof-story-results .proof-card-surface {
  color: #071b3a;
  border-color: rgba(111, 77, 12, 0.12);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.74), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(77, 127, 214, 0.18), transparent 34%),
    linear-gradient(135deg, #fff9e9 0%, #f3cb68 56%, #dca93e 100%);
}

.proof-card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  opacity: 0.64;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-card-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  align-items: end;
  gap: clamp(54px, 8vw, 120px);
  flex: 1;
  padding-top: clamp(58px, 8vw, 110px);
}

.proof-card-copy {
  align-self: end;
}

.proof-card-kicker {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.proof-story-results .proof-card-kicker {
  color: #815b11;
}

.proof-card-copy h3 {
  margin: 0;
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.062em;
  word-break: keep-all;
}

.proof-card-copy > p:last-child {
  max-width: 500px;
  margin: 26px 0 0;
  opacity: 0.7;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.story-metrics {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-color: rgba(255, 255, 255, 0.2);
}

.proof-story-results .story-metrics {
  border-color: rgba(7, 27, 58, 0.18);
}

.story-metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 54px) clamp(20px, 3vw, 38px);
}

.story-metric + .story-metric {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-story-results .story-metric + .story-metric {
  border-left-color: rgba(7, 27, 58, 0.18);
}

.story-metric strong {
  max-width: 100%;
  font-size: clamp(52px, 5.65vw, 86px);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  line-height: 0.88;
  letter-spacing: -0.072em;
  white-space: nowrap;
}

.proof-story-scholarship .story-metric:first-child strong {
  font-size: clamp(48px, 5.15vw, 78px);
}

.story-metric span {
  margin-top: 24px;
  opacity: 0.72;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 620;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.admissions-marquee {
  width: min(var(--page-width), 100%);
  margin: 0 auto clamp(70px, 9vw, 118px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track,
.marquee-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.marquee-track {
  animation: admissions-marquee 34s linear infinite;
}

.marquee-group {
  flex: 0 0 auto;
  gap: 28px;
  padding: 24px 14px;
}

.marquee-group span {
  color: #25324a;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee-group i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

@keyframes admissions-marquee {
  to {
    transform: translateX(-50%);
  }
}

.approach {
  position: relative;
  z-index: 5;
  background: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}

.split-heading > div h2 {
  max-width: 850px;
}

.split-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--page-width), 100%);
  margin: clamp(64px, 8vw, 104px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-card {
  position: relative;
  min-height: 410px;
  padding: 34px 28px 38px;
  border-right: 1px solid var(--line);
  transition: color 320ms ease, background 320ms ease;
}

.solution-card:last-child {
  border-right: 0;
}

.solution-card:hover {
  color: var(--white);
  background: linear-gradient(155deg, #071b3a, #0d4ca3);
}

.solution-number {
  color: #9aa2b0;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.solution-card:hover .solution-number {
  color: rgba(255, 255, 255, 0.55);
}

.solution-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 62px;
  border: 1px solid rgba(21, 89, 196, 0.14);
  border-radius: 50%;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, rgba(21, 89, 196, 0.09), rgba(242, 195, 79, 0.16));
  font-size: 17px;
  font-weight: 760;
}

.solution-card:hover .solution-icon {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.08);
}

.solution-card h3 {
  margin: 28px 0 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.solution-card strong {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.solution-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.programs {
  position: relative;
  z-index: 5;
  background:
    radial-gradient(circle at 90% 28%, rgba(242, 195, 79, 0.1), transparent 20%),
    #f2f4f8;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
  width: min(var(--page-width), 100%);
  margin: clamp(56px, 7vw, 88px) auto 0;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(28px, 3.2vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(7, 27, 58, 0.09);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(9, 25, 55, 0.06);
  transition: transform 360ms var(--ease-out), box-shadow 360ms ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(9, 25, 55, 0.12);
}

.curriculum-card {
  grid-row: span 2;
  min-height: 720px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(53, 120, 231, 0.78), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(242, 195, 79, 0.17), transparent 34%),
    linear-gradient(145deg, #071b3a 0%, #0b2f69 58%, #0c428f 100%);
}

.curriculum-card::before {
  content: "";
  position: absolute;
  right: -24%;
  bottom: -30%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.025), 0 0 0 88px rgba(255, 255, 255, 0.018);
}

.admission-card {
  color: var(--navy);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, #fff8df 0%, #f5cc66 100%);
}

.intelligence-card {
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(21, 89, 196, 0.06), transparent 45%),
    var(--white);
}

.college-card {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 195, 79, 0.24), transparent 30%),
    linear-gradient(145deg, #132650 0%, #263c76 52%, #142653 100%);
}

.college-card .issue-badge {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.08);
}

.college-card .card-action {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: currentColor;
  opacity: 0.68;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.card-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 38px;
}

.curriculum-card .card-content {
  margin-top: 112px;
}

.card-content h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 730;
  line-height: 1.16;
  letter-spacing: -0.058em;
  word-break: keep-all;
}

.admission-card .card-content h3,
.intelligence-card .card-content h3 {
  font-size: clamp(30px, 3.1vw, 44px);
}

.card-content p {
  max-width: 560px;
  margin: 24px 0 0;
  color: currentColor;
  opacity: 0.72;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
}

.subject-chips span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.issue-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(21, 89, 196, 0.13);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(21, 89, 196, 0.06);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(7, 27, 58, 0.13);
  color: currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.card-action span {
  transition: transform 220ms var(--ease-out);
}

.card-action:hover span {
  transform: translate(3px, -3px);
}

.card-action.light {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--page-width), 100%);
  margin: 18px auto 0;
}

.service-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid rgba(7, 27, 58, 0.09);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 50px rgba(9, 25, 55, 0.05);
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 89, 196, 0.2);
  box-shadow: 0 24px 66px rgba(9, 25, 55, 0.1);
}

.service-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin: 36px 0 0;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.service-card p {
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.service-card button {
  width: fit-content;
  margin-top: auto;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(7, 27, 58, 0.22);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
}

.curriculum-explorer {
  position: relative;
  z-index: 5;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(242, 195, 79, 0.18), transparent 23%),
    radial-gradient(circle at 12% 88%, rgba(53, 120, 231, 0.28), transparent 32%),
    #06152e;
}

.curriculum-explorer .section-heading h2 {
  color: var(--white);
}

.curriculum-explorer .eyebrow {
  color: var(--gold-soft);
}

.program-browser {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 86px);
  width: min(var(--page-width), 100%);
  margin: clamp(58px, 8vw, 96px) auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.program-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
}

.program-tabs button {
  position: relative;
  width: 100%;
  padding: 17px 18px;
  border: 0;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-align: left;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease-out);
}

.program-tabs button:hover {
  color: var(--white);
  transform: translateX(4px);
}

.program-tabs button[aria-selected="true"] {
  color: #091735;
  background: linear-gradient(100deg, #f2c34f, #ffdf86);
  box-shadow: 0 12px 30px rgba(242, 195, 79, 0.16);
}

.program-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: end;
  gap: clamp(44px, 7vw, 96px);
  min-height: 440px;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(10, 34, 74, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 90px rgba(0, 5, 18, 0.24);
  backdrop-filter: blur(18px);
  animation: program-panel-in 500ms var(--ease-out) both;
}

.program-panel[hidden] {
  display: none;
}

@keyframes program-panel-in {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
}

.program-panel-copy > span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.program-panel-copy h3 {
  margin: 24px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.058em;
  word-break: keep-all;
}

.program-panel-copy p {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(233, 239, 250, 0.68);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.program-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-panel li {
  position: relative;
  padding: 18px 4px 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.5;
  word-break: keep-all;
}

.program-panel li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.program-panel li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--gold));
}

.success-stories {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: #f5f5f7;
}

.carousel-heading {
  display: flex;
  width: min(var(--page-width), 100%);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.carousel-controls button {
  display: grid;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--navy);
  background: #e4e6ea;
  cursor: pointer;
  font-size: 20px;
  transition: transform 220ms var(--ease-out), color 220ms ease, background 220ms ease;
}

.carousel-controls button:hover {
  transform: scale(1.06);
  color: var(--white);
  background: var(--navy);
}

.story-scroller {
  display: grid;
  grid-auto-columns: minmax(360px, 430px);
  grid-auto-flow: column;
  gap: 18px;
  width: min(var(--page-width), 100%);
  margin: clamp(58px, 8vw, 92px) auto 0;
  padding: 0 0 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(7, 27, 58, 0.26) transparent;
  scrollbar-width: thin;
}

.success-card {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  padding: 34px;
  border-radius: 34px;
  color: var(--white);
  scroll-snap-align: start;
  box-shadow: 0 22px 60px rgba(5, 17, 39, 0.12);
}

.success-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  opacity: 0.65;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.university-monogram {
  display: grid;
  width: 86px;
  height: 86px;
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.04em;
  backdrop-filter: blur(12px);
}

.success-card h3 {
  max-width: 360px;
  margin: 34px 0 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.success-major {
  margin: 15px 0 0;
  opacity: 0.68;
  font-size: 13px;
  font-weight: 620;
}

.success-card blockquote {
  margin: auto 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.student-label {
  margin-top: 20px;
  opacity: 0.56;
  font-size: 12px;
  font-weight: 650;
}

.success-card-dark {
  background: linear-gradient(145deg, #020817, #142d61);
}

.success-card-blue {
  background: linear-gradient(145deg, #0a4292, #1771df);
}

.success-card-gold {
  color: #091735;
  background: linear-gradient(145deg, #ffe49a, #dca636);
}

.success-card-light {
  color: #102044;
  background: linear-gradient(145deg, #dbe8ff, #f5f7fb 72%);
}

.success-card-navy {
  background: linear-gradient(145deg, #132650, #493870);
}

.success-card-gold .university-monogram,
.success-card-light .university-monogram {
  border-color: rgba(7, 27, 58, 0.14);
  background: rgba(255, 255, 255, 0.3);
}

.success-card-gold blockquote,
.success-card-light blockquote {
  border-top-color: rgba(7, 27, 58, 0.15);
  color: rgba(7, 27, 58, 0.74);
}

.team {
  position: relative;
  z-index: 5;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--page-width), 100%);
  margin: clamp(60px, 8vw, 96px) auto 0;
}

.team-card {
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 120, 231, 0.08), transparent 30%),
    #fafbfc;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(7, 27, 58, 0.1);
}

.team-avatar {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 44px;
  border-radius: 50%;
  place-items: center;
  color: var(--gold-soft);
  background: linear-gradient(145deg, #0b376f, #07172f);
  box-shadow: inset 0 0 0 1px rgba(242, 195, 79, 0.28);
  font-size: 17px;
  font-weight: 720;
}

.team-card > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.11em;
}

.team-card h3 {
  margin: 15px 0 0;
  color: var(--navy);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.team-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.content-hub {
  position: relative;
  z-index: 5;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(53, 120, 231, 0.32), transparent 28%),
    #040f24;
}

.content-hub .section-heading h2 {
  color: var(--white);
}

.content-hub .eyebrow {
  color: var(--gold-soft);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  width: min(var(--page-width), 100%);
  margin: clamp(58px, 8vw, 94px) auto 0;
}

.content-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  color: var(--white);
  transition: transform 340ms var(--ease-out), box-shadow 340ms ease;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 74px rgba(0, 3, 14, 0.3);
}

.content-featured {
  grid-row: span 2;
  min-height: 798px;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 211, 93, 0.36), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(68, 137, 255, 0.38), transparent 38%),
    linear-gradient(145deg, #071b3a, #164f9f);
}

.content-youtube {
  background: linear-gradient(145deg, #471120, #b42945);
}

.content-blog {
  color: #071b3a;
  border-color: rgba(7, 27, 58, 0.1);
  background: linear-gradient(145deg, #effff4, #6ed58e);
}

.content-card-meta {
  display: flex;
  justify-content: space-between;
  opacity: 0.58;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.13em;
}

.content-card > div:nth-child(2) {
  margin-top: auto;
}

.content-label {
  margin: 0 0 17px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.content-youtube .content-label {
  color: #ffd0d9;
}

.content-blog .content-label {
  color: #145c2e;
}

.content-card h3 {
  margin: 0;
  font-size: clamp(31px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.content-youtube h3,
.content-blog h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.content-card div > p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  opacity: 0.7;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.content-card button,
.content-card > a,
.content-link {
  width: fit-content;
  margin-top: 34px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
}

.faq {
  position: relative;
  z-index: 5;
  background: var(--white);
}

.faq-list {
  width: min(var(--page-width), 100%);
  margin: clamp(58px, 8vw, 94px) auto 0;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 92px;
  cursor: pointer;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
  letter-spacing: -0.035em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: #9aa2b0;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.faq-list summary i {
  justify-self: end;
  color: var(--blue);
  font-size: 28px;
  font-style: normal;
  font-weight: 350;
  transition: transform 260ms var(--ease-out);
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 820px;
  margin: -4px 0 0 44px;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.manifesto {
  position: relative;
  z-index: 6;
  padding: clamp(130px, 17vw, 240px) clamp(24px, 4vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: #06152e;
}

.manifesto::before {
  content: "ECF";
  position: absolute;
  right: -0.05em;
  bottom: -0.35em;
  color: rgba(255, 255, 255, 0.025);
  font-family: inherit;
  font-size: clamp(240px, 35vw, 560px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
}

.manifesto-glow {
  position: absolute;
  top: -260px;
  left: 55%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(21, 89, 196, 0.5), rgba(242, 195, 79, 0.24), transparent 70%);
  filter: blur(110px);
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.manifesto .eyebrow {
  color: var(--gold);
}

.manifesto h2 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.manifesto h2 span {
  color: #97a6c0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 7;
  padding: 70px clamp(24px, 4vw, 72px) 28px;
  color: #c9d1df;
  background: #040e20;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.2fr;
  gap: 72px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding-bottom: 62px;
}

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

.footer-brand strong {
  color: var(--white);
  font-size: 22px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #8792a7;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-mark {
  width: 52px;
  height: 52px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
  color: #a8b3c5;
  font-size: 13px;
}

.footer-column p,
.footer-column a {
  margin: 0;
}

.footer-column a:hover {
  color: var(--gold-soft);
}

.footer-label {
  margin-bottom: 9px !important;
  color: var(--gold) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.footer-address {
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #6f7a90;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--white);
}

.reveal {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 900ms var(--ease-out), opacity 700ms ease;
}

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

.bento-card:nth-child(2) {
  transition-delay: 80ms;
}

.bento-card:nth-child(3) {
  transition-delay: 150ms;
}

.toast {
  position: fixed;
  z-index: 180;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  transform: translateY(24px) scale(0.98);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--white);
  background: rgba(5, 19, 43, 0.93);
  box-shadow: 0 16px 46px rgba(4, 14, 32, 0.28);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 620;
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

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

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    gap: 18px;
  }

  .nav-trigger {
    font-size: 15px;
  }

  .nav-consult {
    display: none;
  }

  .mega-inner {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .mega-note {
    display: none;
  }

  .book-scene {
    width: min(900px, 88vw);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 24px;
  }

  .hero-visual {
    width: min(500px, 43vw);
  }

  .proof-card-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(390px, 1.2fr);
    gap: 44px;
  }

  .story-metric {
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .solution-card:nth-child(2) {
    border-right: 0;
  }

  .solution-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .program-browser {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 36px;
  }

  .program-panel {
    grid-template-columns: 1fr;
    gap: 46px;
  }

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

}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .book-sequence,
  .book-sticky {
    min-height: 620px;
  }

  html.book-motion-ready .book-sequence-intro {
    height: 270svh;
  }

  html.book-motion-ready .book-sequence-outro {
    height: 225svh;
  }

  .book-sequence-label {
    top: calc(var(--header-height) + 22px);
    right: 20px;
    left: 20px;
  }

  .book-scene {
    width: min(900px, 96vw);
  }

  .book-object {
    transform: translate3d(var(--book-shift-x), 0, 0) rotateX(5deg) rotateZ(-0.8deg);
  }

  .book-transition-copy {
    bottom: 76px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .desktop-nav,
  .mega-stage,
  .menu-backdrop {
    display: none;
  }

  .mobile-toggle {
    position: relative;
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    transform: translateY(-18px);
    overflow-y: auto;
    background: rgba(250, 251, 253, 0.98);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(30px);
    transition: opacity 220ms ease, transform 340ms var(--ease-out), visibility 220ms step-end;
  }

  .mobile-open .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: opacity 220ms ease, transform 340ms var(--ease-out), visibility 0ms step-start;
  }

  .mobile-menu-inner {
    width: min(620px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 60px;
  }

  .mobile-kicker {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
  }

  .mobile-group {
    border-bottom: 1px solid var(--line);
  }

  .mobile-group-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    padding: 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    font-weight: 680;
    letter-spacing: -0.035em;
  }

  .mobile-group-trigger span:last-child {
    color: var(--blue);
    font-size: 24px;
    font-weight: 350;
    transition: transform 250ms var(--ease-out);
  }

  .mobile-group-trigger[aria-expanded="true"] span:last-child {
    transform: rotate(45deg);
  }

  .mobile-group-panel {
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 380ms var(--ease-out), opacity 220ms ease, padding 320ms var(--ease-out);
  }

  .mobile-group-trigger[aria-expanded="true"] + .mobile-group-panel {
    max-height: 620px;
    padding-bottom: 22px;
    opacity: 1;
  }

  .mobile-link {
    display: block;
    width: 100%;
    padding: 9px 0;
    border: 0;
    color: #4c5564;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 570;
    text-align: left;
  }

  .mobile-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .mobile-consult {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding: 18px 20px;
    border-radius: 16px;
    color: var(--white);
    background: var(--navy);
    font-size: 15px;
    font-weight: 700;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 72px) 24px 88px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    margin: 0 auto;
    font-size: clamp(46px, 10vw, 76px);
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(520px, 82vw);
    justify-self: center;
  }

  .hero-bottom {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 40px;
  }

  .proof {
    margin-top: -28px;
    border-radius: 30px 30px 0 0;
  }

  .proof-stack {
    display: block;
  }

  .proof-story-card + .proof-story-card {
    margin-top: 22px;
  }

  .proof-story-card {
    position: relative;
    top: auto;
    min-height: 660px;
  }

  .proof-card-surface {
    min-height: inherit;
    transform: none;
    filter: none;
  }

  .proof-card-layout {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 52px;
    padding-top: 54px;
  }

  .proof-card-copy h3 {
    max-width: 650px;
  }

  .story-metrics {
    min-height: 210px;
  }

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

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

  .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric-card:nth-child(3) {
    padding-left: 0;
  }

  .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-heading > p {
    max-width: 680px;
  }

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

  .curriculum-card {
    grid-row: auto;
    min-height: 660px;
  }

  .bento-card {
    min-height: 430px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .program-browser {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .program-tabs {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  .program-tabs button {
    width: auto;
    flex: 0 0 auto;
    padding: 13px 18px;
    scroll-snap-align: start;
  }

  .program-panel {
    min-height: 560px;
  }

  .carousel-heading {
    align-items: flex-end;
  }

  .story-scroller {
    grid-auto-columns: minmax(330px, 78vw);
  }

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

  .content-featured {
    grid-row: auto;
    min-height: 620px;
  }

  .content-youtube,
  .content-blog {
    min-height: 440px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .book-sequence,
  .book-sticky {
    min-height: 580px;
  }

  .book-scene {
    width: 108vw;
  }

  .book-sequence-label {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .book-cover-frame {
    inset: 10px;
    border-radius: 2px 13px 13px 2px;
  }

  .book-cover-face,
  .book-back-cover,
  .book-page,
  .book-turning-page {
    border-radius: 2px 18px 18px 2px;
  }

  .book-cover-logo {
    width: 52%;
    margin-top: 13%;
  }

  .book-cover-title {
    right: 7%;
    bottom: 10%;
    left: 7%;
  }

  .book-cover-title strong {
    font-size: 18px;
  }

  .book-cover-title span {
    margin-top: 8px;
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .book-page-copy {
    right: 8%;
    left: 8%;
  }

  .book-page-copy span {
    font-size: 6px;
    letter-spacing: 0.1em;
  }

  .book-page-copy p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .book-page-foot {
    font-size: 5px;
    letter-spacing: 0.08em;
  }

  .book-transition-copy {
    bottom: 68px;
  }

  .book-transition-copy span {
    font-size: 8px;
  }

  .book-transition-copy p {
    margin-top: 10px;
    font-size: 21px;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero .eyebrow {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 1.12;
  }

  .hero-description {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: min(440px, 98vw);
  }

  .hero-bottom {
    justify-content: center;
  }

  .hero-bottom a {
    display: none;
  }

  .section-pad {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 10.8vw, 50px);
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .proof-story-card {
    min-height: 690px;
  }

  .proof-card-surface {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .proof-card-topline {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .proof-card-layout {
    gap: 38px;
    padding-top: 42px;
  }

  .proof-card-copy h3 {
    font-size: 38px;
    line-height: 1.1;
  }

  .proof-card-copy > p:last-child {
    margin-top: 20px;
    font-size: 15px;
  }

  .story-metrics {
    min-height: 180px;
  }

  .story-metric {
    padding: 24px 12px;
  }

  .story-metric strong {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .proof-story-scholarship .story-metric:first-child strong {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .story-metric span {
    margin-top: 16px;
    font-size: 13px;
  }

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

  .metric-card,
  .metric-card:first-child,
  .metric-card:nth-child(3) {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .bento-card {
    min-height: 410px;
    padding: 28px;
    border-radius: 26px;
  }

  .curriculum-card {
    min-height: 610px;
  }

  .curriculum-card .card-content {
    margin-top: 76px;
  }

  .card-content h3,
  .admission-card .card-content h3,
  .intelligence-card .card-content h3 {
    font-size: 34px;
  }

  .subject-chips {
    gap: 7px;
  }

  .subject-chips span {
    padding: 7px 10px;
    font-size: 11px;
  }

  .admissions-marquee {
    margin-bottom: 64px;
  }

  .marquee-group {
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

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

  .solution-card,
  .solution-card:nth-child(2),
  .solution-card:last-child {
    min-height: 320px;
    padding: 28px 22px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .solution-card:last-child {
    border-bottom: 0;
  }

  .solution-icon {
    margin-top: 42px;
  }

  .service-card {
    min-height: 300px;
    padding: 28px;
    border-radius: 26px;
  }

  .program-tabs {
    margin-right: -20px;
    padding-right: 20px;
  }

  .program-panel {
    min-height: 600px;
    gap: 40px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .program-panel-copy h3 {
    font-size: 38px;
  }

  .carousel-heading {
    display: block;
  }

  .carousel-controls {
    margin-top: 28px;
  }

  .story-scroller {
    grid-auto-columns: calc(100vw - 40px);
  }

  .success-card {
    min-height: 520px;
    padding: 28px;
    border-radius: 28px;
  }

  .university-monogram {
    margin-top: 54px;
  }

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

  .team-card {
    min-height: 300px;
    padding: 28px;
  }

  .content-card,
  .content-youtube,
  .content-blog {
    min-height: 430px;
    padding: 28px;
    border-radius: 28px;
  }

  .content-featured {
    min-height: 570px;
  }

  .faq-list summary {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    min-height: 82px;
    font-size: 17px;
  }

  .faq-list details > p {
    margin-left: 30px;
    padding-right: 20px;
    font-size: 15px;
  }

  .manifesto {
    padding-right: 20px;
    padding-left: 20px;
  }

  .manifesto h2 {
    font-size: 36px;
  }

  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

  html.book-motion-ready .book-sequence {
    height: 100svh !important;
  }

  .book-sticky {
    position: relative;
  }

  .book-scroll-cue,
  .book-transition-copy {
    display: none;
  }

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

/* About pages */

.subpage {
  color: var(--ink);
  background: var(--white);
}

.subpage .subpage-main {
  position: relative;
  color: var(--ink);
  background: var(--white);
}

.nav-trigger-current::after {
  transform: scaleX(1);
}

.mega-link[aria-current="page"],
.mobile-link[aria-current="page"] {
  color: var(--blue);
}

.about-rail {
  position: sticky;
  z-index: 45;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(7, 27, 58, 0.09);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.about-rail a {
  position: relative;
  display: grid;
  min-height: 56px;
  padding: 0 clamp(16px, 2.6vw, 38px);
  place-items: center;
  color: #5c6472;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.about-rail a::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: 0;
  left: 28%;
  height: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: transform 220ms var(--ease-out);
}

.about-rail a:hover,
.about-rail a[aria-current="page"] {
  color: var(--navy);
}

.about-rail a[aria-current="page"]::after {
  transform: scaleX(1);
}

.subpage-hero {
  min-height: calc(100svh - 56px);
  padding: clamp(128px, 15vh, 190px) clamp(28px, 5vw, 80px) clamp(74px, 10vh, 120px);
  background:
    radial-gradient(circle at 80% 18%, rgba(242, 195, 79, 0.16), transparent 26%),
    radial-gradient(circle at 15% 78%, rgba(53, 120, 231, 0.14), transparent 30%),
    linear-gradient(180deg, #f8f9fc, #ffffff 72%);
}

.subpage-hero-inner,
.editorial-heading,
.story-quote-inner,
.location-contact-inner,
.course-principle-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.subpage-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.subpage-hero h1 {
  max-width: 1150px;
  margin: clamp(30px, 6vh, 64px) 0 0;
  color: var(--navy);
  font-size: clamp(58px, 7.6vw, 112px);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.subpage-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #0f57c7 4%, #3578e7 44%, #c79019 94%);
  background-clip: text;
  -webkit-background-clip: text;
}

.subpage-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(60px, 13vh, 144px);
  padding-top: 26px;
  border-top: 1px solid rgba(7, 27, 58, 0.13);
}

.subpage-hero-bottom p {
  max-width: 680px;
  margin: 0;
  color: #596171;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.55;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.subpage-hero-bottom > span {
  color: #7a8290;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.section-pad-light {
  padding: clamp(90px, 12vw, 170px) clamp(24px, 5vw, 80px);
  background: var(--white);
}

.story-lead {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: 0;
}

.story-lead-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 8vw, 120px);
  width: min(var(--page-width), 100%);
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 86px);
  overflow: hidden;
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(50, 117, 231, 0.36), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(242, 195, 79, 0.2), transparent 28%),
    linear-gradient(145deg, #020817, #082451 58%, #061631);
  box-shadow: 0 34px 100px rgba(3, 16, 40, 0.2);
}

.story-lead-mark {
  display: grid;
  align-self: center;
  width: min(340px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 124, 0.72);
  border-radius: 50%;
  background: #132245;
  box-shadow: 0 0 40px rgba(242, 195, 79, 0.38), 0 0 110px rgba(42, 107, 222, 0.34);
}

.story-lead-mark img {
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
}

.story-lead-copy {
  align-self: center;
}

.story-lead-copy .subpage-kicker {
  color: var(--gold-soft);
}

.story-lead-copy h2 {
  margin: 28px 0 0;
  font-size: clamp(38px, 4.5vw, 67px);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.story-lead-copy > p:last-child {
  max-width: 700px;
  margin: 36px 0 0;
  color: rgba(239, 244, 255, 0.72);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 100px);
}

.editorial-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5.1vw, 74px);
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.story-route {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 590px;
  padding: clamp(30px, 4.2vw, 58px);
  overflow: hidden;
  border-radius: 36px;
  color: var(--white);
  background: linear-gradient(145deg, #0f5cce, #072b65);
}

.story-route-featured {
  grid-row: span 2;
  min-height: 1202px;
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 220, 124, 0.18), transparent 22%),
    linear-gradient(150deg, #020817, #09265a 64%, #123d7d);
}

.story-route-gold {
  color: var(--navy);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(145deg, #ffe5a2, #f2bd40);
}

.story-route-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  opacity: 0.66;
}

.story-route-label {
  margin: 0 0 20px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 760;
}

.story-route-gold .story-route-label {
  color: #8b6100;
}

.story-route h3 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 680;
  line-height: 1.14;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.story-route p:not(.story-route-label) {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(245, 248, 255, 0.72);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.story-route-gold p:not(.story-route-label) {
  color: rgba(7, 27, 58, 0.68);
}

.story-route-points {
  display: grid;
  gap: 0;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.story-route-points li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.story-quote-band {
  padding: clamp(100px, 16vw, 230px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(53, 120, 231, 0.38), transparent 28%),
    linear-gradient(150deg, #06152e, #020817);
}

.story-quote-band .subpage-kicker {
  color: var(--gold-soft);
}

.story-quote-band blockquote {
  max-width: 1080px;
  margin: 42px 0 0;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 660;
  line-height: 1.12;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.story-quote-band blockquote span {
  color: var(--gold-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-card {
  min-height: 350px;
  padding: 38px clamp(22px, 2.5vw, 36px);
  border-right: 1px solid var(--line);
}

.method-card:last-child {
  border-right: 0;
}

.method-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.method-card h3 {
  margin: 90px 0 0;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.045em;
}

.method-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.subpage-next {
  padding: clamp(100px, 14vw, 200px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 70%, rgba(53, 120, 231, 0.32), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

.subpage-next-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.subpage-next-inner > p {
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 760;
}

.subpage-next h2 {
  max-width: 950px;
  margin: 30px 0 0;
  font-size: clamp(46px, 6.3vw, 88px);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.subpage-next a,
.course-principle a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--gold-soft);
  font-size: 18px;
  font-weight: 680;
}

/* Location */

.location-hero {
  background:
    radial-gradient(circle at 74% 20%, rgba(242, 195, 79, 0.2), transparent 27%),
    linear-gradient(145deg, #f3f6fc, #ffffff 72%);
}

.location-address-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 100px);
  width: min(var(--page-width), 100%);
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px);
  overflow: hidden;
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(242, 195, 79, 0.24), transparent 25%),
    linear-gradient(145deg, #062255, #020817);
  box-shadow: 0 34px 100px rgba(3, 16, 40, 0.18);
}

.location-floor {
  align-self: center;
  color: transparent;
  background: linear-gradient(150deg, #ffffff, #568fe9 48%, #f2c34f);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(150px, 20vw, 300px);
  font-weight: 780;
  line-height: 0.8;
  letter-spacing: -0.1em;
  text-align: center;
}

.location-address-copy {
  align-self: center;
}

.location-address-copy .subpage-kicker {
  color: var(--gold-soft);
}

.location-address-copy h2 {
  margin: 34px 0 0;
  font-size: clamp(39px, 4.8vw, 70px);
  font-weight: 680;
  line-height: 1.13;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.location-address-copy > p {
  margin: 30px 0 0;
  color: rgba(239, 244, 255, 0.66);
  font-size: 17px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  transition: transform 220ms var(--ease-out), background 220ms ease, color 220ms ease;
}

.location-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.location-button-primary {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.location-button.is-copied {
  color: var(--navy);
  background: var(--gold-soft);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.visit-card {
  min-height: 370px;
  padding: 34px clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.visit-card:first-child {
  border-left: 1px solid var(--line);
}

.visit-card > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.visit-card h3 {
  margin: 110px 0 0;
  color: var(--navy);
  font-size: clamp(25px, 2.2vw, 32px);
  letter-spacing: -0.05em;
}

.visit-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
}

.location-contact-band {
  padding: clamp(90px, 12vw, 170px) clamp(24px, 5vw, 80px);
  background: #f5f5f7;
}

.location-contact-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 9vw, 130px);
}

.location-contact-inner h2 {
  margin: 28px 0 0;
  color: var(--navy);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.location-contact-list {
  display: grid;
}

.location-contact-list a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  border-bottom: 1px solid rgba(7, 27, 58, 0.13);
}

.location-contact-list a:first-child {
  border-top: 1px solid rgba(7, 27, 58, 0.13);
}

.location-contact-list span {
  color: var(--muted);
  font-size: 14px;
}

.location-contact-list strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -0.025em;
}

.location-contact-list i {
  color: var(--blue);
  font-style: normal;
}

.subpage-next-light {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 79, 0.14), transparent 26%),
    linear-gradient(145deg, #071b3a, #0c3676);
}

/* Courses */

.courses-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(53, 120, 231, 0.18), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(242, 195, 79, 0.12), transparent 28%),
    #f7f8fb;
}

.course-index {
  position: sticky;
  z-index: 40;
  top: calc(var(--header-height) + 56px);
  padding: 12px 20px;
  border-top: 1px solid rgba(7, 27, 58, 0.08);
  border-bottom: 1px solid rgba(7, 27, 58, 0.1);
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.course-index-inner {
  display: flex;
  gap: 8px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.course-index-inner::-webkit-scrollbar {
  display: none;
}

.course-index a {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid rgba(7, 27, 58, 0.12);
  border-radius: 999px;
  color: #5c6472;
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 640;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.course-index a:hover,
.course-index a.is-active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.course-catalog {
  padding-top: clamp(90px, 10vw, 140px);
}

.course-family {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 100px);
  width: min(var(--page-width), 100%);
  min-height: 600px;
  margin: 0 auto 22px;
  padding: clamp(38px, 5vw, 72px);
  scroll-margin-top: calc(var(--header-height) + 130px);
  border-radius: 38px;
  color: var(--white);
  background: linear-gradient(145deg, #0b367c, #06152e);
}

.course-family-ap {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 79, 0.22), transparent 25%),
    linear-gradient(145deg, #020817, #0b3577);
}

.course-family-ib {
  color: var(--navy);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(145deg, #cfe0ff, #f2c34f 145%);
}

.course-family-heading {
  display: flex;
  flex-direction: column;
}

.course-family-heading > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.course-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 780;
  opacity: 0.72;
}

.course-family-heading > div p {
  margin: 0;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.16em;
  opacity: 0.66;
}

.course-family h3 {
  margin: auto 0 0;
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.course-family-heading > p {
  max-width: 480px;
  margin: 34px 0 0;
  color: rgba(239, 244, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.course-family-ib .course-family-heading > p,
.course-family-light .course-family-heading > p {
  color: rgba(7, 27, 58, 0.65);
}

.course-list {
  display: grid;
  align-content: center;
}

.course-list-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.course-list span {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 620;
  letter-spacing: -0.025em;
}

.course-family-ib .course-list span {
  border-color: rgba(7, 27, 58, 0.16);
}

.course-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto 22px;
}

.course-pair .course-family {
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 610px;
  margin: 0;
}

.course-family-light {
  color: var(--navy);
  background: #f1f3f7;
}

.course-family-myp {
  background:
    radial-gradient(circle at 75% 18%, rgba(53, 120, 231, 0.17), transparent 30%),
    #f5f6f8;
}

.course-pair .course-family h3 {
  margin-top: 130px;
  font-size: clamp(60px, 7vw, 98px);
}

.course-focus {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 9px;
}

.course-focus span {
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  opacity: 0.76;
}

.course-family-test {
  color: var(--navy);
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 195, 79, 0.33), transparent 28%),
    linear-gradient(145deg, #e9f0ff, #ffffff);
}

.course-family-test .course-family-heading > p {
  color: rgba(7, 27, 58, 0.65);
}

.course-family-test .course-list span {
  border-color: rgba(7, 27, 58, 0.14);
}

.course-family-dark {
  background: linear-gradient(145deg, #06152e, #0b3577);
}

.course-family-toefl {
  background: linear-gradient(145deg, #0b367c, #1559c4);
}

.course-family-competition {
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  color: var(--navy);
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.4), transparent 30%),
    linear-gradient(145deg, #ffdf8c, #f2b92f);
}

.course-family-competition h3 {
  max-width: 100%;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.course-family-competition .course-list {
  min-width: 0;
}

.course-family-competition .course-family-heading > p {
  color: rgba(7, 27, 58, 0.66);
}

.course-family-competition .course-list span {
  border-color: rgba(7, 27, 58, 0.16);
}

.course-list-competition {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.course-principle {
  padding: clamp(110px, 16vw, 230px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(53, 120, 231, 0.36), transparent 28%),
    linear-gradient(145deg, #020817, #061a3c);
}

.course-principle .subpage-kicker {
  color: var(--gold-soft);
}

.course-principle h2 {
  max-width: 1060px;
  margin: 40px 0 0;
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 660;
  line-height: 1.1;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.course-principle h2 span {
  color: var(--gold-soft);
}

.course-principle-inner > p:not(.subpage-kicker) {
  max-width: 700px;
  margin: 42px 0 0;
  color: rgba(239, 244, 255, 0.68);
  font-size: 18px;
  line-height: 1.72;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .subpage-hero h1 {
    font-size: clamp(52px, 9vw, 88px);
  }

  .story-lead-card,
  .location-address-card {
    grid-template-columns: 1fr;
  }

  .story-lead-mark {
    width: min(250px, 58vw);
  }

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

  .story-route-featured {
    grid-row: auto;
    min-height: 720px;
  }

  .story-route {
    min-height: 540px;
  }

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

  .method-card:nth-child(2) {
    border-right: 0;
  }

  .method-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .location-floor {
    font-size: clamp(150px, 32vw, 250px);
  }

  .location-contact-inner {
    grid-template-columns: 1fr;
  }

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

  .course-family h3 {
    margin-top: 110px;
  }

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

@media (max-width: 700px) {
  .about-rail {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 8px;
    scrollbar-width: none;
  }

  .about-rail::-webkit-scrollbar {
    display: none;
  }

  .about-rail a {
    padding: 0 15px;
    font-size: 13px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 116px 22px 76px;
  }

  .subpage-hero h1 {
    margin-top: 32px;
    font-size: clamp(44px, 13.6vw, 68px);
    line-height: 1.03;
  }

  .subpage-hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 76px;
  }

  .subpage-hero-bottom p {
    font-size: 18px;
  }

  .section-pad-light {
    padding: 84px 20px;
  }

  .story-lead {
    padding-top: 68px;
    padding-bottom: 0;
  }

  .story-lead-card,
  .location-address-card {
    min-height: auto;
    padding: 34px 24px 42px;
    border-radius: 28px;
  }

  .story-lead-copy h2,
  .location-address-copy h2 {
    font-size: 38px;
  }

  .story-lead-copy > p:last-child {
    font-size: 16px;
  }

  .editorial-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .editorial-heading h2 {
    font-size: 42px;
  }

  .story-route {
    min-height: 520px;
    padding: 30px 24px;
    border-radius: 28px;
  }

  .story-route-featured {
    min-height: 670px;
  }

  .story-route h3 {
    font-size: 36px;
  }

  .story-quote-band {
    padding: 104px 22px;
  }

  .story-quote-band blockquote {
    font-size: 42px;
  }

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

  .method-card,
  .method-card:nth-child(2),
  .method-card:last-child {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-card:last-child {
    border-bottom: 0;
  }

  .method-card h3 {
    margin-top: 70px;
  }

  .subpage-next {
    padding: 104px 22px;
  }

  .subpage-next h2 {
    font-size: 43px;
  }

  .location-floor {
    font-size: 150px;
  }

  .location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .location-button {
    width: 100%;
  }

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

  .visit-card,
  .visit-card:first-child {
    min-height: 300px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .visit-card h3 {
    margin-top: 70px;
  }

  .location-contact-band {
    padding: 90px 22px;
  }

  .location-contact-list a {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 92px;
  }

  .location-contact-list strong {
    font-size: 15px;
  }

  .course-index {
    top: calc(var(--header-height) + 56px);
    padding-right: 8px;
    padding-left: 8px;
  }

  .course-catalog {
    padding-top: 78px;
  }

  .course-family {
    min-height: 590px;
    padding: 32px 24px;
    scroll-margin-top: calc(var(--header-height) + 122px);
    border-radius: 28px;
  }

  .course-family h3,
  .course-pair .course-family h3 {
    margin-top: 100px;
    font-size: 62px;
  }

  .course-list-two,
  .course-list-competition {
    grid-template-columns: 1fr;
  }

  .course-list span {
    min-height: 58px;
    font-size: 16px;
  }

  .course-pair {
    gap: 18px;
  }

  .course-pair .course-family {
    min-height: 560px;
  }

  .course-principle {
    padding: 110px 22px;
  }

  .course-principle h2 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage .reveal {
    transform: none;
    opacity: 1;
  }
}

/* ECF curriculum */

.curriculum-rail {
  position: sticky;
  z-index: 45;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid rgba(7, 27, 58, 0.09);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.curriculum-rail > strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.curriculum-rail > div {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.curriculum-rail a {
  color: #5c6472;
  font-size: 14px;
  font-weight: 630;
  transition: color 180ms ease;
}

.curriculum-rail a:hover {
  color: var(--blue);
}

.curriculum-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 195, 79, 0.2), transparent 26%),
    radial-gradient(circle at 14% 82%, rgba(53, 120, 231, 0.18), transparent 30%),
    linear-gradient(160deg, #f4f7fd, #ffffff 72%);
}

.curriculum-map {
  padding-bottom: 0;
}

.curriculum-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.curriculum-map-grid > div {
  min-height: 280px;
  padding: 32px clamp(20px, 2.6vw, 38px);
  border-right: 1px solid var(--line);
}

.curriculum-map-grid > div:last-child {
  border-right: 0;
}

.curriculum-map-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.curriculum-map-grid strong {
  display: block;
  margin-top: 74px;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: -0.025em;
}

.curriculum-map-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

.curriculum-services {
  padding-top: clamp(110px, 14vw, 190px);
}

.curriculum-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.curriculum-service-card {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 580px;
  padding: clamp(32px, 4.2vw, 58px);
  scroll-margin-top: calc(var(--header-height) + 76px);
  border-radius: 36px;
  color: var(--navy);
  background: #f1f3f7;
}

.curriculum-service-featured {
  grid-column: span 2;
  min-height: 690px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(242, 195, 79, 0.2), transparent 25%),
    radial-gradient(circle at 16% 82%, rgba(53, 120, 231, 0.3), transparent 28%),
    linear-gradient(145deg, #020817, #082858 68%, #0c3575);
}

.curriculum-service-blue {
  color: var(--white);
  background: linear-gradient(145deg, #0e63d7, #07316f);
}

.curriculum-service-light {
  background:
    radial-gradient(circle at 78% 18%, rgba(53, 120, 231, 0.15), transparent 28%),
    #f1f3f7;
}

.curriculum-service-gold {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #ffe4a0, #f2bd40);
}

.curriculum-service-navy {
  color: var(--white);
  background:
    radial-gradient(circle at 75% 22%, rgba(53, 120, 231, 0.3), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

.curriculum-service-sky {
  background:
    radial-gradient(circle at 76% 18%, rgba(242, 195, 79, 0.22), transparent 28%),
    linear-gradient(145deg, #dbe8ff, #f5f8ff);
}

.curriculum-service-aid {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 195, 79, 0.18), transparent 26%),
    linear-gradient(145deg, #0d408b, #06152e);
}

.curriculum-service-strength {
  background:
    radial-gradient(circle at 76% 22%, rgba(53, 120, 231, 0.18), transparent 28%),
    linear-gradient(145deg, #ffffff, #e9eef7);
}

.service-card-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  opacity: 0.56;
}

.service-label {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.curriculum-service-card:is(.curriculum-service-featured, .curriculum-service-blue, .curriculum-service-navy, .curriculum-service-aid) .service-label {
  color: var(--gold-soft);
}

.curriculum-service-card h3 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(37px, 4.1vw, 60px);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.058em;
  word-break: keep-all;
}

.curriculum-service-card div > p:last-child:not(.service-label) {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(7, 27, 58, 0.66);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.curriculum-service-card:is(.curriculum-service-featured, .curriculum-service-blue, .curriculum-service-navy, .curriculum-service-aid) div > p:last-child:not(.service-label) {
  color: rgba(239, 244, 255, 0.72);
}

.curriculum-service-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
}

.curriculum-service-card li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.service-fee-note {
  margin: 42px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-soft);
  font-size: 15px;
  font-weight: 670;
}

.curriculum-ways {
  padding: clamp(110px, 14vw, 200px) clamp(24px, 5vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(53, 120, 231, 0.34), transparent 28%),
    linear-gradient(145deg, #020817, #061a3c);
}

.curriculum-ways-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.curriculum-ways .editorial-heading {
  width: 100%;
}

.curriculum-ways .subpage-kicker {
  color: var(--gold-soft);
}

.curriculum-ways .editorial-heading h2 {
  color: var(--white);
}

.service-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-model-card {
  min-height: 580px;
  padding: clamp(32px, 4.2vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.07);
}

.service-model-package {
  color: var(--navy);
  background: linear-gradient(145deg, #ffdf8c, #f2b92f);
}

.service-model-card > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.66;
}

.service-model-card h3 {
  margin: 150px 0 0;
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-model-card > p {
  max-width: 520px;
  margin: 32px 0 0;
  color: rgba(239, 244, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.service-model-package > p {
  color: rgba(7, 27, 58, 0.68);
}

.service-model-card ul {
  display: grid;
  gap: 0;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.service-model-card li {
  padding: 16px 0;
  border-top: 1px solid currentColor;
  font-size: 16px;
  opacity: 0.72;
}

.package-examples {
  margin-top: clamp(100px, 13vw, 180px);
}

.package-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.package-example {
  min-height: 320px;
  padding: 32px clamp(22px, 2.7vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.package-example:last-child {
  border-right: 0;
}

.package-example > span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 680;
}

.package-example h3 {
  margin: 94px 0 0;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.package-example p {
  margin: 20px 0 0;
  color: rgba(239, 244, 255, 0.64);
  font-size: 16px;
  line-height: 1.65;
}

.package-caption {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(239, 244, 255, 0.5);
  font-size: 14px;
}

.fee-guide-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 9vw, 130px);
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 82px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 20%, rgba(53, 120, 231, 0.14), transparent 28%),
    #f3f5f8;
}

.fee-guide-card h2 {
  margin: 30px 0 0;
  color: var(--navy);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.fee-guide-list {
  display: grid;
  align-content: center;
}

.fee-guide-list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(7, 27, 58, 0.13);
}

.fee-guide-list > div:first-child {
  border-top: 1px solid rgba(7, 27, 58, 0.13);
}

.fee-guide-list span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.fee-guide-list strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.fee-guide-list a {
  grid-column: 2;
  width: fit-content;
  margin-top: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 680;
}

.curriculum-next {
  background:
    radial-gradient(circle at 16% 78%, rgba(53, 120, 231, 0.34), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

@media (max-width: 980px) {
  .mega-links.curriculum-service-links {
    gap: 0 24px;
  }

  .curriculum-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-map-grid > div:nth-child(2) {
    border-right: 0;
  }

  .curriculum-map-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .curriculum-service-card {
    min-height: 540px;
  }

  .curriculum-service-featured {
    min-height: 650px;
  }

  .package-example-grid {
    grid-template-columns: 1fr;
  }

  .package-example {
    min-height: 270px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .package-example:last-child {
    border-bottom: 0;
  }

  .fee-guide-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .curriculum-rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 72px;
    padding: 12px 20px;
    overflow: hidden;
  }

  .curriculum-rail > div {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .curriculum-rail > div::-webkit-scrollbar {
    display: none;
  }

  .curriculum-rail a {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }

  .curriculum-map-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-map-grid > div,
  .curriculum-map-grid > div:nth-child(2) {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .curriculum-map-grid > div:last-child {
    border-bottom: 0;
  }

  .curriculum-map-grid strong {
    margin-top: 58px;
  }

  .curriculum-service-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-service-card,
  .curriculum-service-featured {
    grid-column: auto;
    min-height: 540px;
    padding: 30px 24px;
    scroll-margin-top: calc(var(--header-height) + 84px);
    border-radius: 28px;
  }

  .curriculum-service-featured {
    min-height: 660px;
  }

  .curriculum-service-card h3 {
    font-size: 38px;
  }

  .curriculum-service-card ul {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 46px;
  }

  .service-model-grid {
    grid-template-columns: 1fr;
  }

  .service-model-card {
    min-height: 550px;
    padding: 30px 24px;
    border-radius: 28px;
  }

  .service-model-card h3 {
    margin-top: 110px;
    font-size: 52px;
  }

  .package-examples {
    margin-top: 110px;
  }

  .fee-guide-card {
    gap: 52px;
    padding: 34px 24px;
    border-radius: 28px;
  }

  .fee-guide-card h2 {
    font-size: 39px;
  }

  .fee-guide-list > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fee-guide-list a {
    grid-column: 1;
  }

  .course-family-competition h3 {
    font-size: 52px;
  }
}

/* Route-specific surfaces override shared subpage defaults. */
.admission-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 79, 0.22), transparent 27%),
    radial-gradient(circle at 12% 82%, rgba(53, 120, 231, 0.18), transparent 29%),
    linear-gradient(160deg, #f3f7ff, #ffffff 70%);
}

.admission-tests-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 120, 231, 0.18), transparent 27%),
    radial-gradient(circle at 82% 78%, rgba(242, 195, 79, 0.16), transparent 28%),
    linear-gradient(150deg, #f8f9fc, #ffffff 72%);
}

.admission-next {
  background:
    radial-gradient(circle at 16% 78%, rgba(53, 120, 231, 0.34), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}

.intelligence-page .subpage-main {
  background: #06142d;
}

.intelligence-next {
  background:
    radial-gradient(circle at 18% 75%, rgba(53, 120, 231, 0.32), transparent 30%),
    linear-gradient(145deg, #06152e, #020817);
}
