:root {
  --emerald: #0F4D42;
  --deep-emerald: #09372F;
  --royal-blue: #3159B8;
  --blue-soft: #DDE6FF;
  --gold: #E7B84B;
  --gold-soft: #F8E9B7;
  --coral: #E77B68;
  --coral-soft: #F7D2CA;
  --ivory: #FFF9EE;
  --paper: #F3EBDD;
  --ink: #17201F;
  --muted: #69716E;
  --white: #FFFFFF;
  --line: rgba(15, 77, 66, 0.14);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 118px;
  --wrap: min(1180px, calc(100% - 40px));
  --shadow: 0 10px 30px rgba(23, 32, 31, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 17px;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--emerald { background: var(--deep-emerald); color: var(--ivory); }
.section--blue { background: var(--royal-blue); color: var(--ivory); }
.section--gold { background: var(--gold); color: var(--ink); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.label--light {
  color: var(--gold-soft);
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}

.display--md {
  font-size: clamp(32px, 5vw, 64px);
}

.display--light {
  color: var(--ivory);
}

.display em,
.gold {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-serif);
}

.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

.lede--light {
  color: rgba(255, 249, 238, 0.82);
}

.note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 32px;
}

.note--light {
  color: rgba(255, 249, 238, 0.7);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover svg,
.text-link:hover svg {
  transform: translateX(5px);
}

.btn--emerald {
  background: var(--emerald);
  color: var(--ivory);
}

.btn--emerald:hover {
  background: var(--deep-emerald);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #d9a83a;
}

.btn--ghost,
.btn--ghost-light,
.btn--ghost-ink {
  background: transparent;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost-light {
  border-color: rgba(255, 249, 238, 0.35);
  color: var(--ivory);
}

.btn--ghost-ink {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--nav {
  padding: 11px 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  margin-top: 16px;
}

.logo-mark--dark {
  --rf-l1: var(--emerald);
  --rf-l2: var(--deep-emerald);
  --rf-l3: var(--royal-blue);
  --rf-l4: var(--emerald);
  --rf-path: var(--gold);
  --rf-node: var(--gold);
  --rf-fill: var(--emerald);
  --rf-cut: var(--ivory);
  --rf-gold: var(--gold);
  color: var(--emerald);
}

.logo-mark--light {
  --rf-l1: var(--ivory);
  --rf-l2: var(--gold-soft);
  --rf-l3: var(--blue-soft);
  --rf-l4: var(--ivory);
  --rf-path: var(--gold);
  --rf-node: var(--gold);
  --rf-fill: var(--ivory);
  --rf-cut: var(--deep-emerald);
  --rf-gold: var(--gold);
  color: var(--ivory);
}

.logo-mark--mono {
  color: var(--ink);
}

.logo-mark--uniform {
  --rf-fill: var(--emerald);
  --rf-cut: var(--ivory);
  --rf-gold: var(--gold);
}

.logo-mark--watermark {
  --rf-l1: rgba(15, 77, 66, 0.08);
  --rf-l2: rgba(9, 55, 47, 0.1);
  --rf-l3: rgba(49, 89, 184, 0.1);
  --rf-l4: rgba(15, 77, 66, 0.12);
  --rf-path: rgba(231, 184, 75, 0.35);
  --rf-node: rgba(231, 184, 75, 0.5);
  width: min(520px, 80vw);
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 249, 238, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header.is-scrolled .infobar {
  display: none;
}

.site-header.is-scrolled .nav-bar {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.is-scrolled .brand__desc {
  display: none;
}

.site-header.is-scrolled .logo-mark {
  width: 34px;
  height: 40px;
}

.infobar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px 24px;
  background: var(--deep-emerald);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.infobar__notice,
.infobar__links {
  margin: 0;
}

.infobar__links {
  display: flex;
  gap: 18px;
}

.infobar a {
  color: var(--gold-soft);
  text-decoration: none;
}

.infobar a:hover {
  color: var(--gold);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  width: min(1440px, 100%);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.brand__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__desc {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a {
  text-decoration: none;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.primary-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ivory);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav__close {
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav__links a {
  font-family: var(--font-serif);
  font-size: clamp(32px, 9vw, 56px);
  text-decoration: none;
  line-height: 1.1;
}

.hero {
  padding: 28px 20px 40px;
}

.hero__grid {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8.5vw, 138px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.065em;
  margin: 10px 0 24px;
}

.hero__title .word {
  display: block;
}

.word--emerald { color: var(--emerald); }
.word--blue { color: var(--royal-blue); }
.word--gold { color: var(--gold); }

.hero__lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.horizon-frame {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.learning-horizon {
  width: 100%;
  height: auto;
}

.quick-access {
  width: min(1440px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.qa-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
  text-decoration: none;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.qa-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.qa-card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qa-card strong {
  font-size: 18px;
  font-weight: 700;
}

.qa-card--emerald::before { background: var(--emerald); }
.qa-card--blue::before { background: var(--royal-blue); }
.qa-card--gold::before { background: var(--gold); }
.qa-card--coral::before { background: var(--coral); }

.model-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.model-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  color: var(--emerald);
  opacity: 0.25;
  pointer-events: none;
}

.model-stage {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 22px;
  position: relative;
}

.model-stage h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin: 10px 0;
}

.model-stage p {
  margin: 0;
  color: var(--muted);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 56px;
}

.program-card {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--white);
}

.program-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 28px;
}

.program-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.program-card li + li {
  margin-top: 6px;
}

.program-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--ink);
  position: relative;
}

.program-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.program-row.is-open::before,
.program-row:hover::before {
  width: 4px;
}

.program-row__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
}

.program-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.program-row__topics {
  grid-column: 2 / 3;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}

.program-row.is-open .program-row__topics {
  max-height: 80px;
  opacity: 1;
  margin-top: 6px;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.env-card {
  border: 1px solid rgba(255, 249, 238, 0.16);
  padding: 18px;
  min-height: 180px;
}

.env-card svg {
  color: var(--ivory);
  margin-bottom: 18px;
}

.env-card h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-grid {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}

.lab-card {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255, 249, 238, 0.2);
  color: var(--ivory);
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 8px;
}

.lab-card em {
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.35s var(--ease);
}

.lab-card.is-open,
.lab-card:hover {
  background: rgba(255, 249, 238, 0.06);
  border-color: var(--gold);
}

.lab-card.is-open em,
.lab-card:hover em {
  max-height: 40px;
  opacity: 1;
}

.journey-path {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.journey-path::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--royal-blue), var(--gold));
  opacity: 0.35;
}

.journey-path li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 18px;
}

.journey-path h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 12px 0 8px;
}

.journey-path p {
  margin: 0;
  color: var(--muted);
}

.dashboard-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.dash-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.dash-panel.is-visible {
  transform: none;
  opacity: 1;
}

.dash-panel header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.dash-tag {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.dash-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.dash-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.faculty-grid,
.parent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 36px 0 32px;
}

.faculty-card,
.parent-card {
  border: 1px solid var(--line);
  padding: 24px 20px;
  background: var(--white);
  min-height: 240px;
}

.faculty-card h3,
.parent-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 10px 0 18px;
}

.faculty-card p {
  color: var(--muted);
  font-size: 15px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar-grid h3 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 8px;
}

.pillar-grid p {
  margin: 0;
  font-size: 18px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.life-card {
  min-height: 280px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ivory);
}

.life-card h3 {
  font-family: var(--font-serif);
  font-size: 40px;
  margin: 0 0 8px;
}

.life-card--emerald { background: var(--emerald); }
.life-card--blue { background: var(--royal-blue); }
.life-card--gold { background: var(--gold); color: var(--ink); }
.life-card--coral { background: var(--coral); color: var(--ink); }

.campus-layout {
  margin-top: 32px;
}

.campus-map {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.campus-bldg {
  cursor: pointer;
  outline: none;
  transition: transform 0.3s var(--ease);
}

.campus-bldg:hover,
.campus-bldg:focus,
.campus-bldg.is-active {
  filter: brightness(1.08);
}

.campus-status {
  min-height: 48px;
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.bookshelf {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 280px;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 10px solid var(--emerald);
}

.book {
  border: 0;
  color: var(--ivory);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 24px 0;
  width: 54px;
  height: 180px;
  cursor: pointer;
  position: relative;
  transition: height 0.45s var(--ease), width 0.45s var(--ease);
}

.book:hover,
.book:focus {
  height: 230px;
}

.book--emerald { background: var(--emerald); }
.book--blue { background: var(--royal-blue); }
.book--gold { background: var(--gold); color: var(--ink); }
.book--coral { background: var(--coral); color: var(--ink); }
.book--ink { background: var(--ink); }
.book--rise {
  background: var(--deep-emerald);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
}

.book__path {
  position: absolute;
  inset: 12px auto 12px 50%;
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}

.book:hover .book__path,
.book:focus .book__path {
  transform: translateX(-50%) scaleY(1);
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.achieve-grid h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin: 16px 0 0;
}

.achieve-mark {
  display: block;
  width: 48px;
  height: 56px;
  background: var(--gold);
  clip-path: polygon(8% 100%, 92% 100%, 78% 62%, 22% 62%, 8% 100%, 22% 62%, 50% 8%, 78% 62%);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.admit-path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 40px 0 36px;
}

.admit-path li {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}

.admit-path h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  margin: 12px 0 0;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.principles li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.principles .mono {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.08em;
  color: var(--emerald);
}

.principles h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 8px;
}

.principles p {
  margin: 0;
  color: var(--muted);
}

.quote-wrap blockquote {
  margin: 0;
  max-width: 18ch;
}

.quote-wrap p {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.quote-wrap footer {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--cta {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ivory);
  padding: 120px 0;
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cta-copy {
  position: relative;
  text-align: left;
}

.site-footer {
  background: var(--deep-emerald);
  color: var(--ivory);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.8fr);
  gap: 28px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 0.95;
  margin: 16px 0 8px;
}

.footer-brand .brand__desc {
  color: var(--gold-soft);
}

.footer-lockup {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 18px 0 8px;
}

.footer-tag {
  color: rgba(255, 249, 238, 0.72);
  max-width: 28ch;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer nav .mono {
  color: var(--gold);
  margin: 0 0 8px;
}

.site-footer a {
  text-decoration: none;
  color: rgba(255, 249, 238, 0.82);
}

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

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 249, 238, 0.12);
  font-size: 13px;
  color: rgba(255, 249, 238, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.horizon-layers polygon {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.rf-rise .horizon-layers polygon {
  transform: translateY(18px);
  opacity: 0.2;
}

.rf-rise.is-visible .horizon-layers polygon {
  animation: riseLayer 1.1s var(--ease) forwards;
}

.rf-rise.is-visible .horizon-layers polygon:nth-child(1) { animation-delay: 0.05s; }
.rf-rise.is-visible .horizon-layers polygon:nth-child(2) { animation-delay: 0.15s; }
.rf-rise.is-visible .horizon-layers polygon:nth-child(3) { animation-delay: 0.25s; }
.rf-rise.is-visible .horizon-layers polygon:nth-child(4) { animation-delay: 0.35s; }
.rf-rise.is-visible .horizon-layers polygon:nth-child(5) { animation-delay: 0.45s; }

@keyframes riseLayer {
  to {
    transform: none;
    opacity: 1;
  }
}

.path-draw {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.path-draw.is-visible {
  animation: drawPath 1.8s var(--ease) forwards;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.cta-backdrop.rf-rise svg {
  transform: translateY(24px) scale(0.96);
  opacity: 0.4;
  transition: transform 1.4s var(--ease), opacity 1.4s var(--ease);
}

.cta-backdrop.rf-rise.is-visible svg {
  transform: none;
  opacity: 1;
}

@media (max-width: 1100px) {
  .hero__grid,
  .dashboard-wrap,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav,
  .btn--nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .env-grid,
  .program-grid,
  .faculty-grid,
  .parent-grid,
  .life-grid,
  .achieve-grid,
  .pillar-grid,
  .quick-access,
  .model-path,
  .journey-path,
  .admit-path {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-path::before,
  .model-line {
    display: none;
  }

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

  .program-row__cta {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: min(100% - 32px, 1180px);
  }

  .infobar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 12px;
  }

  .hero__title {
    font-size: clamp(56px, 16vw, 92px);
  }

  .quick-access,
  .env-grid,
  .program-grid,
  .faculty-grid,
  .parent-grid,
  .life-grid,
  .achieve-grid,
  .pillar-grid,
  .model-path,
  .journey-path,
  .admit-path {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .life-grid {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .program-card,
  .life-card {
    min-width: min(80vw, 320px);
    scroll-snap-align: start;
  }

  .timeline li,
  .principles li {
    grid-template-columns: 1fr;
  }

  .bookshelf {
    overflow-x: auto;
  }

  .footer-base {
    flex-direction: column;
  }

  .brand__desc {
    display: none;
  }
}

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