/* ==================================================================
   HIS — Admissions page
   Builds on styles.css (type, nav, menu, line layer, tilted cards,
   FAQ, footer). Layout is measured from the admissions PDF (525-unit
   artboard): the two guide lines sit at 19.4vw and 80.6vw and content
   starts at 21.7vw. Every corner uses the shared 20px radius.
   ================================================================== */

.adm {
  --gl: 19.4vw;            /* left guide line */
  --gr: 80.6vw;            /* right guide line */
  --cl: 21.7vw;            /* content left edge */
  --cw: 56.6vw;            /* content width (between 21.7vw and 78.3vw) */
}

/* content sits above the line layer */
.a-hero-copy, .ph, .steps-pin, .covers > .mid-title, .fees-head, .fee-table,
.ready-col, .visit-copy, .visit-form, .apply-in { position: relative; z-index: 2; }

/* ---------- shared bits ---------- */
.mid-title { font-weight: 400; font-size: clamp(22px, 2.35vw, 38px); line-height: 1.22; letter-spacing: -0.005em; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.abtn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid #c9c9cf; background: #fff; color: var(--ink);
  font: 600 13px/1 "Raleway", sans-serif; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: color 0.45s var(--ease-out), border-color 0.45s;
}
.abtn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  clip-path: inset(100% 0 0 0); transition: clip-path 0.55s var(--ease-out);
}
.abtn:hover { color: #fff; border-color: var(--navy); }
.abtn:hover::before { clip-path: inset(0 0 0 0); }
.abtn i { font-style: normal; transition: transform 0.45s var(--ease-spring); }
.abtn:hover i { transform: translateX(5px); }
.abtn.solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.abtn.solid::before { background: var(--gold); }
.abtn.solid:hover { border-color: var(--gold); }
.abtn.light { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; width: 100%; }
.abtn.light::before { background: #fff; }
.abtn.light:hover { color: var(--navy); border-color: #fff; }

/* grey image placeholders: tilted, revealed with a clip wipe */
.ph {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--ph);
  rotate: var(--tilt, 0deg);
  clip-path: inset(0 100% 0 0 round var(--radius));
  transition: clip-path 1.2s var(--ease-out), rotate 1.4s var(--ease-spring);
  will-change: transform;
}
.ph.in, .in > .ph { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ==================================================================
   1. HERO
   ================================================================== */
.a-hero { position: relative; height: 68vw; min-height: 620px; }
.a-hero-copy { position: absolute; left: 0; right: 0; top: 18.5vw; text-align: center; display: flex; flex-direction: column; align-items: center; }
.a-hero-title { font-weight: 300; font-size: clamp(36px, 5.9vw, 100px); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 2.4vw; }
.a-hero-copy .body { max-width: 34ch; margin-bottom: 3vw; }
.a-hero-copy .btn-row { justify-content: center; }
.hp-left  { left: -1vw;   top: 42.3vw; width: 25.3vw; height: 23.4vw; --tilt: -6deg; border-radius: 0 var(--radius) var(--radius) 0; }
.hp-right { left: 73.3vw; top: 44.4vw; width: 28vw;   height: 20.4vw; --tilt: 3deg; clip-path: inset(0 0 0 100% round var(--radius)); }
/* revealed from the hero section (the images themselves start at zero
   width, partly off-screen, so they can't trigger their own reveal) */
.a-hero:not(.in) .hp-left { rotate: -16deg; }
.a-hero:not(.in) .hp-right { rotate: 12deg; }
.a-hero.in .hp-left { transition-delay: 0.35s; }
.a-hero.in .hp-right { transition-delay: 0.5s; }

/* ==================================================================
   2. SIMPLE STEPS — pinned; the cards scroll sideways and the index
   on the left follows. JS sets --sp (0..1) on the section.
   ================================================================== */
.steps-wrap { position: relative; height: 260vh; --sp: 0; }
.steps-pin { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; }
.steps-head { position: absolute; left: var(--cl); top: max(14vh, 7vw); width: 34vw; }
.steps-head .cap-title { margin-bottom: 1.6vw; }

.steps-index { position: absolute; left: 3.8vw; top: calc(max(14vh, 7vw) + 17vw); list-style: none; }
.steps-index::before, .steps-index::after {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: #d6d6db;
}
.steps-index::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--sp)); }
.si { position: relative; display: grid; grid-template-columns: 2.8vw 1fr; align-items: center; height: 5.7vw; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9aa2; transition: color 0.4s; }
.si-no { position: relative; z-index: 1; display: grid; place-items: center; width: 10px; height: 10px; margin-left: -0.5px; border-radius: 50%; background: #fff; border: 1px solid #c9c9cf; font-size: 0; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease-spring); }
.si-txt { line-height: 1.25; padding-left: 0.6vw; }
.si.is-active { color: var(--ink); }
.si.is-active .si-no, .si.is-done .si-no { background: var(--gold); border-color: var(--gold); }
.si.is-active .si-no { transform: scale(1.5); }

/* the strip is cut off at the left guide line: cards slide behind it and
   never cross it. On the right they run to the page edge. */
.steps-viewport {
  position: absolute; left: var(--gl); right: 0;
  top: calc(max(14vh, 7vw) + 15vw); height: 26vw; min-height: 300px;
  overflow: hidden;
}
.steps-track { position: absolute; left: calc(var(--cl) - var(--gl)); top: 0; height: 100%; display: flex; gap: 1.5vw; will-change: transform; }
.scard {
  flex: none; width: 27.4vw; height: 100%; padding: 2.3vw 2.2vw 2.2vw;
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--navy); color: #fff;
  opacity: 0.38; scale: 0.97;
  transition: opacity 0.6s var(--ease-out), scale 0.6s var(--ease-out), background 0.6s;
}
.scard.is-active, .scard.is-done { opacity: 1; scale: 1; }
.scard.is-active { background: var(--navy-deep); box-shadow: 0 30px 60px rgba(24,34,92,0.25); }
.scard h3 { font-size: clamp(15px, 1.35vw, 22px); font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 1.6vw; }
.scard p { font-size: clamp(12px, 0.9vw, 15px); line-height: 1.65; color: rgba(255,255,255,0.72); }
.scard .abtn { margin-top: auto; }

/* ==================================================================
   3. WHAT TUITION COVERS — tilted-card collage
   ================================================================== */
.covers { position: relative; padding: 9vw 0 8vw; }
.covers > .mid-title { margin-left: var(--cl); margin-bottom: 4vw; }
.covers-collage { position: relative; height: 50vw; }
.cv-a { left: 1.9vw;  top: 7.6vw;  width: 33.3vw; height: 24.8vw; --tilt: -8deg; }
.cv-b { left: 35.2vw; top: 21.5vw; width: 29.1vw; height: 20.4vw; --tilt: -2deg; }
.cv-c { left: 63.4vw; top: 0.4vw;  width: 29.5vw; height: 20.6vw; --tilt: 2deg; clip-path: inset(0 0 0 100% round var(--radius)); }
.covers-collage .ph { rotate: calc(var(--tilt) + 8deg); }
.covers-collage.in .ph { rotate: var(--tilt); clip-path: inset(0 0 0 0 round var(--radius)); }
.covers-collage.in .cv-b { transition-delay: 0.1s; }
.covers-collage.in .cv-c { transition-delay: 0.2s; }

.tcard.k1 { left: 29.5vw; top: 11.4vw; width: 20.4vw; rotate: calc(var(--r) - 18deg); }
.tcard.k2 { left: 6.3vw;  top: 29.5vw; width: 21.3vw; rotate: calc(var(--r) + 16deg); transition-delay: 0.1s; }
.tcard.k3 { left: 48.6vw; top: 37.1vw; width: 20.6vw; rotate: calc(var(--r) - 14deg); transition-delay: 0.2s; }
.tcard.k4 { left: 72.8vw; top: 19.6vw; width: 20.6vw; rotate: calc(var(--r) + 14deg); transition-delay: 0.3s; }
.covers-collage .tcard { padding: 1.6vw 1.9vw; }
.covers-collage .tcard p { font-size: clamp(12px, 0.98vw, 16px); font-weight: 600; line-height: 1.35; color: #fff; }

/* ==================================================================
   4. TUITION & FEES — category table drawn by the guide lines,
   then filled navy (JS drives --f and --ft)
   ================================================================== */
.fees { position: relative; padding: 4vw 0 6vw; }
.fees-head { margin-left: var(--cl); width: 30vw; }
.fees-head .mid-title { margin-bottom: 2.4vw; }

.fee-table { --f: 1; --ft: 1; position: relative; margin: 6vw 0 0 var(--cl); width: var(--cw); border-radius: var(--radius); color: #fff; }
.fee-table::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: var(--navy); clip-path: inset(calc((1 - var(--f)) * 100%) 0 0 0 round var(--radius)); }
.ft-in { position: relative; padding: 2.6vw 2.6vw 1.4vw; opacity: var(--ft); transform: translateY(calc((1 - var(--ft)) * 16px)); }
.ft-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 3vw; margin-bottom: 2.4vw; }
.ft-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.ft-top p { max-width: 34ch; font-size: clamp(12px, 0.9vw, 15px); line-height: 1.6; color: rgba(255,255,255,0.72); text-align: right; }
.ft-cols, .ft-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 150px; align-items: center; gap: 2vw; }
.ft-go { justify-self: end; }
.ft-cols { padding-bottom: 0.9vw; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ft-rows { list-style: none; }
.ft-rows li { position: relative; }
.ft-rows li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,0.18); transform: scaleX(var(--ft)); transform-origin: left; }
.ft-row {
  position: relative; width: 100%; padding: 1.35vw 0; text-align: left;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.ft-row::after { content: ""; position: absolute; inset: 2px -1.2vw; border-radius: var(--radius); background: rgba(255,255,255,0.07); opacity: 0; transition: opacity 0.35s; z-index: -1; }
.ft-row:hover::after, .ft-row:focus-visible::after { opacity: 1; }
.ft-row:focus-visible { outline: none; }
.ft-cat { font-size: clamp(15px, 1.3vw, 22px); font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; transition: transform 0.5s var(--ease-out); }
.ft-row:hover .ft-cat { transform: translateX(6px); }
.ft-age { font-size: clamp(12px, 0.92vw, 15px); color: rgba(255,255,255,0.7); }
.ft-amt { font-size: clamp(16px, 1.4vw, 24px); font-weight: 300; }
.ft-go { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.ft-go i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); font-style: normal; color: #fff; transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease-spring); }
.ft-row:hover .ft-go i { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); transform: rotate(-45deg); }

/* ==================================================================
   4b. WHAT'S IN THE FEE — package, clubs, extras, incentive, payment
   ================================================================== */
.fee-details { position: relative; padding: 4vw 0 4vw var(--cl); width: calc(var(--cl) + var(--cw)); display: grid; gap: 7vw; }
.fd-block { position: relative; z-index: 2; }
.fd-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2vw; }
.fd-head { max-width: 34vw; margin-bottom: 3vw; }
.fd-head .cap-title { margin-bottom: 1.4vw; }
.fd-title { font-size: clamp(20px, 1.9vw, 32px); font-weight: 400; text-transform: uppercase; margin-bottom: 1.2vw; }
.fd-sub { display: block; margin: 2vw 0 1vw; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-text); }
.fd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; }

/* 12-item package grid */
.pkg-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(20,20,20,0.12); }
.pkg-grid li {
  position: relative; min-height: 8.4vw; padding: 1.5vw 1.4vw 1.6vw 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.4vw;
  font-size: clamp(13px, 1vw, 16px); font-weight: 500; line-height: 1.35;
  border-bottom: 1px solid rgba(20,20,20,0.12);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.3s;
}
.pkg-grid li:not(:nth-child(4n))::after { content: ""; position: absolute; right: 1.2vw; top: 1.5vw; bottom: 1.5vw; width: 1px; background: rgba(20,20,20,0.1); }
.pkg-grid li span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); transition: transform 0.5s var(--ease-spring); }
.pkg-grid li:hover { color: var(--navy); }
.pkg-grid li:hover span { transform: translateX(6px); }
.pkg-grid.in li { opacity: 1; transform: none; }
.pkg-grid.in li:nth-child(n) { transition-delay: calc(var(--i, 0) * 0.05s); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 18px; border-radius: var(--radius); border: 1px solid #d3d3d9;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.85); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-spring), background 0.3s, color 0.3s, border-color 0.3s;
}
.chips li:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips.in li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 0.06s); }

.extras { list-style: none; margin-top: 1.6vw; display: grid; gap: 0; }
.extras li { display: grid; grid-template-columns: 2.4vw auto 1fr; justify-items: start; align-items: center; padding: 1.1vw 0; border-bottom: 1px solid rgba(20,20,20,0.12); font-size: clamp(13px, 1vw, 16px); font-weight: 500; opacity: 0; transform: translateX(-12px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.extras li:first-child { border-top: 1px solid rgba(20,20,20,0.12); }
.extras li span { font-size: 12px; font-weight: 600; color: var(--gold); }
.extras em { margin-left: 10px; padding: 3px 9px; border-radius: var(--radius); background: #f1f1f4; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.extras.in li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 0.07s); }

/* incentive cards */
.inc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8vw; }
.inc-card {
  position: relative; overflow: hidden; min-height: 17vw; padding: 2.4vw;
  border-radius: var(--radius); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; translate: 0 40px; transition: opacity 0.8s var(--ease-out), translate 1.1s var(--ease-spring);
}
.inc-card.gold { background: var(--gold); }
.inc-card.navy { background: var(--navy); transition-delay: 0.12s; }
.inc-row.in .inc-card { opacity: 1; translate: 0 0; }
.inc-card::after { content: ""; position: absolute; right: -6vw; bottom: -6vw; width: 18vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); transition: transform 0.9s var(--ease-out); }
.inc-card:hover::after { transform: scale(1.25); }
.inc-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.inc-num { display: block; margin: 2vw 0 0.6vw; font-size: clamp(56px, 7vw, 120px); font-weight: 300; line-height: 0.9; }
.inc-num b { font-weight: 300; }
.inc-card p { font-size: clamp(13px, 1vw, 16px); color: rgba(255,255,255,0.85); }

/* payment modes + terms */
.modes { list-style: none; margin: 0.6vw 0 2vw; display: grid; }
.modes li { display: grid; grid-template-columns: 2.6vw 1fr; gap: 1vw; padding: 1.2vw 0; border-bottom: 1px solid rgba(20,20,20,0.12); opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.modes li:first-child { border-top: 1px solid rgba(20,20,20,0.12); }
.modes li > span { font-size: 12px; font-weight: 600; color: var(--gold); padding-top: 3px; }
.modes strong { display: block; font-size: clamp(13px, 1vw, 16px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.modes p { font-size: clamp(12px, 0.9vw, 15px); line-height: 1.55; color: var(--grey-text); }
.modes.in li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 0.07s); }

.terms { list-style: none; margin-top: 0.6vw; display: grid; gap: 1.2vw; }
.terms li { position: relative; padding: 1.2vw 1.4vw 1.2vw 3.2vw; border-radius: var(--radius); background: #f4f4f6; font-size: clamp(13px, 0.95vw, 15px); line-height: 1.55; opacity: 0; transform: translateX(16px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.terms li::before { content: ""; position: absolute; left: 1.4vw; top: 1.55vw; width: 8px; height: 8px; background: var(--gold); }
.terms li:nth-child(2)::before { background: var(--navy); clip-path: polygon(0 0, 100% 0, 36% 100%); }
.terms li:nth-child(3)::before { background: #b8b8be; border-radius: 50%; }
.terms li:nth-child(4)::before { background: var(--navy); }
.terms.in li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 0.08s); }

/* ==================================================================
   POPUPS — native <dialog>, scaled in from the button that opened it
   ================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 4vh 4vw; border: 0; background: transparent;
  display: grid; place-items: center; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.modal:not([open]) { display: none; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal::backdrop { background: rgba(16, 22, 60, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s ease; }
.modal.show::backdrop { opacity: 1; }
body.modal-open { overflow: hidden; }

.m-card {
  position: relative; width: min(680px, 100%); padding: 44px 44px 40px;
  border-radius: var(--radius); background: #fff; color: var(--ink);
  box-shadow: 0 40px 90px rgba(10,14,40,0.35);
  transform: translateY(30px) scale(0.96); transition: transform 0.55s var(--ease-out);
}
.modal.show .m-card { transform: none; }
.m-close {
  position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #d6d6db; background: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease-spring), border-color 0.3s;
}
.m-close:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(90deg); }
.m-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; padding-right: 50px; }
.m-title { font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; text-transform: uppercase; line-height: 1.05; }
.m-sub { margin-top: 6px; font-size: 14px; color: var(--grey-text); }

.m-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.m-tab { padding: 9px 14px; border-radius: var(--radius); border: 1px solid #d6d6db; background: #fff; font: 600 12px/1 "Raleway", sans-serif; letter-spacing: 0.04em; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.m-tab:hover { border-color: var(--navy); }
.m-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.m-table { margin-top: 18px; display: grid; gap: 22px; }
.m-table.swap { animation: mSwap 0.45s var(--ease-out); }
@keyframes mSwap { from { opacity: 0; transform: translateY(10px); } }
.m-group h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 6px; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid #ececf0; font-size: 15px; }
.m-row em { margin-left: 8px; padding: 2px 8px; border-radius: var(--radius); background: #fbf3df; font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold); }
.m-row strong { font-size: 18px; font-weight: 500; white-space: nowrap; }
.m-note { margin-top: 22px; font-size: 13px; line-height: 1.6; color: var(--grey-text); }
.m-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.bank { margin-top: 24px; display: grid; }
.bank > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid #ececf0; }
.bank > div:first-child { border-top: 1px solid #ececf0; }
.bank dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-text); }
.bank dd { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; text-align: right; }
.copy { padding: 6px 12px; border-radius: var(--radius); border: 1px solid #d6d6db; background: #fff; font: 600 11px/1 "Raleway", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.copy:hover { border-color: var(--navy); }
.copy.done { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ==================================================================
   5. AGE ELIGIBILITY + CHECKLIST
   ================================================================== */
.ready { position: relative; padding: 6vw 0 6vw var(--cl); width: calc(var(--cl) + var(--cw)); display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; }
.ready .cap-title { font-size: clamp(22px, 2.3vw, 38px); margin-bottom: 1.4vw; }
.ready .body { margin-bottom: 2vw; }

.age-table { width: 100%; border-collapse: collapse; font-size: clamp(13px, 0.95vw, 16px); }
.age-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-text); padding-bottom: 0.8vw; }
.age-table td { padding: 1.05vw 0; }
.age-table td:last-child, .age-table th:last-child { text-align: right; }
.age-table tr { position: relative; }
.age-table tbody tr { background-image: linear-gradient(rgba(20,20,20,0.15), rgba(20,20,20,0.15)); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 1px; transition: background-size 1.1s var(--ease-out); }
.age-table tbody td { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.age-table.in tbody tr { background-size: 100% 1px; }
.age-table.in tbody td { opacity: 1; transform: none; }
.age-table tbody tr:nth-child(2), .age-table tbody tr:nth-child(2) td { transition-delay: 0.08s; }
.age-table tbody tr:nth-child(3), .age-table tbody tr:nth-child(3) td { transition-delay: 0.16s; }
.age-table tbody tr:nth-child(4), .age-table tbody tr:nth-child(4) td { transition-delay: 0.24s; }
.age-table tbody tr:nth-child(5), .age-table tbody tr:nth-child(5) td { transition-delay: 0.32s; }

.checklist { list-style: none; display: grid; gap: 1.1vw; font-size: clamp(13px, 0.95vw, 16px); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center; opacity: 0; transform: translateX(-12px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.checklist svg { width: 24px; height: 24px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.checklist rect { stroke: #c9c9cf; stroke-width: 1.2; }
.checklist path { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 0.6s var(--ease-out) 0.25s; }
.checklist.in li { opacity: 1; transform: none; }
.checklist.in path { stroke-dashoffset: 0; }
.checklist li:nth-child(2), .checklist li:nth-child(2) path { transition-delay: 0.08s; }
.checklist li:nth-child(3), .checklist li:nth-child(3) path { transition-delay: 0.16s; }
.checklist li:nth-child(4), .checklist li:nth-child(4) path { transition-delay: 0.24s; }
.checklist li:nth-child(5), .checklist li:nth-child(5) path { transition-delay: 0.32s; }
.checklist li:nth-child(6), .checklist li:nth-child(6) path { transition-delay: 0.40s; }

/* ==================================================================
   6. BOOK A VISIT — form card drawn by the lines, then it fills
   ================================================================== */
.visit { position: relative; padding: 7vw 0 8vw var(--cl); width: calc(var(--cl) + var(--cw)); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4vw; align-items: start; }
.visit .cap-title { margin-bottom: 1.6vw; }
.visit-info { margin-top: 2.4vw; display: grid; gap: 1.2vw; }
.visit-info dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 4px; }
.visit-info dd { font-size: clamp(13px, 1vw, 16px); }
.visit-info a { text-decoration: none; border-bottom: 1px solid #d6d6db; transition: border-color 0.3s, color 0.3s; }
.visit-info a:hover { color: var(--navy); border-color: var(--gold); }

.visit-form { --f: 1; --ft: 1; position: relative; border-radius: var(--radius); }
.visit-form::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: #f4f4f6; clip-path: inset(calc((1 - var(--f)) * 100%) 0 0 0 round var(--radius)); }
.vf-in { position: relative; padding: 2.6vw; opacity: var(--ft); transform: translateY(calc((1 - var(--ft)) * 16px)); }
.vf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6vw 1.8vw; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-text); transition: color 0.3s; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #c9c9cf; background: transparent; padding: 8px 0 10px;
  font: 500 15px/1.4 "Raleway", sans-serif; color: var(--ink); border-radius: 0; outline: none; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: right 6px top 55%, right 1px top 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field > i { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.field:focus-within > i { transform: scaleX(1); }
.field:focus-within > span { color: var(--navy); }
.field.bad > i { background: #c0392b; transform: scaleX(1); }
.field.bad > span { color: #c0392b; }
.vf-actions { margin-top: 2.2vw; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.vf-error { font-size: 13px; color: #c0392b; min-height: 1em; }

.vf-done { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.6vw; background: var(--navy); color: #fff; border-radius: var(--radius); clip-path: circle(0% at 12% 88%); transition: clip-path 0.9s var(--ease-out); pointer-events: none; }
.visit-form.sent .vf-done { clip-path: circle(150% at 12% 88%); pointer-events: auto; }
.vf-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-bottom: 1.6vw; }
.vf-tick svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.6s var(--ease-out) 0.5s; }
.visit-form.sent .vf-tick svg { stroke-dashoffset: 0; }
.vf-done h4 { font-size: clamp(20px, 2vw, 32px); font-weight: 400; text-transform: uppercase; margin-bottom: 1vw; }
.vf-done p { max-width: 40ch; font-size: clamp(13px, 0.95vw, 16px); line-height: 1.65; color: rgba(255,255,255,0.8); }

/* ==================================================================
   7. FAQ — reuse academics styles, fitted between the guides
   ================================================================== */
.adm .faq { padding: 7vw 0 8vw var(--cl); width: calc(var(--cl) + var(--cw)); grid-template-columns: 0.8fr 1.2fr; gap: 4vw; }

/* ==================================================================
   8. APPLY — navy panel framed by the guide lines
   ================================================================== */
.apply { position: relative; padding: 2vw 0 9vw; }
.apply-in {
  --f: 1; --ft: 1;
  margin-left: var(--gl); width: calc(var(--gr) - var(--gl));
  padding: 8vw 6vw; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.apply-in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius); background: var(--navy); clip-path: inset(calc((1 - var(--f)) * 100%) 0 0 0 round var(--radius)); }
.apply-in > * { opacity: var(--ft); }
.apply-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.6vw; }
.apply-title { font-weight: 300; font-size: clamp(30px, 4.2vw, 70px); line-height: 1.06; margin-bottom: 3vw; }
.apply .abtn { border-color: rgba(255,255,255,0.5); background: transparent; color: #fff; }
.apply .abtn::before { background: #fff; }
.apply .abtn:hover { color: var(--navy); }
.apply .abtn.solid { background: var(--gold); border-color: var(--gold); color: #fff; }
.apply .abtn.solid::before { background: #fff; }
.apply .abtn.solid:hover { color: var(--navy); border-color: #fff; }

/* ==================================================================
   Mobile: stacked, no pin, CSS borders instead of drawn lines
   ================================================================== */
@media (max-width: 900px) {
  .adm { --cl: 7vw; --cw: 86vw; --gl: 7vw; --gr: 93vw; }
  .a-hero { height: auto; min-height: 0; padding: 130px 7vw 60px; }
  .a-hero-copy { position: relative; top: auto; }
  .a-hero-title { margin-bottom: 18px; }
  .a-hero-copy .body { margin-bottom: 24px; }
  .hp-left, .hp-right { display: none; }

  .steps-wrap { height: auto; }
  .steps-pin { position: relative; height: auto; min-height: 0; overflow: visible; padding: 40px 7vw 60px; }
  .steps-head, .steps-viewport { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; min-height: 0; overflow: visible; }
  .steps-head .cap-title { margin-bottom: 14px; }
  .steps-index { display: none; }
  .steps-viewport { margin-top: 30px; }
  .steps-track { position: relative; left: auto; display: grid; gap: 14px; transform: none !important; }
  .scard { width: auto; min-height: 260px; padding: 28px; opacity: 1; scale: 1; }
  .scard h3 { margin-bottom: 14px; }
  .scard p { margin-bottom: 24px; }

  .covers { padding: 60px 0; }
  .covers > .mid-title { margin-bottom: 28px; }
  .covers-collage { height: auto; display: grid; gap: 14px; padding: 0 7vw; }
  .covers-collage .ph, .covers-collage .tcard { position: relative; left: auto; top: auto; width: auto; rotate: 0deg !important; }
  .covers-collage .ph { height: 50vw; }
  .covers-collage .tcard { padding: 22px; }

  .fees { padding: 30px 0 40px; }
  .fees-head { width: auto; padding-right: 7vw; }
  .fees-head .mid-title { margin-bottom: 20px; }
  .fee-table { margin-top: 36px; border: 0; }
  .ft-in { padding: 26px 22px 12px; }
  .ft-top { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .ft-top p { text-align: left; }
  .ft-cols { display: none; }
  .ft-row { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 0; }
  .ft-age { grid-column: 1; grid-row: 2; }
  .ft-amt { grid-column: 2; grid-row: 1; text-align: right; }
  .ft-go { grid-column: 2; grid-row: 2; justify-self: end; }
  .ft-go i { width: 28px; height: 28px; }

  .fee-details { padding: 40px 7vw; width: auto; gap: 64px; }
  .fd-head { max-width: none; margin-bottom: 24px; }
  .fd-head .cap-title, .fd-title { margin-bottom: 12px; }
  .fd-kicker { margin-bottom: 10px; }
  .fd-sub { margin: 20px 0 10px; }
  .fd-pair { grid-template-columns: 1fr; gap: 56px; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid li { min-height: 96px; padding: 16px 14px 16px 0; gap: 14px; }
  .pkg-grid li:not(:nth-child(4n))::after { display: none; }
  .pkg-grid li:nth-child(odd)::after { content: ""; display: block; position: absolute; right: 8px; top: 16px; bottom: 16px; width: 1px; background: rgba(20,20,20,0.1); }
  .extras li { grid-template-columns: 32px auto 1fr; padding: 14px 0; }
  .extras { margin-top: 18px; }
  .inc-row { grid-template-columns: 1fr; gap: 14px; }
  .inc-card { min-height: 200px; padding: 26px; }
  .inc-num { margin: 22px 0 8px; }
  .modes { margin: 10px 0 22px; }
  .modes li { grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; }
  .terms { gap: 10px; }
  .terms li { padding: 14px 16px 14px 38px; }
  .terms li::before { left: 16px; top: 20px; }
  .m-card { padding: 34px 22px 28px; }

  .ready, .visit, .adm .faq { grid-template-columns: 1fr; gap: 48px; padding: 50px 7vw; width: auto; }
  .ready .cap-title, .visit .cap-title { margin-bottom: 14px; }
  .ready .body { margin-bottom: 18px; }
  .age-table td { padding: 12px 0; }
  .checklist { gap: 12px; }
  .visit-info { margin-top: 22px; gap: 14px; }
  .visit-form { border: 1px solid #e1e1e5; }
  .vf-in { padding: 24px; }
  .vf-grid { grid-template-columns: 1fr; gap: 18px; }
  .vf-actions { margin-top: 24px; }
  .vf-done { padding: 24px; }
  .vf-tick { margin-bottom: 16px; }
  .vf-done h4 { margin-bottom: 10px; }

  .apply { padding: 10px 7vw 70px; }
  .apply-in { margin: 0; width: auto; padding: 60px 24px; }
  .apply-kicker { margin-bottom: 14px; }
  .apply-title { margin-bottom: 26px; }
}

/* photos */
.ph img { transition: transform 1.2s var(--ease-out); }
.ph:hover img { transform: scale(1.05); }
