/* ═════════════════════════════════════════════════════════════════════════
   AOS GLOBAL CHROME
   Single source of truth for the site-wide chrome rendered by template-parts:
   - parts/header.html  → .util (utility strip) + nav.nav (primary nav)
   - parts/footer.html  → .foot (rich footer, additionally styled by aos-footer.css)

   Loaded on every front-end request. Family stylesheets (aos-home, aos-bsn,
   aos-admissions) MUST NOT redefine .util / .nav rules — the chrome lives here.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── Skip-to-main-content link ─────────────────────────────────────
   Bypass-blocks shortcut for keyboard users (WCAG 2.4.1). Lives at
   the very top of every page (rendered by parts/alert.html, which is
   the first template-part on every template). Visually hidden until
   focused; jumps to <main id="main"> when activated. */
.aos-skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 9999;
	padding: 12px 18px;
	background: hsl(var(--aos-yellow));
	color: hsl(var(--aos-navy-deep));
	font-family: var(--body);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border-radius: 0 0 8px 0;
	box-shadow: 0 2px 12px hsl(var(--fg) / 0.18);
	transition: top 180ms var(--ease-out);
}
.aos-skip-link:focus,
.aos-skip-link:focus-visible {
	top: 0;
	outline: 2px solid hsl(var(--aos-navy-deep));
	outline-offset: -2px;
}

/* ── Site blocks layout ─────────────────────────────────────────────
   FSE inserts a blockGap between every direct child of .wp-site-blocks
   (alert / header / main / footer). For chrome that's meant to butt
   directly together (and against the hero), suppress the gap. The
   header wrapper is the sticky element — pinning .nav alone fails
   because its parent (the FSE template-part wrapper) is only as tall
   as the chrome itself. */
.wp-site-blocks > aside.wp-block-template-part,
.wp-site-blocks > header.wp-block-template-part { margin-bottom: 0; }
.wp-site-blocks > aside.wp-block-template-part + header.wp-block-template-part,
.wp-site-blocks > header.wp-block-template-part + main,
.wp-site-blocks > header.wp-block-template-part + .wp-block-post-content,
.wp-site-blocks > main + footer.wp-block-template-part,
.wp-site-blocks > .wp-block-post-content + footer.wp-block-template-part { margin-top: 0; }

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

/* ── Alert banner (global section: area=alert) ─────────────────────
   Site-wide notice rendered above the header. Dismissible per session. */
.alert {
	background: hsl(var(--aos-yellow));
	color: hsl(var(--aos-navy-deep));
	border-bottom: 1px solid hsl(var(--fg) / 0.12);
}
.alert[hidden] { display: none; }
.alert__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 10px var(--gutter);
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13.5px;
	letter-spacing: -0.005em;
}
.alert__eyebrow {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: hsl(var(--aos-navy));
	white-space: nowrap;
}
.alert__msg { margin: 0; flex: 1; }
.alert__msg a {
	color: hsl(var(--aos-navy-deep));
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.alert__msg a:hover { color: hsl(var(--aos-navy)); }
.alert__dismiss {
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: hsl(var(--aos-navy-deep));
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 160ms var(--ease-out);
}
.alert__dismiss:hover { background: hsl(var(--fg) / 0.08); }
.alert__dismiss svg { width: 14px; height: 14px; }

@media (max-width: 700px) {
	.alert__inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
	.alert__eyebrow { font-size: 10px; }
}

/* ── Utility strip ─────────────────────────────────────────────────── */
.util {
	background: hsl(var(--aos-navy-deep));
	color: hsl(0 0% 100% / 0.78);
	font-size: 12.5px;
	letter-spacing: 0.01em;
}
.util__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 10px var(--gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.util__contact { display: flex; gap: 28px; }
.util__contact span { display: inline-flex; align-items: center; gap: 8px; }
.util__contact svg { width: 13px; height: 13px; opacity: 0.6; }
.util__links { display: flex; gap: 22px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.util__links a { text-decoration: none; color: inherit; }
.util__links a:hover,
.util__links a:focus-visible { color: hsl(var(--aos-yellow)); text-decoration: none; }

/* ── Utility strip — collapse on scroll ────────────────────────────
   The whole header wrapper is sticky. While at rest the util strip
   shows above the nav. On scroll, body gets .is-nav-scrolled and the
   strip collapses to zero height so only the navy nav remains pinned. */
.util {
	overflow: hidden;
	transition: max-height 280ms var(--ease-out), padding 280ms var(--ease-out), opacity 200ms var(--ease-out);
	max-height: 80px;
}
body.is-nav-scrolled .util {
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}

/* ── Primary nav ─────────────────────────────────────────────────────
   At rest the nav sits opaque (matches hero navy). Once the user
   scrolls, body gets .is-nav-scrolled and the nav drops to 82% navy
   with a backdrop blur so content beneath shows through softly. */
.nav {
	background: hsl(var(--aos-navy));
	color: hsl(var(--paper));
	border-bottom: 1px solid hsl(var(--aos-navy-deep));
	transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out), backdrop-filter 240ms var(--ease-out);
}
body.is-nav-scrolled .nav {
	background: hsl(var(--aos-navy) / 0.82);
	border-bottom-color: hsl(0 0% 100% / 0.06);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	box-shadow: 0 8px 24px hsl(var(--fg) / 0.18);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body.is-nav-scrolled .nav { background: hsl(var(--aos-navy) / 0.96); }
}
.nav__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 22px var(--gutter);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 40px;
}
.nav__logo-link { display: inline-block; text-decoration: none; }
.nav__logo { height: 54px; width: auto; display: block; }
.nav__list {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
	font-size: 14px;
	font-weight: 500;
}
.nav__list li { margin: 0; padding: 0; }
.nav__list a {
	color: hsl(0 0% 100% / 0.88);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	padding: 8px 0;
	text-decoration: none;
}
.nav__list a:hover,
.nav__list a:focus-visible { text-decoration: none; }
/* Suppress the browser's default white focus ring on mouse-click. The
   :focus-visible rule below puts a brand outline back for keyboard users. */
.nav__list a:focus { outline: none; }
.nav__list a:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 6px;
	border-radius: 2px;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: hsl(var(--aos-yellow));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 280ms var(--ease-out);
}
.nav__list a:hover { color: hsl(var(--paper)); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: hsl(var(--paper)); }
.nav__list svg { width: 10px; height: 10px; opacity: 0.6; }

.nav__actions { display: flex; gap: 14px; align-items: center; }
.nav__search {
	width: 38px;
	height: 38px;
	border: 0;
	padding: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: hsl(0 0% 100% / 0.08);
	color: hsl(var(--paper));
	text-decoration: none;
	cursor: pointer;
	transition: background 200ms var(--ease-out);
}
.nav__search:hover { background: hsl(0 0% 100% / 0.14); }
.nav__search:focus-visible { outline: 2px solid hsl(var(--aos-yellow)); outline-offset: 2px; }
.nav__search[aria-expanded="true"] { background: hsl(0 0% 100% / 0.18); }
.nav__search svg { width: 15px; height: 15px; }

/* ── Inline nav search ────────────────────────────────────────────────
   Click the nav magnifier → the nav links + Apply Now fade out and the
   search input slides in to fill the same row. The magnifier stays put
   and acts as the form submit while open; a close × slides in beside
   it. Choreography lives in assets/js/aos-theme.js (initInlineSearch).

   Tokens only — no hardcoded color outside :root. */

/* The middle column is now a stacking context so the nav__list and the
   inline search form can occupy the same grid cell and crossfade. */
.nav__center {
	position: relative;
	display: grid;
	align-items: center;
	min-height: 38px; /* matches .nav__search height so layout doesn't jitter */
}
.nav__center > * { grid-area: 1 / 1; }

/* Nav links — fade up + out while search is open. */
.nav__list {
	transition:
		opacity 200ms var(--ease-out),
		transform 220ms var(--ease-out),
		visibility 0s linear 0s;
}
.nav.is-search-open .nav__list {
	opacity: 0;
	transform: translateY(-6px);
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 180ms var(--ease-out),
		transform 220ms var(--ease-out),
		visibility 0s linear 180ms;
}

/* Inline search form — slides in from the right while crossfading.
   Closed state hides it from the a11y tree via aria-hidden + tabindex
   on the input; visibility:hidden ensures it isn't clickable through
   the nav links underneath when collapsed. */
.nav__search-form {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(14px);
	transition:
		opacity 220ms var(--ease-out) 60ms,
		transform 280ms var(--ease-out) 60ms,
		visibility 0s linear 280ms;
}
.nav.is-search-open .nav__search-form {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	transition:
		opacity 260ms var(--ease-out) 80ms,
		transform 320ms var(--ease-out) 80ms,
		visibility 0s linear 0s;
}
.nav__search-label {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.nav__search-input {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid hsl(0 0% 100% / 0.18);
	color: hsl(var(--paper));
	font-family: var(--display);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 300;
	line-height: 1.4;
	padding: 6px 2px;
	outline: 0;
	caret-color: hsl(var(--aos-yellow));
	transition: border-color 180ms var(--ease-out);
	font-variation-settings: "opsz" 40;
}
.nav__search-input::placeholder {
	color: hsl(0 0% 100% / 0.42);
	font-style: italic;
	font-weight: 300;
}
.nav__search-input:focus { border-bottom-color: hsl(var(--aos-yellow)); }
.nav__search-input.is-shake {
	animation: aosNavSearchShake 360ms var(--ease-out);
	border-bottom-color: hsl(var(--aos-yellow));
}
@keyframes aosNavSearchShake {
	0%, 100% { transform: translateX(0); }
	20%      { transform: translateX(-4px); }
	40%      { transform: translateX(4px); }
	60%      { transform: translateX(-2px); }
	80%      { transform: translateX(2px); }
}

/* Magnifier rotates to a soft yellow ring while open — same button,
   same place, but a subtle visual shift confirms the state change. */
.nav__search {
	transition:
		background 220ms var(--ease-out),
		color 220ms var(--ease-out),
		box-shadow 220ms var(--ease-out),
		transform 220ms var(--ease-out);
}
.nav.is-search-open .nav__search {
	background: hsl(var(--aos-yellow));
	color: hsl(var(--aos-navy-deep));
	box-shadow: 0 0 0 4px hsl(var(--aos-yellow) / 0.18);
}

/* Close button — sits next to the magnifier; fades + scales in. */
.nav__search-close {
	width: 38px;
	height: 38px;
	border: 0;
	padding: 0;
	border-radius: 50%;
	background: hsl(0 0% 100% / 0.06);
	color: hsl(var(--paper));
	display: grid;
	place-items: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.7);
	transition:
		opacity 200ms var(--ease-out),
		transform 220ms var(--ease-out),
		background 180ms var(--ease-out),
		visibility 0s linear 220ms;
}
.nav.is-search-open .nav__search-close {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition:
		opacity 220ms var(--ease-out) 100ms,
		transform 280ms var(--ease-out) 100ms,
		background 180ms var(--ease-out),
		visibility 0s linear 0s;
}
.nav__search-close:hover { background: hsl(0 0% 100% / 0.14); }
.nav__search-close:focus-visible { outline: 2px solid hsl(var(--aos-yellow)); outline-offset: 2px; }
.nav__search-close svg { width: 15px; height: 15px; }

/* Apply Now fades + slightly slides out so the search row reads cleanly. */
.nav__cta {
	transition:
		opacity 200ms var(--ease-out),
		transform 220ms var(--ease-out),
		visibility 0s linear 0s;
}
.nav.is-search-open .nav__cta {
	opacity: 0;
	transform: translateX(8px) scale(0.96);
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 180ms var(--ease-out),
		transform 220ms var(--ease-out),
		visibility 0s linear 180ms;
}

/* Reduce-motion: skip transforms, keep visibility/opacity instant. */
@media (prefers-reduced-motion: reduce) {
	.nav__list,
	.nav__search-form,
	.nav__search-close,
	.nav__cta,
	.nav__search,
	.nav__search-input {
		transition-duration: 1ms !important;
		animation-duration: 1ms !important;
	}
	.nav__search-form { transform: none; }
	.nav__search-close { transform: none; }
}

.nav__cta { /* The "Apply Now" pill — uses the global .btn primitives below. */ }

.nav__burger {
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: hsl(var(--paper));
	border-radius: 8px;
	cursor: pointer;
}

/* ── Search empty state ──────────────────────────────────────────────
   Renders below the AI answer when the WP query loop returns zero
   posts. Markup lives in templates/search.html (wp:query-no-results
   block). Tokens only — no hardcoded color outside :root. */
.aos-search-empty {
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid hsl(var(--aos-navy) / 0.08);
	border-radius: var(--r-md, 14px);
	background: hsl(var(--aos-yellow-soft, 191 72% 94%) / 0.55);
}
.aos-search-empty__title {
	font-family: var(--display);
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	font-weight: 350;
	line-height: 1.15;
	letter-spacing: -0.018em;
	color: hsl(var(--aos-navy));
	margin: 0 0 12px;
	font-variation-settings: "opsz" 60;
}
.aos-search-empty__title em {
	font-style: italic;
	font-weight: 300;
	color: hsl(var(--aos-blue, 209 83% 47%));
}
.aos-search-empty__lead {
	font-family: var(--body, system-ui, sans-serif);
	font-size: 16px;
	line-height: 1.6;
	color: hsl(var(--fg-muted, 212 14% 35%));
	max-width: 56ch;
	margin: 0 0 20px;
}
.aos-search-empty__chips {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.aos-search-empty__chips li { margin: 0; padding: 0; }
.aos-search-empty__chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: hsl(0 0% 100%);
	color: hsl(var(--aos-navy));
	border: 1px solid hsl(var(--aos-navy) / 0.16);
	border-radius: 999px;
	font-family: var(--body, system-ui, sans-serif);
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition:
		background 180ms var(--ease-out),
		border-color 180ms var(--ease-out),
		transform 180ms var(--ease-out),
		box-shadow 180ms var(--ease-out);
}
.aos-search-empty__chips a::after {
	content: "→";
	font-size: 14px;
	color: hsl(var(--aos-navy) / 0.5);
	transition: transform 200ms var(--ease-out), color 180ms var(--ease-out);
}
.aos-search-empty__chips a:hover {
	background: hsl(var(--aos-navy));
	color: hsl(var(--paper));
	border-color: hsl(var(--aos-navy));
	transform: translateY(-1px);
	box-shadow: 0 6px 16px hsl(var(--aos-navy) / 0.15);
}
.aos-search-empty__chips a:hover::after {
	color: hsl(var(--aos-yellow));
	transform: translateX(2px);
}
.aos-search-empty__chips a:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 3px;
}
.aos-search-empty__hint {
	font-family: var(--display);
	font-size: 14.5px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.5;
	color: hsl(var(--fg-subtle, 212 12% 48%));
	max-width: 56ch;
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid hsl(var(--aos-navy) / 0.08);
}

/* ── 404 (templates/404.html) — reuses .aos-search-empty tokens ─────── */
.aos-404__card {
	max-width: 720px;
	margin-inline: auto;
}
.aos-404__eyebrow {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: hsl(var(--aos-blue));
	margin: 0 0 16px;
}

/* ── Mega menu (Academics) ─────────────────────────────────────────────
   Editorial drop-panel pinned beneath .nav. Light cream surface so the
   content area follows the global "no dark content" rule. The trigger
   is a <button> inside .nav__list (hover-intent or click). The panel
   sits as a sibling to .nav__inner and is positioned absolutely against
   the .nav so it stretches full-bleed at the same horizontal extent as
   the navy bar. JS toggles .is-mega-open on .nav (and individual
   [data-aos-mega-item].is-open on the trigger li) so the chevron and
   the panel can crossfade in concert.

   Tokens only — no hardcoded color outside :root. */

/* Trigger button — match the look of the surrounding <a> nav links so
   the only visual difference on hover is the chevron rotation. */
.nav__list-trigger {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 8px 0;
	margin: 0;
	font: inherit;
	font-weight: 500;
	color: hsl(0 0% 100% / 0.88);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	cursor: pointer;
	letter-spacing: inherit;
}
.nav__list-trigger:focus { outline: none; }
.nav__list-trigger:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 6px;
	border-radius: 2px;
}
.nav__list-trigger::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: hsl(var(--aos-yellow));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 280ms var(--ease-out);
}
.nav__list-trigger:hover { color: hsl(var(--paper)); }
.nav__list-trigger:hover::after,
.nav__item--mega.is-open .nav__list-trigger::after { transform: scaleX(1); }
.nav__item--mega.is-open .nav__list-trigger { color: hsl(var(--paper)); }

/* Chevron — rotates 180° when its panel is open. Inherits the small
   nav__list svg sizing rules above. */
.nav__chev {
	transition: transform 240ms var(--ease-out);
	transform-origin: 50% 50%;
}
.nav__item--mega.is-open .nav__chev { transform: rotate(180deg); opacity: 0.9; }

/* Panel — sits directly under the navy nav, full-bleed across .nav.
   Hidden via opacity + visibility so the closing transition can finish
   before the element becomes inert. JS removes the [hidden] attr on
   first interaction so the transition fires. */
.megamenu {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: hsl(var(--bg));
	color: hsl(var(--fg));
	border-top: 1px solid hsl(var(--aos-navy-deep) / 0.18);
	border-bottom: 1px solid hsl(var(--aos-navy) / 0.08);
	box-shadow:
		0 30px 60px -28px hsl(var(--aos-navy-deep) / 0.45),
		0 12px 24px -12px hsl(var(--aos-navy-deep) / 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;
	transition:
		opacity 240ms var(--ease-out),
		transform 280ms var(--ease-out),
		visibility 0s linear 280ms;
	z-index: 60;
}
.megamenu[hidden] { display: none; } /* fallback for no-JS — JS removes the attr on first open */
.nav.is-mega-open .megamenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition:
		opacity 260ms var(--ease-out),
		transform 320ms var(--ease-out),
		visibility 0s linear 0s;
}

/* While mega is open, suppress the inline-search affordance — the
   user just chose to read, not search. (Search still works; it just
   doesn't co-exist with an open mega panel.) */
.nav.is-mega-open.is-search-open .megamenu { /* JS prevents this state, but defend */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.megamenu__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 40px var(--gutter) 32px;
	display: grid;
	grid-template-columns: 1.1fr 0.85fr 1.25fr 1.1fr;
	gap: 48px;
	align-items: stretch; /* columns share row height — no staircase bottoms */
}

/* Each column is a flex container so its content (list, cards grid, or
   feature card) can stretch to fill the column's full height. */
.megamenu__col {
	display: flex;
	flex-direction: column;
	min-width: 0; /* prevents grid items from blowing out on long content */
}

/* Stagger fade-in on open — columns flow in 40ms apart for an editorial
   reveal that doesn't feel slow. The closing animation is a clean fade
   without stagger so the panel collapses crisply. */
.megamenu__col {
	opacity: 0;
	transform: translateY(6px);
	transition:
		opacity 240ms var(--ease-out),
		transform 280ms var(--ease-out);
}
.nav.is-mega-open .megamenu__col { opacity: 1; transform: translateY(0); }
.nav.is-mega-open .megamenu__col:nth-child(1) { transition-delay: 60ms; }
.nav.is-mega-open .megamenu__col:nth-child(2) { transition-delay: 100ms; }
.nav.is-mega-open .megamenu__col:nth-child(3) { transition-delay: 140ms; }
.nav.is-mega-open .megamenu__col:nth-child(4) { transition-delay: 180ms; }

.megamenu__eyebrow {
	margin: 0 0 14px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: hsl(var(--aos-navy));
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.megamenu__eyebrow::after {
	content: "";
	flex: 1;
	height: 1px;
	background: hsl(var(--aos-navy) / 0.16);
	min-width: 24px;
}

.megamenu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.megamenu__list li { margin: 0; padding: 0; }
.megamenu__list a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 30px 10px 12px; /* room on the right for the arrow */
	margin: 0 -12px; /* pull background/hover surface to column edge */
	color: hsl(var(--fg));
	text-decoration: none;
	border-radius: var(--r-sm, 6px);
	position: relative;
	transition:
		color 180ms var(--ease-out),
		background 180ms var(--ease-out);
}
/* Right-side arrow that fades in + slides on hover. No reflow on parent. */
.megamenu__list a::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translate(-4px, -50%);
	font-size: 14px;
	color: hsl(var(--aos-navy) / 0.45);
	opacity: 0;
	transition:
		opacity 200ms var(--ease-out),
		transform 240ms var(--ease-out),
		color 200ms var(--ease-out);
}
.megamenu__list a:hover,
.megamenu__list a:focus-visible {
	color: hsl(var(--aos-navy));
	text-decoration: none;
	background: hsl(var(--aos-yellow) / 0.12);
}
.megamenu__list a:hover::after,
.megamenu__list a:focus-visible::after {
	opacity: 1;
	transform: translate(0, -50%);
	color: hsl(var(--aos-navy));
}
.megamenu__list a:focus { outline: none; }
.megamenu__list a:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 2px;
}
.megamenu__list--compact a { padding: 10px 30px 10px 12px; flex-direction: row; align-items: center; gap: 10px; }

.megamenu__link-label {
	font-family: var(--body);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: hsl(var(--aos-navy-deep));
}
.megamenu__link-meta {
	font-family: var(--display);
	font-style: italic;
	font-weight: 300;
	font-size: 13px;
	line-height: 1.45;
	color: hsl(var(--fg-muted));
}
.megamenu__list--compact a {
	font-family: var(--body);
	font-size: 14.5px;
	font-weight: 500;
	color: hsl(var(--aos-navy-deep));
}

.megamenu__pill {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--aos-blue));
	background: hsl(var(--aos-blue) / 0.10);
	padding: 3px 8px;
	border-radius: 999px;
}
/* Suppress the hover arrow on links that already carry a pill — the pill
   is the affordance there. :has() has full evergreen support; on the
   one or two browsers without it the arrow simply overlaps the pill,
   which is a soft-fail, not a layout break. */
.megamenu__list a:has(.megamenu__pill)::after { display: none; }
.megamenu__list a:has(.megamenu__pill) { padding-right: 12px; }

/* Popular programs — small editorial cards. Equal-height rows so a
   card with a 1-line meta line is the same height as one with 2 lines. */
.megamenu__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 1fr; /* every row stretches to the tallest card in it */
	gap: 10px;
	flex: 1; /* fill the column so col 3 matches col 4's stretched height */
	align-content: start;
}
.megamenu__cards li { margin: 0; padding: 0; display: flex; }
.megamenu__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* pin meta to bottom when card stretches */
	gap: 6px;
	padding: 14px 14px 13px;
	width: 100%;
	background: hsl(var(--bg-card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--r, 12px);
	color: hsl(var(--fg));
	text-decoration: none;
	transition:
		transform 220ms var(--ease-out),
		border-color 220ms var(--ease-out),
		box-shadow 220ms var(--ease-out),
		background 220ms var(--ease-out);
	position: relative;
}
.megamenu__card::after {
	content: "→";
	position: absolute;
	top: 14px;
	right: 14px;
	font-size: 14px;
	color: hsl(var(--aos-navy) / 0.4);
	transition: transform 240ms var(--ease-out), color 220ms var(--ease-out);
}
.megamenu__card:hover {
	transform: translateY(-2px);
	border-color: hsl(var(--aos-navy) / 0.22);
	box-shadow: var(--shadow-md);
	background: hsl(var(--paper));
}
.megamenu__card:hover::after {
	transform: translateX(3px);
	color: hsl(var(--aos-navy));
}
.megamenu__card:focus { outline: none; }
.megamenu__card:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 3px;
}
.megamenu__card-title {
	font-family: var(--body);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: hsl(var(--aos-navy-deep));
	padding-right: 18px;
}
.megamenu__card-meta {
	font-family: var(--display);
	font-style: italic;
	font-weight: 300;
	font-size: 12.5px;
	line-height: 1.4;
	color: hsl(var(--fg-muted));
}

/* Per-column footer link. Pinned to the bottom of each column via
   margin-top: auto so all column floors align under the equal-height
   row. Acts as both a destination and a closure for the list. */
.megamenu__col-foot {
	margin-top: auto;
	padding-top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: hsl(var(--aos-navy));
	text-decoration: none;
	border-top: 1px solid hsl(var(--aos-navy) / 0.10);
	transition: color 180ms var(--ease-out);
}
.megamenu__col-foot svg {
	width: 13px;
	height: 13px;
	transition: transform 280ms var(--ease-out);
}
.megamenu__col-foot:hover { color: hsl(var(--aos-navy-deep)); text-decoration: none; }
.megamenu__col-foot:hover svg { transform: translateX(3px); }
.megamenu__col-foot:focus { outline: none; }
.megamenu__col-foot:focus-visible { outline: 2px solid hsl(var(--aos-yellow)); outline-offset: 3px; }

/* Feature spotlight — editorial dark navy card with serif headline.
   Dark navy is *chrome accent*, not page content, so it's allowed. */
.megamenu__feature {
	flex: 1; /* fill the column so col 4 matches col 3's stretched height */
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 26px 24px;
	border-radius: var(--r-lg, 20px);
	background:
		radial-gradient(120% 100% at 0% 0%, hsl(var(--aos-navy)) 0%, hsl(var(--aos-navy-deep)) 70%);
	color: hsl(0 0% 100% / 0.92);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition:
		transform 240ms var(--ease-out),
		box-shadow 240ms var(--ease-out);
	box-shadow:
		inset 0 1px 0 hsl(0 0% 100% / 0.05),
		0 12px 28px -16px hsl(var(--aos-navy-deep) / 0.6);
}
.megamenu__feature::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto auto;
	width: 220px;
	height: 220px;
	background: radial-gradient(closest-side, hsl(var(--aos-yellow) / 0.18), transparent 70%);
	pointer-events: none;
	transition: transform 600ms var(--ease-out), opacity 400ms var(--ease-out);
}
.megamenu__feature:hover {
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 hsl(0 0% 100% / 0.06),
		0 18px 36px -18px hsl(var(--aos-navy-deep) / 0.7);
}
.megamenu__feature:hover::before { transform: translate(-12px, 12px) scale(1.05); }
.megamenu__feature:focus { outline: none; }
.megamenu__feature:focus-visible {
	outline: 2px solid hsl(var(--aos-yellow));
	outline-offset: 3px;
}

.megamenu__feature-kicker {
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--aos-yellow));
}
.megamenu__feature-title {
	font-family: var(--display);
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 350;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: hsl(var(--paper));
	font-variation-settings: "opsz" 60;
}
.megamenu__feature-title em {
	font-style: italic;
	font-weight: 300;
	color: hsl(var(--aos-yellow));
}
.megamenu__feature-body {
	font-family: var(--body);
	font-size: 13.5px;
	line-height: 1.55;
	color: hsl(0 0% 100% / 0.78);
	max-width: 36ch;
}
.megamenu__feature-cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.005em;
	color: hsl(var(--aos-yellow));
	padding-top: 4px;
}
.megamenu__feature-cta svg { width: 14px; height: 14px; transition: transform 280ms var(--ease-out); }
.megamenu__feature:hover .megamenu__feature-cta svg { transform: translateX(3px); }

/* Bottom rail — utility band tying the menu to enrollment actions. */
.megamenu__rail {
	background: hsl(var(--bg-alt));
	border-top: 1px solid hsl(var(--aos-navy) / 0.06);
}
.megamenu__rail-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	gap: 8px 28px;
	flex-wrap: wrap;
}
.megamenu__rail-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 500;
	color: hsl(var(--fg-muted));
	text-decoration: none;
	padding: 6px 2px;
	border-radius: var(--r-sm, 6px);
	transition: color 180ms var(--ease-out);
}
.megamenu__rail-link svg { width: 14px; height: 14px; color: hsl(var(--aos-navy) / 0.55); transition: color 180ms var(--ease-out); }
.megamenu__rail-link:hover { color: hsl(var(--aos-navy)); text-decoration: none; }
.megamenu__rail-link:hover svg { color: hsl(var(--aos-navy)); }
.megamenu__rail-link:focus { outline: none; }
.megamenu__rail-link:focus-visible { outline: 2px solid hsl(var(--aos-yellow)); outline-offset: 3px; }

.megamenu__rail-spacer { flex: 1; }

.megamenu__rail-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	color: hsl(var(--aos-navy-deep));
	background: hsl(var(--aos-yellow));
	text-decoration: none;
	box-shadow: 0 1px 2px hsl(var(--aos-navy-deep) / 0.12), 0 4px 10px hsl(var(--aos-yellow) / 0.32);
	transition: transform 200ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out);
}
.megamenu__rail-cta:hover {
	background: hsl(var(--aos-yellow-deep));
	transform: translateY(-1px);
	text-decoration: none;
}
.megamenu__rail-cta svg { width: 13px; height: 13px; transition: transform 280ms var(--ease-out); }
.megamenu__rail-cta:hover svg { transform: translateX(3px); }
.megamenu__rail-cta:focus { outline: none; }
.megamenu__rail-cta:focus-visible { outline: 2px solid hsl(var(--aos-navy-deep)); outline-offset: 3px; }

/* Reduce-motion: collapse animations but keep visibility transitions. */
@media (prefers-reduced-motion: reduce) {
	.megamenu,
	.megamenu__col,
	.megamenu__card,
	.megamenu__feature,
	.megamenu__feature::before,
	.nav__chev {
		transition-duration: 1ms !important;
		animation-duration: 1ms !important;
		transition-delay: 0ms !important;
	}
	.megamenu,
	.megamenu__col { transform: none; }
}

/* Mid breakpoint — collapse the 4-column grid into a 2×2. Each cell
   stretches to its row height so the four cells stay rectangular and
   the column-foot links remain aligned across the row. */
@media (max-width: 1180px) {
	.megamenu__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 40px;
		padding: 32px var(--gutter) 28px;
	}
	.megamenu__cards { grid-template-columns: 1fr 1fr; }
	/* The stagger order rotates: schools/levels on row 1, popular/feature
	   on row 2. Re-time so the second row reveals after the first. */
	.nav.is-mega-open .megamenu__col:nth-child(3) { transition-delay: 140ms; }
	.nav.is-mega-open .megamenu__col:nth-child(4) { transition-delay: 180ms; }
}

/* ── Mobile breakpoint ─────────────────────────────────────────────── */
@media (max-width: 900px) {
	.util__inner { gap: 12px; }
	.util__contact { flex-wrap: wrap; gap: 16px; }
	.util__links { display: none; }
	.nav__inner { grid-template-columns: auto auto; gap: 16px; }
	/* At mobile widths the middle column is normally empty (links hide).
	   When the search opens we widen it so the input has somewhere to
	   land; the transition on grid-template-columns is non-animatable
	   in most engines but the swap is fast enough to feel intentional. */
	.nav.is-search-open .nav__inner { grid-template-columns: auto 1fr auto; }
	.nav__center { display: none; }
	.nav.is-search-open .nav__center { display: grid; }
	.nav__list { display: none; }
	.nav__actions { gap: 8px; }
	/* .nav__search-close keeps display:grid while search is closed (only
	   opacity/visibility toggle), so it still occupies ~38px of flex width
	   and pushes the burger past the viewport on narrow screens. It is only
	   needed while search is open, so drop it from the flow when closed. */
	.nav:not(.is-search-open) .nav__search-close { display: none; }
	.nav__search { width: 36px; height: 36px; }
	.nav__cta { padding: 12px 18px; font-size: 13.5px; }
	/* Mobile burger button is hidden until the mobile drawer ships.
	   The button markup remains in parts/header.html so the drawer
	   work can simply re-enable display:grid here when ready. Until
	   then, shipping a button that does nothing is worse than no
	   button — the .nav__cta (Apply Now) remains as the primary
	   mobile action. See lab/2026-05-05 template-deep-audit.md #1.
	   Higher-specificity selector + !important is required to defeat
	   family CSS @media (max-width: 720px) rules that re-show the
	   burger with display:grid !important. Source order has family
	   CSS loading after chrome, so chrome must out-specify it. */
	.nav .nav__burger,
	.nav__inner .nav__burger { display: inline-flex !important; align-items: center; justify-content: center; }
	/* Mega menu is desktop-only until the mobile drawer ships.
	   The trigger stays in the DOM so search-open layout math is
	   unchanged, but it's hidden along with the rest of nav__list. */
	.megamenu { display: none !important; }
}

/* ── Buttons (used by .nav__cta and elsewhere across all pages) ────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 100px;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.005em;
	transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out);
	white-space: nowrap;
	text-decoration: none;
}
.btn:hover,
.btn:focus-visible { text-decoration: none; }
.btn svg { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
/* ── Premium buttons — gradient body, inset top highlight (the glossy tell),
   layered depth shadow, tactile press. Fully tokenized. ── */
.btn { position: relative; }
.btn:active { transform: translateY(0) scale(0.985); }
/* Primary follows the site-wide .aos-btn system: pill + teal arrow chip.
   Base = navy pill for light surfaces; the nav + mobile drawer sit on
   dark chrome, so they wear the hairline-stroke ghost variant (thin
   light border, teal chip carries the color). */
.btn--primary {
	background: hsl(var(--aos-navy));
	border: 1px solid hsl(var(--aos-navy-deep) / 0.9);
	color: hsl(var(--paper));
	padding: 5px 5px 5px 20px;
	gap: 10px;
	box-shadow:
		inset 0 1px 0 hsl(0 0% 100% / 0.09),
		0 1px 2px hsl(var(--aos-navy-deep) / 0.18),
		0 12px 32px -8px hsl(var(--aos-navy-deep) / 0.35);
}
.btn--primary svg {
	box-sizing: content-box;
	width: 13px;
	height: 13px;
	padding: 7px;
	border-radius: 999px;
	background: hsl(var(--aos-yellow));
	color: hsl(var(--aos-navy-deep));
}
.btn--primary:hover {
	background: hsl(var(--aos-navy-soft));
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 hsl(0 0% 100% / 0.12),
		0 2px 4px hsl(var(--aos-navy-deep) / 0.2),
		0 18px 40px -10px hsl(var(--aos-navy-deep) / 0.42);
}
.btn--primary:active { transform: translateY(0) scale(0.985); }
.nav__cta.btn--primary,
.nav__mobile-cta.btn--primary {
	background: transparent;
	border-color: hsl(var(--bg) / 0.28);
	color: hsl(var(--bg));
	box-shadow: none;
}
.nav__cta.btn--primary:hover,
.nav__mobile-cta.btn--primary:hover {
	background: hsl(var(--aos-yellow) / 0.08);
	border-color: hsl(var(--aos-yellow) / 0.65);
	color: hsl(var(--bg));
	box-shadow: 0 12px 32px -12px hsl(var(--aos-yellow) / 0.25);
}
.btn--secondary {
	background: linear-gradient(180deg, hsl(var(--bg-card)) 0%, hsl(var(--bg-alt)) 100%);
	color: hsl(var(--aos-navy));
	border: 1px solid hsl(var(--border-strong));
	box-shadow: 0 1px 2px hsl(var(--aos-navy) / 0.06), inset 0 1px 0 hsl(var(--paper) / 0.9);
}
.btn--secondary:hover { background: hsl(var(--aos-navy)); color: hsl(var(--paper)); border-color: hsl(var(--aos-navy)); transform: translateY(-2px); box-shadow: 0 8px 20px hsl(var(--aos-navy) / 0.22); }
.btn--ghost {
	background: transparent;
	color: hsl(var(--aos-navy));
	border: 1px solid hsl(var(--aos-navy) / 0.2);
}
.btn--ghost:hover { border-color: hsl(var(--aos-navy)); background: hsl(var(--aos-navy) / 0.04); }
.btn--dark {
	background: linear-gradient(180deg, hsl(var(--aos-navy-soft)) 0%, hsl(var(--aos-navy-deep)) 100%);
	color: hsl(var(--paper));
	box-shadow:
		0 1px 2px hsl(var(--aos-navy-deep) / 0.4),
		0 6px 16px hsl(var(--aos-navy-deep) / 0.3),
		inset 0 1px 0 hsl(var(--paper) / 0.12);
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 3px 6px hsl(var(--aos-navy-deep) / 0.44), 0 14px 30px hsl(var(--aos-navy-deep) / 0.36), inset 0 1px 0 hsl(var(--paper) / 0.16); }
.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--glass {
	background: hsl(0 0% 100% / 0.12);
	color: hsl(var(--paper));
	border: 1px solid hsl(0 0% 100% / 0.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: hsl(0 0% 100% / 0.2); border-color: hsl(0 0% 100% / 0.5); transform: translateY(-1px); }

/* ── Brand wordmark (Agency · OS with teal dot) — replaces the logo image ── */
.nav__wordmark { display:inline-flex; align-items:center; gap:6px; font-family:var(--body); line-height:1; white-space:nowrap; }
.nav__wordmark-a  { font-weight:300; font-size:19px; letter-spacing:-0.01em; color:hsl(var(--paper)); opacity:.9; }
.nav__wordmark-dot{ width:5px; height:5px; border-radius:999px; background:hsl(var(--aos-yellow)); flex:0 0 auto; }
.nav__wordmark-os { font-weight:700; font-size:19px; letter-spacing:-0.02em; color:hsl(var(--paper)); }

/* ── Mobile drawer (built; burger re-enabled above) ─────────────────── */
.nav { z-index: 200; } /* keep nav + burger above the drawer */
.nav__mobile {
	position: fixed; inset: 0; z-index: 120;
	background: hsl(var(--paper));
	display: flex; flex-direction: column;
	padding: 104px var(--gutter) var(--gutter);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .26s var(--ease-out), transform .26s var(--ease-out), visibility .26s;
	overflow-y: auto; overscroll-behavior: contain;
}
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__mobile-panel { display: flex; flex-direction: column; gap: 26px; min-height: 100%; }
.nav__mobile-group { display: flex; flex-direction: column; }
.nav__mobile-label { font-family: var(--body); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: hsl(var(--aos-blue)); margin-bottom: 10px; }
.nav__mobile a { font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; color: hsl(var(--fg)); text-decoration: none; padding: 7px 0; line-height: 1.15; }
.nav__mobile-group + .nav__mobile-group { border-top: 1px solid hsl(var(--border)); padding-top: 22px; }
.nav__mobile a:active, .nav__mobile a:focus-visible { color: hsl(var(--aos-blue)); outline: none; }
.nav__mobile-cta { align-self: flex-start; margin-top: 6px; }
.nav__mobile-cta.btn--primary { font-size: 1rem; }
.nav__mobile-contact { margin-top: auto; padding-top: 22px; border-top: 1px solid hsl(var(--border)); }
.nav__mobile-contact a { font-family: var(--body); font-size: 1rem; font-weight: 500; color: hsl(var(--fg-muted)); }
body.aos-nav-open { overflow: hidden; }
.nav.is-mobile-open .nav__burger > svg { opacity: 0; }
.nav.is-mobile-open .nav__burger { position: relative; }
.nav.is-mobile-open .nav__burger::after { content: "\00d7"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; color: currentColor; }

/* Drawer is position:fixed inside .nav; backdrop-filter on .nav would trap it.
   Disable the filter whenever the drawer is open so it anchors to the viewport. */
.nav.is-mobile-open,
body.is-nav-scrolled .nav.is-mobile-open {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	background: hsl(var(--aos-navy)) !important;
}

/* ── Mobile drawer v2: full-screen overlay moved to <body>, self-contained ── */
.nav__mobile { z-index: 1500; padding: 0; }
.nav__mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid hsl(var(--border)); }
.nav__mobile-bar .nav__wordmark { font-size: 20px; }
.nav__mobile-bar .nav__wordmark-a { color: hsl(var(--fg)); font-weight: 300; font-size: 19px; opacity: 1; }
.nav__mobile-bar .nav__wordmark-os { color: hsl(var(--fg)); font-weight: 700; font-size: 19px; }
.nav__mobile-panel { padding: 34px var(--gutter) var(--gutter); flex: 1; min-height: 0; }
.nav__mobile-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: hsl(var(--fg)); cursor: pointer; border-radius: 50%; transition: background .16s var(--ease-out); }
.nav__mobile-close:hover { background: hsl(var(--bg-alt)); }
.nav__mobile-close svg { width: 24px; height: 24px; }

/* Drawer is mobile-only (burger only shows <=900); keep it out of the desktop DOM box */
@media (min-width: 901px) { .nav__mobile { display: none !important; } }
