/* ════════════════════════════════════════════════════════════
   Silver Maple — "Montoni" editorial style (navy / gold / white)
   ════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0A1733;
  --navy:       #0B1F4B;
  --navy-soft:  #16306b;
  --gold:       #C9A84C;
  --gold-deep:  #A8852E;
  --paper:      #FFFFFF;
  --mist:       #F4F6FA;
  --line:       rgba(10,23,51,0.14);
  --line-light: rgba(255,255,255,0.16);
  --muted:      #5F6B82;
  --display:    'Space Grotesk', 'Inter', sans-serif;
  --serif:      'Playfair Display', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: inline-block; vertical-align: middle; }

.wrap { width: min(92vw, 1480px); margin: 0 auto; }
.wrap-narrow { width: min(92vw, 1180px); margin: 0 auto; }

/* ── Custom cursor ── */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 38px; height: 38px; border: 1px solid #fff; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; }
.cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%,-50%); }
.cursor.is-hover { width: 70px; height: 70px; background: rgba(255,255,255,0.12); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ── Scroll progress ── */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 999; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .12s linear; }

/* ── Image clip reveal ── */
[data-img-reveal] { overflow: hidden; }
[data-img-reveal] > img, [data-img-reveal] .ci { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.15s var(--ease), transform 1.4s var(--ease); }
[data-img-reveal].is-in > img, [data-img-reveal].is-in .ci { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ── Magnetic smooth return ── */
.magnetic { transition: transform .4s var(--ease); }

/* ── Reusable type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.on-dark { color: var(--gold); }

.display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
/* accent words: same grotesk, gold, with an animated underline (blends cleanly) */
.display em, .man-statement em, .campus-inner em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  position: relative;
  white-space: nowrap;
}
.display em::after, .man-statement em::after, .campus-inner em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em;
  height: 0.075em; background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s 0.55s var(--ease);
}
.is-in em::after { transform: scaleX(1); }
.on-dark .display, .display.on-dark { color: #fff; }
.display.on-dark em, .on-dark .display em, .campus-inner.on-dark em { color: var(--gold); }

/* line-mask reveal */
.reveal-lines .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.reveal-lines .ln > span {
  display: block;
  transform: translateY(112%) rotate(2deg);
  opacity: 0;
  transition: transform 1.05s var(--ease), opacity 1.05s var(--ease);
}
.reveal-lines.is-in .ln > span { transform: translateY(0) rotate(0); opacity: 1; }
.reveal-lines.is-in .ln:nth-child(2) > span { transition-delay: .1s; }
.reveal-lines.is-in .ln:nth-child(3) > span { transition-delay: .2s; }
.reveal-lines.is-in .ln:nth-child(4) > span { transition-delay: .3s; }

/* fade-up reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .1s; }
[data-reveal-d="2"] { transition-delay: .2s; }
[data-reveal-d="3"] { transition-delay: .3s; }

/* ── Buttons / links ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 17px 30px; border-radius: 100px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: all .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover svg { transform: translateX(5px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--navy); }

.link-u {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-bottom: 4px;
}
.link-u::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .5s var(--ease); }
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }
.link-u svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.link-u.on-dark { color: #fff; }

/* ════════ HEADER ════════ */
.mh {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 22px 0;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.mh-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mh-logo { display: flex; align-items: center; gap: 12px; }
.mh-logo img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.mh-logo-txt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1; color: #fff; transition: color .5s; }
.mh-logo-txt small { display: block; font-family: var(--body); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }
.mh-nav { display: flex; align-items: center; gap: 34px; }
.mh-item { position: relative; }
.mh-item > a { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: color .3s; position: relative; }
.mh-item > a::after { content:""; position:absolute; left:0; bottom:-6px; width:100%; height:1px; background: var(--gold); transform: scaleX(0); transform-origin:left; transition: transform .4s var(--ease); }
.mh-item:hover > a { color: #fff; }
.mh-item:hover > a::after { transform: scaleX(1); }
.mh-item .chev { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.mh-item.has-drop:hover .chev { transform: rotate(180deg); }

/* dropdown panel */
.mh-drop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 232px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 9px;
  box-shadow: 0 26px 56px rgba(10,23,51,0.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  z-index: 60;
}
.mh-drop::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.mh-item.has-drop:hover .mh-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mh-drop a { display: block; padding: 11px 16px; border-radius: 9px; font-size: 0.86rem; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background .25s, color .25s, padding .25s; }
.mh-drop a:hover { background: var(--mist); color: var(--gold-deep); padding-left: 22px; }
.mh-cta { display: inline-flex; align-items: center; gap: 10px; }
.mh-apply { display:inline-flex; align-items:center; gap:10px; padding: 10px 12px 10px 22px; border-radius: 100px; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 700; transition: all .4s var(--ease); }
.mh-apply b { font-weight: 700; opacity: 0.7; margin-left: 3px; }
.mh-apply .ap-ico { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; background: var(--gold); color: var(--navy); flex-shrink:0; transition: transform .4s var(--ease), background .4s; }
.mh-apply .ap-ico svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.mh-apply:hover { background: var(--gold); color: var(--navy); }
.mh-apply:hover .ap-ico { transform: rotate(45deg); background: var(--navy); color:#fff; }
.mh-burger { display: none; flex-direction: column; gap: 5px; width: 30px; cursor: pointer; }
.mh-burger span { height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* scrolled state → light bg, dark text */
.mh.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); padding: 14px 0; box-shadow: 0 1px 0 var(--line); }
.mh.scrolled .mh-logo-txt { color: var(--ink); }
.mh.scrolled .mh-logo-txt small { color: var(--muted); }
.mh.scrolled .mh-logo img { filter: none; }
.mh.scrolled .mh-item > a { color: var(--ink); }
.mh.scrolled .mh-burger span { background: var(--ink); }

/* ════════ HERO ════════ */
.mhero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: flex; }
.mhero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.mhero-bg img { transform: scale(1.12); will-change: transform; }
.mhero::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(7,15,34,0.38) 0%, rgba(7,15,34,0.08) 32%, rgba(7,15,34,0.28) 66%, rgba(7,15,34,0.62) 100%); }
.mhero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 54px; }
.mhero-top { margin-bottom: 28px; opacity: 0; transform: translateY(14px); animation: ebIn .9s .1s var(--ease) forwards; }
@keyframes ebIn { to { opacity: 1; transform: none; } }
/* glass pill eyebrow */
.mhero-top .eyebrow {
  position: relative; overflow: hidden; gap: 12px;
  padding: 11px 24px 11px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.26em;
  box-shadow: 0 10px 34px rgba(7,15,34,0.20);
}
.mhero-top .eyebrow::before {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.28);
  animation: dotPulse 1.9s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(201,168,76,0.32); } 50% { box-shadow: 0 0 0 9px rgba(201,168,76,0.04); } }
.mhero-top .eyebrow::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-260%); animation: ebShine 4.4s 1.2s ease-in-out infinite;
}
@keyframes ebShine { 0% { transform: translateX(-260%); } 55%, 100% { transform: translateX(520%); } }
.mhero-top .eb-text .ch { display: inline-block; opacity: 0; transform: translateY(11px); animation: chIn .55s var(--ease) forwards; animation-delay: calc(var(--i) * 0.026s + 0.45s); }
@keyframes chIn { to { opacity: 1; transform: none; } }
.mhero h1 { font-size: clamp(2.7rem, 7.2vw, 7.6rem); color: #fff; line-height: 0.95; font-weight: 500; letter-spacing: -0.035em; text-shadow: 0 0 26px rgba(7,15,34,0.14); }
.mhero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-light); }
.mhero-lead { max-width: 420px; color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.7; }
.mhero-meta { display: flex; gap: 46px; }
.mhero-meta .mm-k { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.mhero-meta .mm-l { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 4px; }
.mhero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; }
.mhero-scroll i { width: 1px; height: 40px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.mhero-scroll i::after { content:""; position:absolute; inset:0; background: var(--gold); animation: scrollDrop 2s var(--ease) infinite; }
@keyframes scrollDrop { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(100%);} }

/* ════════ MANIFESTO ════════ */
.section { padding: 96px 0; }
.section.tight { padding: 78px 0; }
.man-grid { display: grid; grid-template-columns: 0.32fr 0.68fr; gap: 40px; align-items: stretch; }
.man-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.man-rule { position: relative; height: 1px; background: var(--line); margin-bottom: 44px; }
.man-rule span { position: absolute; top: 0; left: 0; width: 84px; height: 1px; background: var(--gold); }
.man-label { display:flex; flex-direction: column; gap: 10px; }
.man-photo { position: relative; align-self: stretch; min-height: 440px; border-radius: 16px; overflow: hidden; box-shadow: 0 26px 54px rgba(10,23,51,0.16); }
.man-photo-tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px 22px 18px; background: linear-gradient(transparent, rgba(7,15,34,0.74)); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.92rem; }
.man-index { font-family: var(--display); font-size: 0.82rem; font-weight: 600; color: var(--gold-deep); letter-spacing: 0.1em; }
.man-statement { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.16; letter-spacing: -0.022em; color: var(--ink); }
.man-body { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; align-items: start; }
.man-body p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.man-body .btn { margin-top: 6px; }

/* ════════ STATS BAND ════════ */
.stats-band { background: var(--navy); color: #fff; padding: 90px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-cell { padding: 6px 38px; border-left: 1px solid var(--line-light); }
.stat-cell:first-child { border-left: 0; padding-left: 0; }
.stat-k { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; }
.stat-k .u { color: var(--gold); }
.stat-l { margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ════════ PROGRAMMES (project cards) ════════ */
.prog-head { display:flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.prog-head h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.prog-list { display: grid; gap: 22px; }
.prog-card { position: relative; display: grid; grid-template-columns: 60px 0.85fr 1.35fr 52px; gap: 36px; align-items: start; padding: 38px 26px 38px 0; border-top: 1px solid var(--line); transition: padding .55s var(--ease), background-color .45s var(--ease); }
.prog-card:last-child { border-bottom: 1px solid var(--line); }
/* growing gold accent bar on the left edge */
.prog-card::before { content: ""; position: absolute; left: 0; top: -1px; height: calc(100% + 1px); width: 0; background: var(--gold); transition: width .45s var(--ease); z-index: 2; }
.prog-no { font-family: var(--display); font-size: 0.9rem; color: var(--gold-deep); font-weight: 600; padding-top: 6px; transition: color .4s, transform .55s var(--ease); }
.prog-main .ages { display: block; margin-bottom: 12px; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.prog-main h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.9vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.05; transition: color .4s var(--ease); }
.prog-desc { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.prog-desc p { margin-bottom: 20px; max-width: 560px; }
.prog-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.prog-feats li { position: relative; padding-left: 18px; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.prog-feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prog-go { justify-self: end; align-self: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); opacity: 0; transform: scale(0.55) translateX(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .4s, border-color .4s, color .4s; }
.prog-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* hover state */
.prog-card:hover { padding-left: 28px; background: linear-gradient(90deg, rgba(201,168,76,0.07), rgba(201,168,76,0) 55%); }
.prog-card:hover::before { width: 3px; }
.prog-card:hover .prog-no { color: var(--ink); transform: translateY(-2px); }
.prog-card:hover h3 { color: var(--gold-deep); }
.prog-card:hover .prog-go { opacity: 1; transform: scale(1) translateX(0); background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ════════ CAMPUS full-bleed ════════ */
.campus { position: relative; height: 92vh; min-height: 620px; overflow: hidden; display: flex; align-items: center; }
.campus-bg { position: absolute; inset: -10% 0; z-index: 0; }
.campus-bg img { transform: scale(1.1); will-change: transform; }
.campus::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(7,15,34,0.82) 0%, rgba(7,15,34,0.5) 45%, rgba(7,15,34,0.2) 100%); z-index: 1; }
.campus-inner { position: relative; z-index: 2; max-width: 640px; }
.campus-inner h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); color: #fff; margin: 26px 0 24px; }
.campus-inner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.8; margin-bottom: 34px; max-width: 500px; }

/* ════════ GALLERY dual-marquee (dark) ════════ */
.gal-section { padding: 64px 0 92px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.gal-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent); }
.gal-header { margin-bottom: 46px; }
.gal-header .eyebrow { margin-bottom: 18px; }
.gal-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gal-head-row .display { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; text-shadow: 0 1px 30px rgba(0,0,0,0.25); }
.gal-section .display em { color: var(--gold); font-weight: 700; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.32); box-shadow: none; flex-shrink: 0; }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gal-strip { overflow: hidden; padding: 9px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.gal-track { display: flex; gap: 18px; width: max-content; }
.gal-track figure { position: relative; width: 340px; height: 240px; border-radius: 14px; overflow: hidden; flex-shrink: 0; transition: transform .5s var(--ease); }
.gal-track figure::after { content: ''; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); pointer-events: none; }
.gal-track figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); display: block; }
.gal-track figure:hover { transform: translateY(-6px); }
.gal-track figure:hover img { transform: scale(1.06); }
.gal-left  { animation: galLeft  46s linear infinite; }
.gal-right { animation: galRight 42s linear infinite; }
.gal-strip:hover .gal-left,
.gal-strip:hover .gal-right { animation-play-state: paused; }
@keyframes galLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes galRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width:768px) { .gal-section { padding: 76px 0; } .gal-track figure { width: 260px; height: 190px; } .gal-head-row { flex-direction: column; align-items: flex-start; } .gal-cta { display: none; } }
@media (max-width:480px) { .gal-track figure { width: 210px; height: 155px; } }

/* ════════ VALUES list ════════ */
.values-grid { display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 50px; }
.values-list { display: grid; }
.value-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 26px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); transition: .5s var(--ease); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row .vno { font-family: var(--display); color: var(--gold-deep); font-size: 0.85rem; }
.value-row h4 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.01em; }
.value-row p { color: var(--muted); font-size: 0.95rem; max-width: 360px; }
.value-row:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(201,168,76,0.06), transparent); }

/* ════════ NEWS ════════ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.news-card .nc-img { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.news-card .nc-img img { transition: transform .9s var(--ease); }
.news-card:hover .nc-img img { transform: scale(1.07); }
.news-meta { display:flex; gap: 14px; align-items: center; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.news-meta .tag { color: var(--gold-deep); font-weight: 700; }
.news-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; transition: color .3s; }
.news-card:hover h3 { color: var(--gold-deep); }

/* ════════ CTA ════════ */
.mcta { position: relative; padding: 150px 0; background: var(--navy); overflow: hidden; text-align: center; }
.mcta::before { content:""; position:absolute; width: 620px; height: 620px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: heroSpin 50s linear infinite; }
@keyframes heroSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.mcta h2 { position: relative; z-index: 2; font-size: clamp(2.6rem, 6.5vw, 6.4rem); color: #fff; margin-bottom: 40px; }
.mcta .mcta-actions { position: relative; z-index: 2; display:flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ════════ FOOTER ════════ */
.mf { background: var(--ink); color: rgba(255,255,255,0.7); padding: 90px 0 36px; }
.mf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.mf-brand img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 20px; }
.mf-brand p { font-size: 0.92rem; line-height: 1.8; max-width: 320px; }
.mf h5 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 22px; }
.mf ul li { margin-bottom: 13px; }
.mf ul a { font-size: 0.92rem; transition: color .3s; }
.mf ul a:hover { color: var(--gold); }
.mf-word { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 11vw, 9rem); line-height: 1; letter-spacing: -0.03em; color: rgba(255,255,255,0.06); padding: 50px 0 10px; text-align: center; }
.mf-bottom { display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ════════ MOBILE PANEL ════════ */
.mpanel { position: fixed; inset: 0; z-index: 300; background: var(--navy); transform: translateX(100%); transition: transform .6s var(--ease); display: flex; flex-direction: column; padding: 88px 8vw 40px; overflow-y: auto; }
.mpanel.open { transform: none; }
.mpanel-close { position: absolute; top: 28px; right: 8vw; color:#fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.mp-nav { display: flex; flex-direction: column; }
.mp-link { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; text-align: left; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.7rem; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.mp-link:hover { color: var(--gold); }
/* Parent row: label link navigates, chevron button toggles the submenu */
.mp-parent { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-light); }
.mp-plink { flex: 1; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.7rem; padding: 18px 0; }
.mp-plink:hover { color: var(--gold); }
.mp-toggle { background: none; border: 0; cursor: pointer; color: #fff; padding: 14px 4px 14px 24px; display: flex; align-items: center; margin: 4px 0; }
.mp-toggle svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.mp-group.open .mp-toggle svg { transform: rotate(180deg); }
.mp-sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.mp-group.open .mp-sub { max-height: 360px; }
.mp-sub a { display: block; color: rgba(255,255,255,0.66); font-size: 1.05rem; font-weight: 500; padding: 11px 0 11px 4px; }
.mp-sub a:first-child { padding-top: 16px; }
.mp-sub a:last-child { padding-bottom: 18px; }
.mp-sub a:hover { color: var(--gold); }

/* ════════ HEAD'S WELCOME ════════ */
.welcome-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 66px; align-items: center; }
.welcome-visual { position: relative; }
.welcome-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px rgba(10,23,51,0.18); }
.welcome-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.welcome-badge { position: absolute; right: -24px; bottom: 40px; background: var(--navy); color: #fff; padding: 22px 28px; border-radius: 14px; box-shadow: 0 20px 44px rgba(10,23,51,0.28); display: flex; flex-direction: column; gap: 4px; }
.wb-k { font-family: var(--display); font-size: 2.1rem; font-weight: 600; color: var(--gold); line-height: 1; }
.wb-l { font-size: 0.76rem; line-height: 1.4; color: rgba(255,255,255,0.7); }
.welcome-quote { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.18; margin: 18px 0 28px; }
.welcome-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.85; margin-bottom: 18px; }
.welcome-sign { display: flex; align-items: center; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.sign-mark { position: relative; font-family: var(--serif); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--ink); }
.sign-flourish { display: block; width: 100%; height: 9px; margin-top: 5px; overflow: visible; }
.sign-flourish path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.sign-div { width: 1px; height: 44px; background: var(--line); flex-shrink: 0; }
.sign-name strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.sign-name span { font-size: 0.82rem; color: var(--muted); }

/* ════════ ADMISSIONS STEPS ════════ */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.step-card { padding: 40px 36px 36px 36px; border-right: 1px solid var(--line); }
.step-card:first-child { padding-left: 0; }
.step-card:last-child { border-right: 0; padding-right: 0; }
.step-no { font-family: var(--display); font-size: 0.9rem; font-weight: 600; color: var(--gold-deep); }
.step-card h4 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; margin: 16px 0 10px; }
.step-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ════════ LEADERSHIP ════════ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-img { aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s var(--ease); }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-card h4 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.team-card span { display: block; margin-top: 4px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }

/* ════════ TESTIMONIALS ════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.testi-card .q { font-family: var(--serif); font-style: italic; font-size: 3.4rem; color: var(--gold); line-height: 0.5; height: 0.5em; }
.testi-card blockquote { font-size: 1.02rem; line-height: 1.72; color: var(--ink); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; }
.testi-card .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; flex-shrink: 0; }
.testi-card figcaption strong { display: block; font-size: 0.95rem; color: var(--ink); }
.testi-card figcaption span { font-size: 0.8rem; color: var(--muted); }
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(10,23,51,0.12); border-color: transparent; background: #fff; }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-img { aspect-ratio: 16/10; max-width: 560px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-card { border-bottom: 1px solid var(--line); }
  .step-card:nth-child(3n+1) { padding-left: 0; }
  .step-card:nth-child(3n) { border-right: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .man-grid { grid-template-columns: 1fr; gap: 26px; }
  .man-photo { aspect-ratio: 16/10; max-width: 560px; margin-top: 24px; flex: none; min-height: 0; }
  .man-body { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stat-cell:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .prog-card { grid-template-columns: 40px 1fr !important; padding-left: 0 !important; }
  .prog-go { display: none; }
  .mh-nav, .mh-apply span { display: none; }
  .mh-burger { display: flex; }
  .mhero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .mhero-meta { gap: 28px; }
  .prog-card { grid-template-columns: 40px 1fr; }
  .prog-desc { grid-column: 1 / -1; padding-left: 70px; }
  .news-grid { grid-template-columns: 1fr; }
  .mf-top { grid-template-columns: 1fr 1fr; }
  .cursor, .cursor-dot { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card { padding: 30px 26px; }
  .step-card:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .step-card:nth-child(even) { border-right: 0; padding-right: 0; }
  .step-card:last-child { border-right: 0; }
  .welcome-badge { right: 16px; bottom: 16px; padding: 16px 20px; }
  .prog-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 480px) {
  .mf-top { grid-template-columns: 1fr; }
  .stat-cell { padding: 6px 0; border-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card, .step-card:nth-child(odd) { border-right: 0; padding: 26px 0; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .prog-feats { grid-template-columns: 1fr; }
  .prog-desc { padding-left: 70px; }
}

/* ════════════════════════════════════════
   INNER PAGES (About, Academics, Campus…)
   ════════════════════════════════════════ */

/* ── Page hero ── */
.page-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); padding: 150px 0 86px; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,34,0.42) 0%, rgba(7,15,34,0.86) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.crumb a { color: rgba(255,255,255,0.55); transition: color .3s; }
.crumb a:hover { color: var(--gold); }
.crumb i { width: 14px; height: 1px; background: rgba(255,255,255,0.3); display: inline-block; }
.crumb span { color: var(--gold); }
.page-hero h1 { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .ph-sub { color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin-top: 24px; }

/* ── Story split ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.6; box-shadow: 0 30px 60px rgba(10,23,51,0.18); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.story-img:hover img { transform: scale(1.05); }
.story-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.85; margin-bottom: 18px; }
.story-stages { margin: 30px 0 4px; }
.story-stages + .btn { margin-top: 26px; }
.story-stages .ss-k { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 14px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ss-chips b { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 9px 18px 9px 14px; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.ss-chips b::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(201,168,76,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8852E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }
.ss-chips b:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 20px rgba(10,23,51,0.08); }

/* ── Mission / Vision ── */
.mv-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.mv-section::before { content: ''; position: absolute; top: -240px; left: 50%; transform: translateX(-50%); width: 1000px; height: 560px; background: radial-gradient(ellipse at center, rgba(201,168,76,0.12), transparent 68%); pointer-events: none; }
.mv-section > .wrap { position: relative; z-index: 2; }
.mv-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.mv-head .eyebrow { justify-content: center; }
.mv-head h2 { color: #fff; margin-top: 18px; font-size: clamp(2rem,4vw,3.2rem); }
.mv-head .display em { color: var(--gold); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.mv-card { position: relative; overflow: hidden; border-radius: 18px; padding: 46px 36px 42px;
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform .55s var(--ease), border-color .55s, box-shadow .55s; }
/* animated gold top bar — grows when card reveals */
.mv-card .mv-bar { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .9s .35s var(--ease); }
.mv-card.is-in .mv-bar { width: 100%; }
/* sheen sweep on hover */
.mv-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.mv-card:hover::after { transform: translateX(120%); }
.mv-card:hover { transform: translateY(-10px); border-color: rgba(201,168,76,0.55); box-shadow: 0 34px 64px rgba(0,0,0,0.4); }
/* big watermark index */
.mv-no { position: absolute; top: 26px; right: 32px; font-family: var(--display); font-weight: 700; font-size: 3.6rem; line-height: 1; color: rgba(255,255,255,0.05); transition: color .55s var(--ease); }
.mv-card:hover .mv-no { color: rgba(201,168,76,0.2); }
.mv-ico { position: relative; width: 56px; height: 56px; border-radius: 14px; background: rgba(201,168,76,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; transition: transform .5s var(--ease), background .5s var(--ease); }
.mv-card:hover .mv-ico { transform: rotate(-7deg) scale(1.1); background: rgba(201,168,76,0.24); }
.mv-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mv-card h3 { position: relative; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: #fff; margin-bottom: 14px; letter-spacing: -0.01em; }
.mv-card p { position: relative; color: rgba(255,255,255,0.72); font-size: 0.97rem; line-height: 1.8; }

/* ── Footer socials ── */
.mf-social { display: flex; gap: 12px; margin-top: 22px; }
.mf-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease); }
.mf-social a svg { width: 17px; height: 17px; fill: currentColor; }
.mf-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }

/* ── Compact hero (no image, e.g. Contact) ── */
.page-hero.short { min-height: auto; padding: 168px 0 92px; }
.page-hero.short::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 1000px; height: 520px; background: radial-gradient(ellipse at center, rgba(201,168,76,0.13), transparent 68%); pointer-events: none; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.cform { display: grid; gap: 20px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--body); font-size: 0.98rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #aab3c2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.16); }
.field textarea { resize: vertical; min-height: 140px; }
.cform .btn-gold { justify-content: center; padding: 17px 28px; }
.cform-submit { width: 100%; justify-content: center; gap: 12px; padding: 18px 28px; font-size: 1rem; margin-top: 6px; box-shadow: 0 14px 30px rgba(201,168,76,0.28); }
.cform-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(201,168,76,0.36); }
.cform-submit svg { transition: transform .4s var(--ease); }
.cform-submit:hover svg { transform: translateX(4px); }
.cform-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; line-height: 1.6; }
/* Prevent form elements from forcing horizontal overflow on narrow screens */
.contact-grid > div, .cform, .cform .field, .cform .row2 { min-width: 0; }
.cform input, .cform select, .cform textarea { width: 100%; max-width: 100%; }
.cform-note .link-u { display: inline; overflow-wrap: anywhere; word-break: break-word; }

.cinfo-intro { margin-bottom: 8px; }
.cinfo-card { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.cinfo-card:last-of-type { border-bottom: 1px solid var(--line); }
.cinfo-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(201,168,76,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cinfo-ico svg { width: 22px; height: 22px; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cinfo-card h4 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: 5px; letter-spacing: -0.01em; }
.cinfo-card p, .cinfo-card a { color: var(--muted); font-size: 0.95rem; line-height: 1.65; display: block; }
.cinfo-card a:hover { color: var(--gold-deep); }
.cinfo-social { display: flex; gap: 12px; margin-top: 28px; }
.cinfo-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all .35s var(--ease); }
.cinfo-social a svg { width: 18px; height: 18px; fill: currentColor; }
.cinfo-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-3px); }

.cmap iframe { width: 100%; height: 460px; border: 0; border-radius: 18px; display: block; box-shadow: 0 24px 50px rgba(10,23,51,0.12); }

/* ── Academics: exam-prep grid (4 dark cards) ── */
.mv-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.mv-card .mv-tag { position: relative; display: inline-block; font-family: var(--body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

/* ── Academics: co-curricular cards (light) ── */
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cc-card { position: relative; overflow: hidden; background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, background .45s; }
.cc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(10,23,51,0.12); border-color: transparent; background: #fff; }
.cc-ico { width: 52px; height: 52px; border-radius: 13px; background: rgba(201,168,76,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: transform .5s var(--ease), background .5s; }
.cc-card:hover .cc-ico { transform: rotate(-7deg) scale(1.08); background: rgba(201,168,76,0.22); }
.cc-ico svg { width: 25px; height: 25px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-card h4 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.cc-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ── Admissions: hero actions + session pill ── */
.ph-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.ph-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); background: var(--gold); border-radius: 30px; padding: 8px 18px; margin-bottom: 22px; }
.ph-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(10,23,51,0.18); }

/* ── Admissions: requirement cards ── */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.req-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 14px; padding: 36px 32px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.req-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(10,23,51,0.12); }
.req-card .req-age { font-family: var(--body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.req-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; margin: 8px 0 20px; }
.req-list { display: grid; gap: 12px; }
.req-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.req-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(201,168,76,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8852E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

/* ── Admissions: tuition band ── */
.tuition { background: var(--ink); color: #fff; border-radius: 20px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.tuition::before { content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.16), transparent 65%); }
.tuition-txt { position: relative; z-index: 2; max-width: 620px; }
.tuition-txt h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem,2.6vw,2.1rem); color: #fff; letter-spacing: -0.01em; margin-bottom: 12px; }
.tuition-txt p { color: rgba(255,255,255,0.74); font-size: 1rem; line-height: 1.7; }
.tuition .btn { position: relative; z-index: 2; flex-shrink: 0; }

/* ── Admissions: FAQ accordion ── */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: none; border: 0; cursor: pointer; text-align: left; padding: 26px 4px; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem,1.7vw,1.3rem); color: var(--ink); letter-spacing: -0.01em; transition: color .3s; }
.faq-q:hover { color: var(--gold-deep); }
.faq-icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold-deep); border-radius: 2px; transition: transform .4s var(--ease); }
.faq-icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-icon::after { top: 0; left: 10px; width: 2px; height: 22px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { color: var(--muted); font-size: 0.98rem; line-height: 1.8; padding: 0 4px 26px; max-width: 760px; }

/* ── News: filter bar ── */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.nf-btn { font-family: var(--body); font-size: 0.86rem; font-weight: 600; color: var(--muted); background: var(--mist); border: 1px solid var(--line); border-radius: 30px; padding: 9px 20px; cursor: pointer; transition: all .35s var(--ease); }
.nf-btn:hover { color: var(--ink); border-color: var(--gold); }
.nf-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-card.hide { display: none; }

/* ── News: featured article ── */
.feat-card { display: grid; grid-template-columns: 1.1fr 0.9fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 64px; background: #fff; transition: box-shadow .5s var(--ease); }
.feat-card:hover { box-shadow: 0 30px 60px rgba(10,23,51,0.12); }
.feat-img { position: relative; min-height: 360px; overflow: hidden; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feat-card:hover .feat-img img { transform: scale(1.05); }
.feat-flag { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 15px; border-radius: 30px; }
.feat-body { padding: 48px 50px; display: flex; flex-direction: column; justify-content: center; }
.feat-body .news-meta { margin-bottom: 16px; }
.feat-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem,2.6vw,2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 18px; transition: color .3s; }
.feat-card:hover .feat-body h2 { color: var(--gold-deep); }
.feat-body p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 26px; }

/* ── News: events strip ── */
.events-list { display: grid; gap: 14px; }
.event-row { display: flex; align-items: center; gap: 26px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.event-row:hover { transform: translateX(6px); border-color: var(--gold); box-shadow: 0 16px 34px rgba(10,23,51,0.08); }
.event-date { flex-shrink: 0; width: 76px; text-align: center; border-right: 1px solid var(--line); padding-right: 22px; }
.event-date .ed-day { font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--navy); }
.event-date .ed-mon { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.event-info h4 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 5px; }
.event-info p { color: var(--muted); font-size: 0.9rem; }
.event-info p svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; }

/* ── Campus: facility showcase rows ── */
.fac-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.fac-row:last-child { margin-bottom: 0; }
.fac-row:nth-child(even) .fac-img { order: 2; }
.fac-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px rgba(10,23,51,0.16); }
.fac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fac-row:hover .fac-img img { transform: scale(1.05); }
.fac-no { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--gold-deep); letter-spacing: 0.06em; }
.fac-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem,2.8vw,2.3rem); letter-spacing: -0.02em; margin: 10px 0 16px; }
.fac-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin-bottom: 22px; }
.fac-feats { display: flex; flex-wrap: wrap; gap: 12px; }
.fac-feats span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 9px 18px 9px 14px; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.fac-feats span::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(201,168,76,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8852E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }
.fac-feats span:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 20px rgba(10,23,51,0.08); }

/* ── Campus: filterable gallery ── */
.cam-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.cam-item { position: relative; overflow: hidden; border-radius: 12px; cursor: pointer; }
.cam-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cam-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,23,51,0.4)); opacity: 0; transition: opacity .45s var(--ease); }
.cam-item:hover img { transform: scale(1.07); }
.cam-item:hover::after { opacity: 1; }
.cam-item.hide { display: none; }

@media (max-width: 1024px) {
  .page-hero { min-height: 48vh; }
  .story-grid { grid-template-columns: 1fr; gap: 38px; }
  .story-img { aspect-ratio: 16/10; max-width: 560px; }
  .mv-grid { grid-template-columns: 1fr; gap: 16px; }
  .mv-grid.cols4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .tuition { padding: 40px 36px; }
  .feat-card { grid-template-columns: 1fr; }
  .feat-img { min-height: 260px; }
  .feat-body { padding: 36px 32px; }
  .fac-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 52px; }
  .fac-row:nth-child(even) .fac-img { order: 0; }
  .fac-img { aspect-ratio: 16/10; }
  .cam-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 560px) {
  .cam-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}
@media (max-width: 560px) {
  .cform .row2 { grid-template-columns: 1fr; }
  .mv-grid.cols4 { grid-template-columns: 1fr; }
  .cc-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   MOBILE POLISH — additive, mobile-only
   (all max-width; desktop rules untouched)
   ════════════════════════════════════════ */

/* Switch to burger nav earlier so tablets don't crowd the bar */
@media (max-width: 960px) {
  .mh-nav { display: none; }
  .mh-apply span { display: none; }
  .mh-burger { display: flex; }
}

@media (max-width: 768px) {
  /* Inner-page heroes: less top gap, no forced full height */
  .page-hero { min-height: auto; padding: 118px 0 58px; }
  .page-hero.short { padding: 116px 0 60px; }
  .page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.1rem); }
  .page-hero .ph-sub { font-size: 1rem; }
  /* Homepage hero breathing room */
  .mhero-inner { padding: 120px 0 44px; }
  /* Hide the decorative SCROLL cue on mobile (it overlapped the hero meta) */
  .mhero-scroll { display: none; }
  .mhero-meta { flex-wrap: wrap; gap: 22px 32px; }
  /* CTA band: trim the huge padding + shrink the ring */
  .mcta { padding: 92px 0; }
  .mcta::before { width: 440px; height: 440px; }
  .mcta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .mcta-actions .btn { width: 100%; justify-content: center; }
  /* Hero action buttons stack full-width */
  .ph-actions { flex-direction: column; align-items: stretch; }
  .ph-actions .btn { width: 100%; justify-content: center; }
  /* Tuition band stacks cleanly */
  .tuition { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tuition .btn { width: 100%; justify-content: center; }
  /* Forms: full-width submit */
  .cform .btn-gold { width: 100%; }
  /* Trim oversized section headings on phones */
  .welcome-quote { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .feat-body h2, .fac-body h3 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .mf-word { font-size: clamp(2.4rem, 14vw, 5rem); }
}

@media (max-width: 480px) {
  .section { padding: 58px 0; }
  .page-hero, .page-hero.short { padding: 104px 0 48px; }
  .wrap { width: 90vw; }
  /* Logo scales down a touch */
  .mh-logo img { width: 40px; height: 40px; }
  .mh-logo-txt { font-size: 0.95rem; }
  .mh-logo-txt small { font-size: 0.55rem; letter-spacing: 0.14em; }
  /* Grids that were 2-up go single on small phones */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  /* Gallery marquee cards a bit smaller */
  .gal-head-row .display { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  /* Event rows: keep tidy */
  .event-row { gap: 18px; padding: 18px 20px; }
  .event-date { width: 62px; padding-right: 16px; }
}
