/* ==========================================================================
   NATIVE SCHOOLS — new design system (Phase 1: Homepage)
   Built from scratch, independent of the legacy css/style.css.
   ========================================================================== */

@import url('fonts.css'); /* self-hosted: works offline */

:root {
	/* Brand palette */
	--navy: #06152E;
	--navy-2: #0C2044;
	--royal: #1155CC;
	--electric: #2F80FF;
	--gold: #D9A441;
	--gold-light: #E9C578;
	--gold-text: #8A6414;
	--ivory: #F8F6F0;
	--white: #FFFFFF;
	--text: #101828;
	--muted: #667085;
	--border: rgba(16, 24, 40, 0.10);
	--border-soft: rgba(16, 24, 40, 0.06);

	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 50px rgba(6, 21, 46, 0.12);
	--shadow-sm: 0 8px 24px rgba(6, 21, 46, 0.08);
	--transition: all .28s cubic-bezier(.4,0,.2,1);
	--motion-y: 26px;
	--motion-dur: .7s;
}

@media (prefers-reduced-motion: reduce) {
	:root { --motion-y: 0px; --motion-dur: .01s; }
	* { scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nm {
	margin: 0;
	background: var(--ivory);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.nm img { max-width: 100%; height: auto; display: block; }
.nm a { color: inherit; text-decoration: none; }
.nm h1, .nm h2, .nm h3, .nm h4 { margin: 0; color: var(--navy); font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
.nm ul { margin: 0; padding: 0; list-style: none; }
.nm .container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---- Skip link ---- */
.nm-skip {
	position: absolute; left: -999px; top: 0; z-index: 10000;
	background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 0 0 8px 0;
	font-family: var(--font-body); font-weight: 700; font-size: 14px;
}
.nm-skip:focus { left: 0; }

/* ---- Focus visibility ---- */
.nm a:focus-visible, .nm button:focus-visible, .nm input:focus-visible {
	outline: 3px solid var(--electric); outline-offset: 3px;
}

/* ---- Reveal (JS-armed via html.nm-js) ---- */
.nm-reveal { opacity: 1; transform: none; }
html.nm-js .nm-reveal { opacity: 0; transform: translateY(var(--motion-y)); transition: opacity var(--motion-dur) ease, transform var(--motion-dur) ease; }
html.nm-js .nm-reveal.is-in { opacity: 1; transform: none; }

/* ---- Eyebrow / labels ---- */
.nm-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--gold-text); margin-bottom: 18px;
}
.nm-eyebrow--dark { color: var(--gold-light); }
.nm-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }
.nm-rule { width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin: 20px auto 0; border-radius: 2px; }
.nm-rule--left { margin: 20px 0 0; }

.nm-head { text-align: center; max-width: 680px; margin: 0 auto; }
.nm-head--left { text-align: left; margin: 0; }
.nm-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; }
.nm-lede { color: var(--muted); font-size: 16px; margin-top: 16px; line-height: 1.8; }

/* ---- Announcement bar ---- */
.nm-announce { background: var(--navy); color: rgba(255,255,255,0.82); font-size: 13px; position: relative; z-index: 1001; }
.nm-announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 40px 9px 28px; text-align: center; position: relative; }
.nm-announce a { font-weight: 700; color: var(--gold-light); }
.nm-announce a:hover { text-decoration: underline; }
.nm-announce__close {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
	background: none; border: none; color: rgba(255,255,255,0.6); font-size: 18px; line-height: 1; cursor: pointer; padding: 6px;
}
.nm-announce__close:hover { color: #fff; }
.nm-announce.is-dismissed { display: none; }

/* ---- Header / nav ---- */
.nm-header {
	position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
	transition: var(--transition);
	background: transparent;
	padding: 26px 0;
}
.nm-header.has-announce { top: 38px; }
.nm-header.is-solid {
	background: rgba(6, 21, 46, 0.96);
	backdrop-filter: blur(10px);
	padding: 14px 0;
	box-shadow: 0 12px 30px rgba(6,21,46,0.22);
}
.nm-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nm .nm-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; color: #fff; white-space: nowrap; flex-shrink: 0; }
.nm .nm-brand img { height: 58px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); transition: var(--transition); }
.nm-header.is-solid .nm-brand img { height: 48px; }
.nm-brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }

.nm-menu { display: flex; align-items: center; gap: 2px; }
.nm-menu > li { position: relative; }
.nm .nm-menu > li > a {
	display: block; padding: 10px 13px; font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.88);
	border-radius: 999px; transition: var(--transition); white-space: nowrap;
}
.nm .nm-menu > li > a:hover, .nm .nm-menu > li > a.is-active { color: #fff; background: rgba(255,255,255,0.1); }

.nm-nav__actions { display: flex; align-items: center; gap: 10px; }
.nm-ilms { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.75); padding: 8px 6px; }
.nm-ilms:hover { color: var(--gold-light); }
.nm-search-btn, .nm-menu-btn {
	background: none; border: none; color: #fff; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center;
}

.nm-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
	padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
	transition: var(--transition); white-space: nowrap;
}
.nm-btn--gold { background: var(--gold); color: var(--navy); }
.nm-btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nm-btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.nm-btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.nm-btn--royal { background: var(--royal); color: #fff; }
.nm-btn--royal:hover { background: var(--navy); transform: translateY(-2px); }
.nm-btn--outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.nm-btn--outline-navy:hover { background: var(--navy); color: #fff; }
.nm-btn--sm { padding: 9px 18px; font-size: 12.5px; }

/* mega menu */
.nm-mega {
	position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
	min-width: 620px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 24px; opacity: 0; visibility: hidden; transition: var(--transition);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px;
}
.nm-menu li.has-mega:hover .nm-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nm-mega__head { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); padding: 8px 12px 6px; }
.nm-mega a.nm-mega__link { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.nm-mega a.nm-mega__link:hover { background: var(--ivory); color: var(--royal); }
.nm-mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--border-soft); margin-top: 8px; padding-top: 12px; text-align: center; }
.nm-mega__foot a { font-weight: 700; color: var(--royal); font-size: 13.5px; }

/* mobile menu */
.nm-menu-btn { display: none; }
.nm-mobile {
	position: fixed; inset: 0; z-index: 1200; background: var(--navy);
	display: flex; flex-direction: column;
	transform: translateY(-100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.nm-mobile.is-open { transform: translateY(0); }
.nm-mobile__top { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; }
.nm-mobile__close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }
.nm-mobile__list { padding: 10px 28px 40px; overflow-y: auto; }
.nm-mobile__list li a { display: block; padding: 16px 4px; font-family: var(--font-display); font-size: 26px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nm-mobile__cta { padding: 0 28px 40px; display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }


/* ---- Hero ---- */
.nm-hero {
	position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
	background: var(--navy);
}
.nm-hero__media { position: absolute; inset: 0; z-index: 0; }
.nm-hero__media img {
	width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.nm-hero__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(6,21,46,0.75) 0%, rgba(6,21,46,0.55) 40%, rgba(6,21,46,0.92) 100%);
}
.nm-hero__inner { position: relative; z-index: 2; width: 100%; padding: 150px 0 90px; text-align: center; }
.nm-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-light);
	border: 1px solid rgba(233,197,120,0.45); border-radius: 999px; padding: 9px 20px; margin-bottom: 30px;
}
.nm-hero h1 {
	color: #fff; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.1; max-width: 920px; margin: 0 auto;
}
.nm-hero h1 em { font-style: normal; color: var(--gold-light); }
.nm-hero p.nm-hero__sub {
	color: rgba(255,255,255,0.82); font-size: 18px; line-height: 1.75; max-width: 640px; margin: 26px auto 0;
}
.nm-hero__cta { display: flex; gap: 16px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.nm-hero__watch {
	display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px;
	margin-top: 30px; cursor: pointer; background: none; border: none;
}
.nm-hero__watch-icon {
	width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6);
	display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.nm-hero__watch:hover .nm-hero__watch-icon { background: #fff; color: var(--navy); }
.nm-hero__scroll {
	position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
	color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.nm-hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent); }
html.nm-js .nm-hero__scroll { animation: nmScrollHint 2.4s ease-in-out infinite; }
@keyframes nmScrollHint { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(6px);} }
@media (prefers-reduced-motion: reduce) { html.nm-js .nm-hero__scroll { animation: none; } }

/* ---- Trust strip ---- */
.nm-trust { background: var(--white); border-bottom: 1px solid var(--border-soft); }
.nm-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.nm-trust__item { padding: 46px 20px; text-align: center; border-left: 1px solid var(--border-soft); }
.nm-trust__item:first-child { border-left: none; }
.nm-trust__num { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--navy); }
.nm-trust__num .nm-plus { color: var(--gold-text); }
.nm-trust__label { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.nm-trust__pending { font-size: 14px; font-weight: 700; color: var(--gold-text); }

/* ---- Editorial split (intro / purpose) ---- */
.nm-split { padding: 110px 0; background: var(--ivory); }
.nm-split__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.nm-split__media { position: relative; }
.nm-split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.nm-split__media::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.nm-split__copy p { color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.nm-split__copy p + p { margin-top: 16px; }

/* ---- Educational pathway ---- */
.nm-pathway { padding: 110px 0; background: var(--white); }
.nm-path-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 56px; position: relative; }
.nm-path-track::before { content:""; position:absolute; top:38px; left:5%; right:5%; height:2px; background: var(--border); }
.nm-path-step { position: relative; text-align: center; padding: 0 12px; }
.nm-path-step__dot {
	width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; position: relative; z-index: 1;
	background: var(--white); border: 2px solid var(--royal); display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 700; color: var(--royal); font-size: 22px;
}
.nm-path-step h3 { font-family: var(--font-body); font-size: 16px; color: var(--navy); }
.nm-path-step p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---- Innovation (dark) ---- */
.nm-innovation { padding: 120px 0; background: var(--navy); position: relative; overflow: hidden; }
.nm-innovation__glow {
	position: absolute; width: 700px; height: 700px; border-radius: 50%;
	background: radial-gradient(circle, rgba(47,128,255,0.18), transparent 70%);
	top: -250px; right: -200px; pointer-events: none;
}
.nm-innovation__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; position: relative; }
.nm-inno-card {
	background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
	padding: 30px 26px; transition: var(--transition);
}
.nm-inno-card:hover { border-color: var(--electric); transform: translateY(-6px); background: rgba(255,255,255,0.05); }
.nm-inno-card__icon {
	width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: rgba(47,128,255,0.15); color: var(--electric); font-size: 22px; margin-bottom: 18px;
}
.nm-inno-card h3 { font-family: var(--font-body); color: #fff; font-size: 16.5px; }
.nm-inno-card p { color: rgba(255,255,255,0.62); font-size: 13.5px; line-height: 1.7; margin-top: 8px; }
.nm-inno-card .nm-tag-pending {
	display: inline-block; margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--navy); background: var(--gold-light); border-radius: 999px; padding: 3px 10px;
}

/* ---- Why choose (6 cards) ---- */
.nm-why { padding: 110px 0; background: var(--ivory); }
.nm-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.nm-why-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--border-soft); transition: var(--transition); }
.nm-why-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.nm-why-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.nm-why-card h3 { font-family: var(--font-body); font-size: 17px; }
.nm-why-card p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.7; }

/* ---- Campus explorer ---- */
.nm-campuses { padding: 110px 0; background: var(--white); }
.nm-explorer__controls { display: flex; gap: 14px; justify-content: center; margin: 50px 0 40px; flex-wrap: wrap; }
.nm-explorer__search {
	display: flex; align-items: center; gap: 10px; background: var(--ivory); border: 1px solid var(--border);
	border-radius: 999px; padding: 10px 20px; min-width: 260px;
}
.nm-explorer__search input { border: none; background: none; font-family: var(--font-body); font-size: 14px; outline: none; width: 100%; color: var(--text); }
.nm-explorer__filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nm-filter-btn {
	font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--navy); background: var(--white);
	border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: var(--transition);
}
.nm-filter-btn:hover { border-color: var(--royal); }
.nm-filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.nm-campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nm-campus-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.nm-campus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nm-campus-card__media { height: 150px; background: linear-gradient(135deg, var(--royal), var(--navy)); position: relative; }
.nm-campus-card__badge { position: absolute; top: 12px; left: 12px; background: var(--gold-light); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.nm-campus-card__body { padding: 22px 22px 24px; }
.nm-campus-card__region { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.nm-campus-card h3 { font-family: var(--font-body); font-size: 16.5px; margin-top: 6px; }
.nm-campus-card__addr, .nm-campus-card__phone { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.nm-campus-card__actions { display: flex; gap: 10px; margin-top: 16px; }
.nm-campus-card[hidden] { display: none; }
.nm-explorer__empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.nm-explorer__empty.is-visible { display: block; }

/* ---- Legacy timeline ---- */
.nm-timeline { padding: 110px 0; background: var(--ivory); }
.nm-tl { position: relative; margin-top: 60px; padding-left: 40px; }
.nm-tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.nm-tl-item { position: relative; padding-bottom: 46px; }
.nm-tl-item:last-child { padding-bottom: 0; }
.nm-tl-item::before {
	content: ""; position: absolute; left: -40px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--white); border: 3px solid var(--gold);
}
.nm-tl-item__year { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--navy); }
.nm-tl-item p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.7; max-width: 560px; }
.nm-tl-item.is-pending::before { border-color: var(--border); }
.nm-tl-item.is-pending .nm-tl-item__year { color: var(--muted); }

/* ---- Leadership ---- */
.nm-leadership { padding: 110px 0; background: var(--navy); }
.nm-lead-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.nm-lead-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.nm-lead-tag {
	display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--navy); background: var(--gold-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.nm-lead-quote { font-family: var(--font-display); font-size: 24px; line-height: 1.55; color: #fff; }
.nm-lead-bio { color: rgba(255,255,255,0.68); font-size: 14.5px; line-height: 1.8; margin-top: 22px; }
.nm-lead-name { font-family: var(--font-display); font-weight: 700; color: var(--gold-light); font-size: 17px; margin-top: 22px; }
.nm-lead-title { color: rgba(255,255,255,0.55); font-size: 13px; margin-top: 2px; }
.nm-lead-secondary { max-width: 780px; margin: 60px auto 0; display: flex; gap: 22px; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.nm-lead-secondary img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nm-lead-secondary h4 { font-family: var(--font-body); color: #fff; font-size: 15.5px; }
.nm-lead-secondary p { color: rgba(255,255,255,0.6); font-size: 13.5px; line-height: 1.7; margin-top: 6px; }

/* ---- Student life mosaic ---- */
.nm-mosaic { padding: 110px 0; background: var(--white); }
.nm-mosaic__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 14px; margin-top: 56px; }
.nm-mosaic__grid a { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.nm-mosaic__grid a.tall { grid-row: span 2; }
.nm-mosaic__grid a.wide { grid-column: span 2; }
.nm-mosaic__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nm-mosaic__grid a:hover img { transform: scale(1.08); }
.nm-mosaic__grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,21,46,0.55) 100%); opacity: 0; transition: var(--transition); }
.nm-mosaic__grid a:hover::after { opacity: 1; }

/* ---- News ---- */
.nm-news { padding: 110px 0; background: var(--ivory); }
.nm-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.nm-news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.nm-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nm-news-card__media { height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--royal), var(--navy)); }
.nm-news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nm-news-card__body { padding: 22px 22px 26px; }
.nm-news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-text); }
.nm-news-card h3 { font-family: var(--font-body); font-size: 16.5px; margin-top: 10px; line-height: 1.4; }
.nm-news-card p { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.65; }
.nm-news-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---- Testimonials ---- */
.nm-testimonials { padding: 110px 0; background: var(--white); }
.nm-t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.nm-t-card { border: 1px dashed var(--border); border-radius: var(--radius); padding: 30px 26px; background: var(--ivory); }
.nm-t-card__quote { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: 16px; line-height: 1.7; }
.nm-t-card__name { margin-top: 18px; font-weight: 700; color: var(--navy); font-size: 13.5px; }

/* ---- Admissions CTA ---- */
.nm-cta { padding: 100px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); text-align: center; position: relative; overflow: hidden; }
.nm-cta__inner { position: relative; z-index: 1; }
.nm-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); max-width: 760px; margin: 0 auto; }
.nm-cta p { color: rgba(255,255,255,0.75); margin-top: 18px; font-size: 16px; }
.nm-cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ---- Footer ---- */
.nm-footer { background: var(--navy); color: rgba(255,255,255,0.68); padding-top: 80px; }
.nm-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 60px; }
.nm-footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; }
.nm-footer__tag { font-size: 13.5px; line-height: 1.8; margin-top: 14px; color: rgba(255,255,255,0.55); max-width: 260px; }
.nm-footer h4 { font-family: var(--font-body); color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.nm-footer ul li { margin-bottom: 11px; font-size: 13.5px; }
.nm-footer ul li a:hover { color: #fff; }
.nm-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.nm-footer__social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.nm-footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nm-newsletter { display: flex; margin-top: 14px; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.nm-newsletter input { flex: 1; background: none; border: none; padding: 11px 16px; color: #fff; font-family: var(--font-body); font-size: 13px; outline: none; }
.nm-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.nm-newsletter button { background: var(--gold); border: none; color: var(--navy); font-weight: 700; font-size: 13px; padding: 0 18px; cursor: pointer; }
.nm-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.nm-footer__bottom a:hover { color: #fff; }

/* ---- Floating actions ---- */
.nm-floating { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.nm-floating a {
	display: flex; align-items: center; gap: 10px; width: 56px; height: 56px; border-radius: 50%; color: #fff;
	box-shadow: 0 10px 26px rgba(6,21,46,0.3); transition: var(--transition); justify-content: center;
}
.nm-floating a:hover { width: auto; padding: 0 22px; border-radius: 999px; }
.nm-floating a .nm-fab-label { display: none; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.nm-floating a:hover .nm-fab-label { display: inline; }
.nm-fab-wa { background: #25d366; }
.nm-fab-apply { background: var(--gold); color: var(--navy); }

/* ---- Video modal ---- */
.nm-modal { position: fixed; inset: 0; z-index: 1300; background: rgba(6,21,46,0.92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: var(--transition); }
.nm-modal.is-open { opacity: 1; visibility: visible; }
.nm-modal__box { width: 100%; max-width: 900px; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; position: relative; }
.nm-modal__close { position: absolute; top: -46px; right: 0; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.nm-modal__note { color: rgba(255,255,255,0.7); text-align: center; padding: 60px 30px; font-size: 14.5px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
	.nm-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1180px) {
	.nm-menu, .nm-nav__actions .nm-ilms, .nm-nav__actions .nm-btn { display: none; }
	.nm-menu-btn { display: flex; }
}
@media (min-width: 1181px) { .nm-mobile { display: none; } }

@media (max-width: 980px) {
	.nm-split__grid, .nm-lead-grid { grid-template-columns: 1fr; gap: 34px; }
	.nm-lead-grid img { max-width: 280px; margin: 0 auto; }
	.nm-path-track { grid-template-columns: repeat(3, 1fr); gap: 30px 4px; }
	.nm-path-track::before { display: none; }
	.nm-innovation__grid, .nm-why__grid, .nm-campus-grid, .nm-news__grid, .nm-t-grid { grid-template-columns: 1fr 1fr; }
	.nm-trust__grid { grid-template-columns: 1fr 1fr; }
	.nm-trust__item:nth-child(3) { border-left: none; }
	.nm-mosaic__grid { grid-template-columns: repeat(2, 1fr); }
	.nm-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	.nm-hero__inner { padding: 130px 0 70px; }
	.nm-innovation__grid, .nm-why__grid, .nm-campus-grid, .nm-news__grid, .nm-t-grid, .nm-trust__grid { grid-template-columns: 1fr; }
	.nm-trust__item { border-left: none; border-top: 1px solid var(--border-soft); }
	.nm-trust__item:first-child { border-top: none; }
	.nm-path-track { grid-template-columns: 1fr 1fr; }
	.nm-mosaic__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
	.nm-mosaic__grid a.wide { grid-column: span 1; }
	.nm-footer__grid { grid-template-columns: 1fr; }
	.nm-explorer__controls { flex-direction: column; align-items: stretch; }
	.nm-floating { right: 14px; bottom: 14px; }
	.nm-lead-secondary { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   PHASE 2 — header polish, campus cards, inner pages (detail / news)
   ========================================================================== */
.nm-header .container { max-width: 1320px; }
/* Button text colours must beat the generic `.nm a { color: inherit }` rule */
.nm a.nm-btn--gold { color: var(--navy); }
.nm a.nm-btn--outline-light { color: #fff; }
.nm a.nm-btn--royal { color: #fff; }
.nm a.nm-btn--outline-navy { color: var(--navy); }
.nm a.nm-btn--outline-navy:hover { color: #fff; }
.nm .nm-floating a.nm-fab-wa { color: #fff; }
.nm .nm-floating a.nm-fab-apply { color: var(--navy); }
.nm .nm-announce a { color: var(--gold-light); }

/* Campus cards: illustrated header instead of a flat block */
.nm-campus-card__media {
	height: 120px; display: flex; align-items: flex-end; padding: 16px 20px;
	background:
		radial-gradient(circle at 85% 20%, rgba(233,197,120,0.35), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, var(--royal), var(--navy));
}
.nm-campus-card__media::after {
	content: ""; position: absolute; right: 18px; bottom: 14px; width: 46px; height: 46px; opacity: 0.9;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9C578' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6'/%3E%3Cpath d='M5 10v9h14v-9'/%3E%3Cpath d='M10 19v-5h4v5'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E");
}
.nm-campus-card__city { color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 700; position: relative; z-index: 1; }
.nm-campus-card[data-region="sindh"] .nm-campus-card__media { background:
		radial-gradient(circle at 85% 20%, rgba(233,197,120,0.35), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, #0E6E6E, var(--navy)); }
.nm-campus-card[data-region="faisalabad"] .nm-campus-card__media { background:
		radial-gradient(circle at 85% 20%, rgba(233,197,120,0.35), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, #5B3FB8, var(--navy)); }
.nm-campus-card[data-region="gujranwala"] .nm-campus-card__media { background:
		radial-gradient(circle at 85% 20%, rgba(233,197,120,0.35), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, #A4472B, var(--navy)); }

/* Innovation cards: tidy tag */
.nm-inno-card .nm-tag-soon { display: inline-block; margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(233,197,120,0.45); border-radius: 999px; padding: 3px 10px; }

/* ---- Inner page hero ---- */
.nm-page-hero {
	position: relative; overflow: hidden; background: var(--navy); color: #fff;
	padding: 190px 0 80px;
}
.nm-page-hero__media { position: absolute; inset: 0; }
.nm-page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0.35; }
.nm-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,21,46,0.55), rgba(6,21,46,0.95)); }
.nm-page-hero .container { position: relative; z-index: 1; }
.nm-page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.12; }
.nm-page-hero p { color: rgba(255,255,255,0.75); max-width: 620px; margin-top: 16px; font-size: 17px; }
.nm-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.nm .nm-crumbs a { color: var(--gold-light); }
.nm .nm-crumbs a:hover { text-decoration: underline; }

/* ---- Inner page body ---- */
.nm-page { padding: 70px 0 110px; background: var(--ivory); }
.nm-page__grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.nm-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.nm-side__nav { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px; border: 1px solid var(--border-soft); }
.nm-side__head { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); padding: 14px 14px 8px; }
.nm .nm-side__nav a {
	display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px;
	font-weight: 600; font-size: 14.5px; color: var(--navy); transition: var(--transition);
}
.nm .nm-side__nav a::after { content: "\203A"; font-size: 18px; color: var(--muted); transition: var(--transition); }
.nm .nm-side__nav a:hover { background: var(--ivory); }
.nm .nm-side__nav a:hover::after { transform: translateX(3px); color: var(--royal); }
.nm .nm-side__nav a.is-active { background: var(--navy); color: #fff; }
.nm .nm-side__nav a.is-active::after { color: var(--gold-light); }
.nm-side__cta { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; }
.nm-side__cta::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; background: radial-gradient(circle, rgba(217,164,65,0.35), transparent 70%); }
.nm-side__cta h3 { color: #fff; font-size: 20px; position: relative; }
.nm-side__cta p { color: rgba(255,255,255,0.7); font-size: 13.5px; margin: 8px 0 18px; line-height: 1.7; position: relative; }
.nm-side__cta .nm-btn { position: relative; }
.nm-side__contact { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.75); position: relative; line-height: 1.9; }
.nm .nm-side__contact a:hover { color: var(--gold-light); }

.nm-article { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft); padding: 48px 52px; }
.nm-article + .nm-article { margin-top: 26px; }
.nm-article h2 { font-size: 28px; margin-bottom: 18px; }
.nm-article__body { color: #344054; font-size: 16px; line-height: 1.85; }
.nm-article__body p { margin: 0 0 16px; }
.nm-article__body h1, .nm-article__body h2, .nm-article__body h3 { margin: 28px 0 12px; }
.nm-article__body > :first-child { margin-top: 0; }
.nm-article__body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.nm-article__body ul li { margin-bottom: 6px; }
.nm-article__body img { border-radius: var(--radius-sm); margin: 12px 0; }
.nm-article__body table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14.5px; }
.nm-article__body td, .nm-article__body th { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.nm-article__body a { color: var(--royal); text-decoration: underline; }
.nm-empty { text-align: center; padding: 60px 30px; color: var(--muted); }
.nm-empty h2 { margin-bottom: 10px; }

/* Keep anchored sections clear of the fixed header */
.nm section[id] { scroll-margin-top: 70px; }

.nm-announce__short { display: none; }
@media (max-width: 760px) {
	.nm-announce__long { display: none; }
	.nm-announce__short { display: inline; }
	.nm-announce .container { white-space: nowrap; font-size: 12.5px; }
}

/* News list page */
.nm-news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.nm-news-card h3 a:hover { color: var(--royal); }

@media (max-width: 980px) {
	.nm-page__grid { grid-template-columns: 1fr; }
	.nm-side { position: static; order: 2; }
	.nm-article { padding: 32px 26px; }
	.nm-page-hero { padding: 150px 0 60px; }
}
@media (max-width: 700px) {
	.nm-news-list { grid-template-columns: 1fr; }
	.nm-brand span { font-size: 17px; }
	.nm .nm-brand img { height: 46px; }
	.nm-header { padding: 16px 0; }
}
