/*!
 * jmc.css — Janamaitri Campus public site design system (2026-12, light institutional editorial).
 * Loaded after bootstrap.min.css. Every class is prefixed `j-`.
 *
 * Tokens ........ :root custom properties (colour, type, space, radius)
 * Base .......... body, headings, links, selection, focus, scrollbars
 * Layout ........ .j-container .j-section(--tint|--tight|--flush-top|--line) .j-grid-2/3/4 .j-split .j-layout-side
 * Type .......... .j-h1 .j-h2 .j-h3 .j-lead .j-meta .j-prose .j-sechead .j-pagehead .j-crumbs
 * Buttons ....... .j-btn(--outline|--ghost|--light|--sm|--lg|--block) .j-btns .j-more
 * Content ....... .j-chip .j-media .j-card .j-ledger .j-row-list/.j-row .j-program .j-person .j-quote .j-doc
 *                 .j-album .j-gallery .j-tabs/.j-tab .j-table .j-aside-box .j-linklist .j-empty .pagination
 * Forms ......... .j-form .j-form-row .j-field .j-label .j-input/.j-select/.j-textarea .j-help .j-error .j-alert .j-panel
 * Shell ......... .j-topnotice .j-header .j-util .j-bar .j-nav .j-drop .j-apply .j-drawer .j-search .j-popup
 *                 .j-footer .j-totop .j-skip
 */

/* ============================== Tokens ============================== */
:root {
    --j-blue: #12306a;          /* emblem blue: headings, links, logo */
    --j-blue-600: #1a3f87;
    --j-action: #1b4597;        /* links, focus, active states (7.9:1 on white) */
    --j-action-hover: #12306a;
    --j-gold: #b89038;          /* laurel gold: rules, numerals (decorative only) */
    --j-gold-text: #86651c;     /* gold that passes 4.5:1 on white */
    --j-gold-soft: #f7f0dd;

    --j-ink: #141d33;           /* strongest text */
    --j-text: #2a3346;          /* body text */
    --j-muted: #586378;         /* secondary text (5.9:1 on white) */
    --j-line: #dfe5ee;
    --j-line-strong: #c6d0de;
    --j-paper: #ffffff;
    --j-tint: #eef3f9;          /* soft registry blue: hero panel, bands */
    --j-tint-2: #e2eaf5;
    --j-paper-2: #f7f9fc;       /* alternate section ground */
    --j-heading: #12306a;       /* serif headings in emblem blue */

    --j-ok: #16794a;
    --j-ok-soft: #e7f5ee;
    --j-bad: #b42318;
    --j-bad-soft: #fdecea;

    --j-serif: 'Noto Serif', 'Noto Serif Devanagari', Georgia, 'Times New Roman', serif;
    --j-sans: 'Noto Sans', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --j-container: 1240px;
    --j-gutter: clamp(16px, 4vw, 40px);
    --j-radius: 4px;
    --j-radius-lg: 12px;
    --j-pill: 999px;
    --j-section: clamp(52px, 6vw, 88px);
    --j-header-h: 80px;
    --j-sticky: 145px;           /* utility row 41 + bar 80 + 24 gap */

    --j-shadow-menu: 0 0 0 1px rgba(18,48,106,.09), 0 18px 32px -10px rgba(18,48,106,.18), 0 4px 8px -4px rgba(18,48,106,.06);
    --j-shadow-card: 0 10px 28px -16px rgba(18, 48, 106, .30);
    --j-ease: cubic-bezier(.22, .61, .36, 1);
    --j-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============================== Base ============================== */
html { scroll-padding-top: calc(var(--j-sticky) - 8px); -webkit-text-size-adjust: 100%; }
body.j-site {
    margin: 0;
    background: var(--j-paper);
    color: var(--j-text);
    font-family: var(--j-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.j-site :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--j-serif);
    color: var(--j-heading);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.012em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
.j-site:lang(ne) :where(h1, h2, h3, h4, h5, h6) { line-height: 1.38; letter-spacing: 0; }
.j-site :where(h1, h2) { font-family: var(--j-display); font-weight: 500; letter-spacing: -0.018em; }
.j-site:lang(ne) :where(h1, h2) { letter-spacing: 0; }
.j-site:lang(ne) { line-height: 1.8; }
.j-site p { margin: 0 0 1em; text-wrap: pretty; }
.j-site a { color: var(--j-action); text-decoration: none; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.j-site a:hover { color: var(--j-action-hover); }
.j-site img { max-width: 100%; height: auto; }
.j-site ::selection { background: #d6e2f6; color: var(--j-ink); }
.j-site :focus { outline: none; }
.j-site :focus-visible { outline: 2px solid var(--j-action); outline-offset: 2px; border-radius: 2px; }
.j-site { scrollbar-color: var(--j-line-strong) transparent; }
.j-site ::-webkit-scrollbar { width: 10px; height: 10px; }
.j-site ::-webkit-scrollbar-thumb { background: var(--j-line-strong); border-radius: 10px; border: 2px solid var(--j-paper); }
.j-site hr { border: 0; border-top: 1px solid var(--j-line); opacity: 1; margin: 2rem 0; }
.j-site button { font: inherit; }
.j-site [hidden] { display: none !important; }
html.j-locked, html.j-locked body { overflow: hidden; }

.j-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.j-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--j-blue); color: #fff !important; padding: 10px 16px; border-radius: var(--j-radius); font-weight: 600; }
.j-skip:focus { top: 12px; }
#main:focus { outline: none; }

.j-ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.j-ico--fill { fill: currentColor; stroke: none; }

/* ============================== Layout ============================== */
.j-container { width: 100%; max-width: calc(var(--j-container) + 2 * var(--j-gutter)); margin-inline: auto; padding-inline: var(--j-gutter); }
.j-container--narrow { max-width: calc(860px + 2 * var(--j-gutter)); }
.j-section { padding-block: var(--j-section); }
.j-section--tight { padding-block: clamp(40px, 5vw, 64px); }
.j-section--tint { background: var(--j-tint); }
.j-section--flush-top { padding-top: 0; }
.j-section--line { border-top: 1px solid var(--j-line); }
.j-grid-2 { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.j-grid-3 { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.j-grid-4 { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.j-split { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: 5fr 7fr; align-items: center; }
.j-split--even { grid-template-columns: 1fr 1fr; }
.j-layout-side { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.j-layout-side__aside { position: sticky; top: var(--j-sticky); display: grid; gap: 24px; }
@media (max-width: 1100px) {
    .j-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .j-layout-side { grid-template-columns: minmax(0, 1fr); }
    .j-layout-side__aside { position: static; }
}
@media (max-width: 900px) {
    .j-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .j-split, .j-split--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .j-grid-2, .j-grid-3, .j-grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ============================== Type ============================== */
.j-h1 { font-size: clamp(2rem, 1.5rem + 1.9vw, 3.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; }
.j-h2 { font-size: clamp(1.65rem, 1.35rem + 1.1vw, 2.3rem); line-height: 1.18; }
.j-h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.3; }
.j-site:lang(ne) .j-h1 { line-height: 1.32; }
.j-lead { font-size: clamp(1.075rem, 1rem + .3vw, 1.25rem); color: var(--j-muted); line-height: 1.6; max-width: 62ch; }
.j-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--j-muted); font-size: .9375rem; }
.j-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.j-meta .j-ico { color: var(--j-gold-text); }
.j-num { font-variant-numeric: tabular-nums; }

.j-sechead { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.j-sechead__text { max-width: 720px; }
.j-sechead__text > :last-child { margin-bottom: 0; }
.j-sechead .j-h2 { margin-bottom: .3em; }
.j-sechead p { color: var(--j-muted); margin: 0; max-width: 64ch; }
.j-sechead--center { justify-content: center; text-align: center; }
.j-sechead--center .j-sechead__text { margin-inline: auto; }
.j-sechead--center p { margin-inline: auto; }

/* Rich text written by staff in the CMS */
.j-prose { color: var(--j-text); font-size: 1.0625rem; line-height: 1.75; overflow-wrap: anywhere; }
.j-prose > * { max-width: 72ch; }
.j-prose > :first-child { margin-top: 0; }
.j-prose :is(h2, h3, h4) { margin: 1.6em 0 .55em; }
.j-prose h2 { font-size: 1.6rem; }
.j-prose h3 { font-size: 1.3rem; }
.j-prose h4 { font-size: 1.12rem; }
.j-prose p, .j-prose ul, .j-prose ol { margin: 0 0 1.1em; }
.j-prose ul, .j-prose ol { padding-left: 1.4em; }
.j-prose li { margin-bottom: .35em; }
.j-prose li::marker { color: var(--j-gold-text); }
.j-prose a { text-decoration: underline; }
.j-prose strong, .j-prose b { color: var(--j-ink); font-weight: 600; }
.j-prose img { border-radius: var(--j-radius); margin: .5em 0 1.2em; height: auto !important; }
.j-prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; font-family: var(--j-serif); font-size: 1.15rem; color: var(--j-ink); }
.j-prose table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.j-prose th, .j-prose td { border: 1px solid var(--j-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.j-prose th, .j-prose thead td { background: var(--j-tint); color: var(--j-ink); font-weight: 600; }
.j-prose iframe, .j-prose video { max-width: 100%; border-radius: var(--j-radius); }
.j-prose figure { margin: 1.4em 0; }
.j-prose figcaption { color: var(--j-muted); font-size: .9rem; margin-top: .4em; }

/* Inner page header (light, never dark) */
.j-pagehead { background: var(--j-tint); border-bottom: 1px solid var(--j-line); padding-block: clamp(28px, 4vw, 52px) clamp(28px, 3.5vw, 44px); }
.j-pagehead__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.j-pagehead .j-h1 { font-size: clamp(1.9rem, 1.45rem + 1.8vw, 2.9rem); margin: .35em 0 0; max-width: 24ch; }
.j-pagehead__lead { margin: .75rem 0 0; color: var(--j-muted); max-width: 64ch; font-size: 1.075rem; }
.j-pagehead__aside { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .j-pagehead__inner { grid-template-columns: minmax(0, 1fr); } }
.j-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--j-muted); }
.j-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.j-crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--j-line-strong); border-right: 1.5px solid var(--j-line-strong); transform: rotate(45deg); margin-right: 4px; }
.j-crumbs a { color: var(--j-muted); }
.j-crumbs a:hover { color: var(--j-action); text-decoration: underline; }
.j-crumbs [aria-current] { color: var(--j-ink); }

/* ============================== Buttons ============================== */
.j-btn {
    --j-btn-bg: var(--j-blue); --j-btn-fg: #fff; --j-btn-bd: var(--j-blue);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 8px;
    background: var(--j-btn-bg); color: var(--j-btn-fg) !important; border: 1.5px solid var(--j-btn-bd);
    font-family: var(--j-sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none !important;
    cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--j-ease), border-color .2s var(--j-ease), color .2s var(--j-ease), box-shadow .2s var(--j-ease);
}
.j-btn .j-ico { transition: transform .25s var(--j-ease-out); }
.j-btn:hover { --j-btn-bg: #1c4590; --j-btn-bd: #1c4590; box-shadow: 0 8px 20px -10px rgba(18, 48, 106, .55); }
.j-btn:hover .j-ico--arrow { transform: translateX(3px); }
.j-btn:active { transform: translateY(1px); }
.j-btn--outline { --j-btn-bg: transparent; --j-btn-fg: var(--j-blue); --j-btn-bd: var(--j-line-strong); }
.j-btn--outline:hover { --j-btn-bg: var(--j-tint); --j-btn-fg: var(--j-blue); --j-btn-bd: var(--j-blue); box-shadow: none; }
.j-btn--ghost { --j-btn-bg: transparent; --j-btn-fg: var(--j-action); --j-btn-bd: transparent; padding-inline: 8px; }
.j-btn--ghost:hover { --j-btn-bg: var(--j-tint); --j-btn-fg: var(--j-action-hover); --j-btn-bd: transparent; box-shadow: none; }
.j-btn--light { --j-btn-bg: #fff; --j-btn-fg: var(--j-blue); --j-btn-bd: var(--j-line); }
.j-btn--light:hover { --j-btn-bg: #fff; --j-btn-fg: var(--j-action); --j-btn-bd: var(--j-action); box-shadow: none; }
.j-btn--sm { min-height: 38px; padding: 7px 14px; font-size: .9375rem; }
.j-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.j-btn--block { width: 100%; }
.j-btn[disabled], .j-btn.is-loading { opacity: .6; pointer-events: none; }
.j-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* .j-more: the one secondary text-link style. Final definition lives in the AURORA layer below (grep "j-more: one"). */
.j-more { display: inline-flex; align-items: center; }

/* ============================== Content blocks ============================== */
.j-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--j-tint); color: var(--j-blue); font-size: .8125rem; font-weight: 600; line-height: 1.5; border: 1px solid var(--j-tint-2); }
.j-chip--gold { background: var(--j-gold-soft); color: var(--j-gold-text); border-color: #efe3c2; }
.j-chip--new { background: var(--j-ok-soft); color: var(--j-ok); border-color: #cfe9db; }

/* Media frame keeps images from shifting layout */
.j-media { position: relative; overflow: hidden; background: var(--j-tint); border-radius: var(--j-radius); aspect-ratio: 3 / 2; }
.j-media > img, .j-media > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.j-media--square { aspect-ratio: 1; }
.j-media--portrait { aspect-ratio: 4 / 5; }
.j-media--wide { aspect-ratio: 16 / 9; }
.j-media--contain > img { object-fit: contain; padding: 12px; background: #fff; }

/* Card: news, blog, album, generic */
.j-card { position: relative; display: flex; flex-direction: column; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); overflow: hidden; transition: border-color .25s var(--j-ease), box-shadow .25s var(--j-ease); }
.j-card:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.j-card .j-media { border-radius: 0; }
.j-card .j-media img { transition: transform .6s var(--j-ease-out); }
.j-card:hover .j-media img { transform: scale(1.035); }
.j-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.j-card__title { font-family: var(--j-serif); font-size: 1.18rem; line-height: 1.35; font-weight: 700; margin: 0; color: var(--j-ink); }
.j-card__title a { color: inherit; }
.j-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.j-card__title a:hover { color: var(--j-action); }
.j-card__text { color: var(--j-muted); margin: 0; font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.j-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--j-muted); font-size: .9rem; }
.j-card .j-more, .j-card__foot a { position: relative; z-index: 2; }

/* Notice ledger: the site's signature list */
.j-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--j-line); }
.j-ledger__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--j-line); position: relative; transition: background-color .2s var(--j-ease); }
.j-ledger__item:hover { background: var(--j-paper-2); }
.j-ledger__date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1; padding: 6px 0; border-right: 1px solid var(--j-line); }
.j-ledger__day { font-family: var(--j-serif); font-weight: 700; font-size: 1.85rem; color: var(--j-gold-text); line-height: 1; font-variant-numeric: lining-nums; }
.j-ledger__mon { margin-top: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--j-muted); }
.j-site:lang(ne) .j-ledger__mon { letter-spacing: 0; text-transform: none; font-size: .8rem; }
.j-ledger__body { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.j-site .j-ledger__title { margin: 0; font-family: var(--j-sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: var(--j-ink); }
.j-ledger__title a { color: inherit; }
.j-ledger__title a::after { content: ""; position: absolute; inset: 0; }
.j-ledger__title a:hover { color: var(--j-action); text-decoration: underline; }
.j-ledger__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .85rem; color: var(--j-muted); }
.j-ledger--compact .j-ledger__item { grid-template-columns: 56px minmax(0, 1fr); padding: 12px 2px; }
.j-ledger--compact .j-ledger__day { font-size: 1.5rem; }

/* Row list: news/blog/publication rows with optional thumbnail */
.j-row-list { list-style: none; margin: 0; padding: 0; display: grid; }
.j-row { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 28px; padding: 22px 0; border-bottom: 1px solid var(--j-line); align-items: start; }
.j-row:first-child { padding-top: 0; }
.j-row--nothumb { grid-template-columns: minmax(0, 1fr); }
.j-row .j-media { aspect-ratio: 4 / 3; }
.j-row__body { display: grid; gap: 8px; min-width: 0; }
.j-row__title { margin: 0; font-family: var(--j-serif); font-size: 1.2rem; line-height: 1.35; font-weight: 700; color: var(--j-ink); }
.j-row__title a { color: inherit; }
.j-row__title a::after { content: ""; position: absolute; inset: 0; }
.j-row__title a:hover { color: var(--j-action); }
.j-row__text { margin: 0; color: var(--j-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .j-row { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; } .j-row__title { font-size: 1.05rem; } .j-row__text { display: none; } }

/* Programme card */
.j-program { position: relative; display: flex; flex-direction: column; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); overflow: hidden; transition: border-color .25s var(--j-ease), box-shadow .25s var(--j-ease); }
.j-program:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.j-program .j-media { aspect-ratio: 16 / 10; border-radius: 0; }
.j-program .j-media img { transition: transform .6s var(--j-ease-out); }
.j-program:hover .j-media img { transform: scale(1.035); }
.j-program__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.j-program__title { margin: 0; font-family: var(--j-serif); font-size: 1.28rem; line-height: 1.3; }
.j-program__title a { color: var(--j-ink); }
.j-program__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.j-program__title a:hover { color: var(--j-action); }
.j-program__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--j-muted); font-size: .94rem; }
.j-program__facts li { display: inline-flex; align-items: center; gap: 6px; }
.j-program__facts .j-ico { color: var(--j-gold-text); }
.j-program__foot { margin-top: auto; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--j-line); position: relative; z-index: 2; }

/* People */
.j-person { display: grid; gap: 14px; text-align: left; position: relative; align-content: start; }
.j-person .j-media { aspect-ratio: 4 / 5; border-radius: var(--j-radius-lg); background: var(--j-tint-2); }
.j-person .j-media img { object-position: 50% 20%; transition: transform .6s var(--j-ease-out); }
.j-person:hover .j-media img { transform: scale(1.03); }
.j-person__name { margin: 0; font-family: var(--j-serif); font-size: 1.12rem; line-height: 1.3; color: var(--j-ink); }
.j-person__name a { color: inherit; }
.j-person__name a::after { content: ""; position: absolute; inset: 0; }
.j-person__name a:hover { color: var(--j-action); }
.j-person__role { margin: 2px 0 0; color: var(--j-muted); font-size: .94rem; line-height: 1.45; }
.j-person__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; position: relative; z-index: 2; }

/* Testimonial / quote */
.j-quote { margin: 0; display: grid; gap: 22px; }
.j-quote__text { font-family: var(--j-serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.55; color: var(--j-ink); margin: 0; font-weight: 600; }
.j-quote__text::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .6; color: var(--j-gold); margin-bottom: 14px; font-family: Georgia, serif; }
.j-site:lang(ne) .j-quote__text { line-height: 1.75; }
.j-quote__who { display: flex; align-items: center; gap: 14px; }
.j-quote__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--j-tint-2); }
.j-quote__name { display: block; font-weight: 600; color: var(--j-ink); }
.j-quote__role { display: block; color: var(--j-muted); font-size: .92rem; }

/* Document / download row */
.j-doc { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--j-paper); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); transition: border-color .2s var(--j-ease), box-shadow .2s var(--j-ease); }
.j-doc + .j-doc { margin-top: 10px; }
.j-doc:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.j-doc__icon { width: 48px; height: 48px; border-radius: var(--j-radius); background: var(--j-tint); color: var(--j-blue); display: grid; place-items: center; }
.j-doc__icon .j-ico { width: 24px; height: 24px; }
.j-doc__icon--pdf { background: #fdeceb; color: #b42318; }
.j-doc__title { margin: 0; font-family: var(--j-sans); font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--j-ink); }
.j-doc__title a { color: inherit; }
.j-doc__title a::after { content: ""; position: absolute; inset: 0; }
.j-doc__title a:hover { color: var(--j-action); text-decoration: underline; }
.j-doc__meta { margin-top: 2px; color: var(--j-muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.j-doc__actions { display: flex; gap: 8px; position: relative; z-index: 2; }
@media (max-width: 560px) { .j-doc { grid-template-columns: 40px minmax(0, 1fr); } .j-doc__icon { width: 40px; height: 40px; } .j-doc__actions { grid-column: 2; } }

/* Album / gallery */
.j-album { position: relative; display: grid; gap: 12px; align-content: start; }
.j-album .j-media { aspect-ratio: 4 / 3; border-radius: var(--j-radius-lg); }
.j-album .j-media img { transition: transform .6s var(--j-ease-out); }
.j-album:hover .j-media img { transform: scale(1.04); }
.j-album__title { margin: 0; font-family: var(--j-serif); font-size: 1.1rem; line-height: 1.35; }
.j-album__title a { color: var(--j-ink); }
.j-album__title a::after { content: ""; position: absolute; inset: 0; }
.j-album__title a:hover { color: var(--j-action); }
.j-album__count { color: var(--j-muted); font-size: .9rem; }
.j-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.j-gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--j-radius); aspect-ratio: 1; background: var(--j-tint); }
.j-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--j-ease-out), opacity .3s; }
.j-gallery a:hover img { transform: scale(1.05); }

/* Tabs (programme faculties etc.) */
.j-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 28px; padding: 0; list-style: none; border-bottom: 1px solid var(--j-line); }
.j-tab { position: relative; appearance: none; background: none; border: 0; padding: 12px 16px 14px; color: var(--j-muted); font-weight: 600; font-size: 1rem; cursor: pointer; line-height: 1.3; border-radius: var(--j-radius) var(--j-radius) 0 0; }
.j-tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--j-gold); transform: scaleX(0); transition: transform .3s var(--j-ease-out); }
.j-tab:hover { color: var(--j-ink); background: var(--j-tint); }
.j-tab[aria-selected="true"] { color: var(--j-blue); }
.j-tab[aria-selected="true"]::after { transform: scaleX(1); }
.j-tabpanel[hidden] { display: none; }
@media (max-width: 640px) { .j-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--j-gutter)); padding-inline: var(--j-gutter); } .j-tab { white-space: nowrap; } }

/* Table */
.j-table-wrap { overflow-x: auto; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; }
.j-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.j-table th { background: var(--j-tint); color: var(--j-ink); font-weight: 600; text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--j-line); white-space: nowrap; }
.j-table td { padding: 12px 16px; border-bottom: 1px solid var(--j-line); vertical-align: top; font-variant-numeric: tabular-nums; }
.j-table tr:last-child td { border-bottom: 0; }
.j-table tbody tr:hover td { background: #fafbfd; }

/* Sidebar box */
.j-aside-box { background: var(--j-paper); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); padding: 22px; }
.j-aside-box--tint { background: var(--j-tint); border-color: var(--j-tint-2); }
.j-aside-box__title { font-family: var(--j-serif); font-size: 1.12rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--j-line); }
.j-linklist { list-style: none; margin: 0; padding: 0; display: grid; }
.j-linklist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--j-text); border-bottom: 1px solid var(--j-line); font-weight: 500; }
.j-linklist li:last-child a { border-bottom: 0; }
.j-linklist a:hover, .j-linklist a[aria-current="page"] { color: var(--j-action); }
.j-linklist a[aria-current="page"] { font-weight: 600; }
.j-linklist .j-ico { color: var(--j-line-strong); transition: transform .2s var(--j-ease-out), color .2s; }
.j-linklist a:hover .j-ico { color: var(--j-action); transform: translateX(2px); }

/* Empty state */
.j-empty { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background: var(--j-tint); border-radius: var(--j-radius-lg); color: var(--j-muted); }
.j-empty .j-ico { width: 40px; height: 40px; color: var(--j-gold); margin-bottom: 10px; }
.j-empty h2, .j-empty h3 { font-size: 1.25rem; margin-bottom: .4em; }
.j-empty p { margin: 0 auto; max-width: 48ch; }

/* Pagination (Laravel bootstrap-5 views and hand-written lists) */
.j-site .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 40px 0 0; padding: 0; list-style: none; }
.j-site .pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--j-line); border-radius: var(--j-radius) !important; color: var(--j-text); background: #fff; font-weight: 500; box-shadow: none; margin: 0; }
.j-site .pagination .page-link:hover { border-color: var(--j-action); color: var(--j-action); background: #fff; }
.j-site .pagination .active .page-link, .j-site .pagination .page-item.active .page-link { background: var(--j-blue); border-color: var(--j-blue); color: #fff; }
.j-site .pagination .disabled .page-link { color: #a3acbb; background: #fff; }
.j-site nav[role="navigation"] p.small, .j-site nav .text-muted.small { color: var(--j-muted) !important; text-align: center; margin-top: 12px; }

/* ============================== Forms ============================== */
.j-form { display: grid; gap: 18px; }
.j-form-row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .j-form-row { grid-template-columns: minmax(0, 1fr); } }
.j-field { display: grid; gap: 6px; }
.j-label, .j-site .form-label { font-weight: 600; color: var(--j-ink); font-size: .95rem; margin: 0; }
.j-req { color: var(--j-bad); margin-left: 2px; }
.j-input, .j-select, .j-textarea,
.j-site .form-control, .j-site .form-select {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--j-line-strong); border-radius: var(--j-radius);
    background-color: #fff; color: var(--j-ink); font-family: var(--j-sans); font-size: 1rem; line-height: 1.4;
    transition: border-color .2s var(--j-ease), box-shadow .2s var(--j-ease); box-shadow: none;
}
.j-textarea, .j-site textarea.form-control { min-height: 140px; resize: vertical; }
.j-select, .j-site .form-select, .j-site select.form-control {
    appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2312306a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.j-input::placeholder, .j-textarea::placeholder, .j-site .form-control::placeholder { color: #737d90; opacity: 1; }
.j-input:hover, .j-select:hover, .j-textarea:hover, .j-site .form-control:hover, .j-site .form-select:hover { border-color: #9fb0c7; }
.j-input:focus, .j-select:focus, .j-textarea:focus, .j-site .form-control:focus, .j-site .form-select:focus { outline: none; border-color: var(--j-action); box-shadow: 0 0 0 3px rgba(31, 79, 180, .16); }
.j-input[aria-invalid="true"], .j-site .form-control.is-invalid { border-color: var(--j-bad); }
.j-help { font-size: .88rem; color: var(--j-muted); }
.j-error, .j-site .invalid-feedback, .j-site .text-danger { color: var(--j-bad) !important; font-size: .9rem; }
.j-check { display: flex; gap: 10px; align-items: flex-start; }
.j-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--j-action); }
.j-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--j-radius); border: 1px solid var(--j-line); background: var(--j-tint); color: var(--j-ink); }
.j-alert--ok { background: var(--j-ok-soft); border-color: #cfe9db; color: #0f5132; }
.j-alert--bad { background: var(--j-bad-soft); border-color: #f6cfcb; color: #8a1c12; }
.j-alert ul { margin: 0; padding-left: 1.1em; }
.j-panel { background: #fff; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); padding: clamp(22px, 3vw, 36px); }
.j-panel--shadow { box-shadow: var(--j-shadow-card); }
.g-recaptcha { min-height: 78px; }

/* ============================== Shell: top notice ============================== */
.j-topnotice { background: var(--j-gold-soft); color: #4a3a12; font-size: .92rem; border-bottom: 1px solid #efe3c2; }
.j-topnotice__inner { display: flex; align-items: center; justify-content: center; gap: 6px 14px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.j-topnotice strong { color: #3d2f0c; font-weight: 600; }
.j-topnotice a { color: #3d2f0c; font-weight: 600; text-decoration: underline; }
.j-topnotice .j-ico { color: var(--j-gold-text); }

/* ============================== Shell: header ============================== */
.j-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow .25s var(--j-ease); }
.j-header.is-scrolled { box-shadow: 0 1px 0 var(--j-line), 0 8px 24px -18px rgba(18, 48, 106, .35); }
.j-util { background: var(--j-tint); border-bottom: 1px solid var(--j-line); font-size: .875rem; color: var(--j-muted); }
.j-util__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 40px; }
.j-util__list { display: flex; align-items: center; gap: 4px 20px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.j-util__list a, .j-util__list span { display: inline-flex; align-items: center; gap: 7px; color: var(--j-muted); white-space: nowrap; }
.j-util__list a:hover { color: var(--j-action); }
.j-util__list .j-ico { color: var(--j-gold-text); width: 15px; height: 15px; }
.j-util__list--right a { color: var(--j-blue); font-weight: 600; }
.j-util__list--right a:hover { color: var(--j-action); text-decoration: underline; }
.j-lang { display: inline-flex; align-items: center; border: 1px solid var(--j-line-strong); border-radius: 999px; overflow: hidden; background: #fff; }
.j-lang a, .j-lang span { padding: 2px 10px; font-size: .8125rem; font-weight: 600; line-height: 1.6; }
.j-lang [aria-current] { background: var(--j-blue); color: #fff !important; }
.j-lang a { color: var(--j-blue) !important; }
.j-lang a:hover { background: var(--j-tint); text-decoration: none !important; }

.j-bar { border-bottom: 1px solid var(--j-line); background: #fff; }
.j-bar__inner { display: flex; align-items: center; gap: 16px; min-height: var(--j-header-h); }
.j-logo { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.j-logo img { height: 52px; width: auto; display: block; }
@media (max-width: 1360px) { .j-logo img { height: 44px; } }
.j-nav { display: flex; align-items: center; }
.j-nav__list { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.j-nav__item { position: relative; }
.j-nav__link, .j-nav__toggle {
    display: inline-flex; align-items: center; gap: 5px; height: var(--j-header-h); padding: 0 11px; background: none; border: 0;
    color: var(--j-ink) !important; font-family: var(--j-sans); font-weight: 600; font-size: .97rem; white-space: nowrap; cursor: pointer; position: relative;
}
.j-nav__link::after, .j-nav__toggle::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 3px; background: var(--j-gold); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--j-ease-out); }
.j-nav__link:hover::after, .j-nav__toggle:hover::after, .j-nav__item.is-open > .j-nav__toggle::after,
.j-nav__link[aria-current="page"]::after, .j-nav__item.is-current > .j-nav__toggle::after { transform: scaleX(1); }
.j-nav__toggle .j-ico { width: 14px; height: 14px; color: var(--j-muted); transition: transform .25s var(--j-ease-out); }
.j-nav__item.is-open > .j-nav__toggle .j-ico { transform: rotate(180deg); }
.j-drop {
    position: absolute; top: calc(100% - 8px); left: 0; min-width: 260px; max-width: 560px; padding: 10px; margin: 0; list-style: none;
    background: #fff; border: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgba(18,48,106,.09), 0 18px 32px -10px rgba(18,48,106,.18), 0 4px 8px -4px rgba(18,48,106,.06);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--j-ease), transform .25s var(--j-ease-out), visibility 0s .25s; z-index: 20;
}
.j-drop--cols { columns: 2; column-gap: 8px; min-width: 520px; }
.j-drop li { break-inside: avoid; }
.j-nav__item:hover > .j-drop, .j-nav__item.is-open > .j-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.j-nav__item.is-closed-by-key > .j-drop { opacity: 0; visibility: hidden; }
.j-nav__item--end > .j-drop { left: auto; right: 0; }
.j-drop a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--j-radius); color: var(--j-text); font-weight: 500; font-size: .96rem; line-height: 1.35; }
.j-drop a .j-ico { width: 14px; height: 14px; color: var(--j-line-strong); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--j-ease-out); }
.j-drop a:hover, .j-drop a:focus-visible, .j-drop a[aria-current="page"] { background: var(--j-tint); color: var(--j-blue); }
.j-drop a:hover .j-ico, .j-drop a:focus-visible .j-ico { opacity: 1; transform: none; color: var(--j-action); }
.j-bar__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.j-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: none; border: 1px solid transparent; color: var(--j-blue); cursor: pointer; transition: background-color .2s, border-color .2s; padding: 0; }
.j-iconbtn:hover { background: var(--j-tint); border-color: var(--j-line); }
.j-iconbtn .j-ico { width: 20px; height: 20px; }
.j-apply { position: relative; }
.j-apply .j-drop { right: 0; left: auto; top: calc(100% + 8px); min-width: 260px; }
.j-apply.is-open .j-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.j-apply .j-btn .j-ico { width: 16px; height: 16px; }
.j-burger { display: none; }

@media (max-width: 1240px) {
    .j-nav { display: none; }
    .j-burger { display: inline-grid; }
    .j-util__hide-md { display: none !important; }
}
@media (max-width: 760px) {
    :root { --j-header-h: 64px; --j-sticky: 88px; }
    .j-util { display: none; }
    .j-logo img { height: 40px; }
    .j-apply .j-btn { padding-inline: 14px; min-height: 40px; }
}
@media (max-width: 420px) { .j-logo img { height: 32px; } .j-bar__inner { gap: 6px; } .j-apply__long { display: none; } }

/* Mobile drawer (white) */
.j-drawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; transition: visibility 0s .35s; }
.j-drawer.is-open { visibility: visible; transition-delay: 0s; }
.j-drawer__scrim { position: absolute; inset: 0; background: rgba(20, 29, 51, .32); opacity: 0; transition: opacity .3s var(--j-ease); border: 0; width: 100%; cursor: pointer; padding: 0; }
.j-drawer.is-open .j-drawer__scrim { opacity: 1; }
.j-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--j-ease-out); box-shadow: -20px 0 40px -20px rgba(18, 48, 106, .3); }
.j-drawer.is-open .j-drawer__panel { transform: none; }
.j-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--j-line); }
.j-drawer__head img { height: 36px; width: auto; }
.j-drawer__body { flex: 1; overflow-y: auto; padding: 4px 0 24px; overscroll-behavior: contain; }
.j-drawer__list { list-style: none; margin: 0; padding: 0; }
.j-drawer__list > li { border-bottom: 1px solid var(--j-line); }
.j-drawer__link, .j-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; padding: 14px 20px; background: none; border: 0; color: var(--j-ink) !important; font-weight: 600; font-size: 1.02rem; text-align: left; cursor: pointer; }
.j-drawer__toggle .j-ico { width: 18px; height: 18px; color: var(--j-muted); transition: transform .25s var(--j-ease-out); }
.j-drawer__toggle[aria-expanded="true"] .j-ico { transform: rotate(180deg); }
.j-drawer__sub { list-style: none; margin: 0; padding: 0 0 10px; background: var(--j-tint); display: none; }
.j-drawer__toggle[aria-expanded="true"] + .j-drawer__sub { display: block; }
.j-drawer__sub a { display: block; padding: 10px 20px 10px 32px; color: var(--j-text); font-weight: 500; }
.j-drawer__sub a:hover { color: var(--j-action); }
.j-drawer__extra { padding: 20px; display: grid; gap: 16px; }
.j-drawer__extra .j-util__list { flex-direction: column; align-items: flex-start; gap: 12px; }
.j-drawer__extra .j-util__list a, .j-drawer__extra .j-util__list span { white-space: normal; font-size: .98rem; }

/* Search overlay (white) */
.j-search { position: fixed; inset: 0; z-index: 1300; background: rgba(255, 255, 255, .98); display: none; }
.j-search.is-open { display: block; animation: j-fade .2s var(--j-ease); }
.j-search__inner { max-width: 760px; margin: 0 auto; padding: 14vh var(--j-gutter) 0; }
.j-search__close { position: absolute; top: 16px; right: 16px; }
.j-search__label { display: block; font-family: var(--j-serif); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); color: var(--j-ink); margin-bottom: 18px; font-weight: 700; }
.j-search__field { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--j-blue); padding-bottom: 8px; }
.j-search__field input { flex: 1; border: 0; outline: none; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); padding: 8px 0; background: transparent; color: var(--j-ink); min-width: 0; }
.j-search__hint { color: var(--j-muted); margin-top: 14px; font-size: .95rem; }

/* Popup */
.j-popup { position: fixed; inset: 0; z-index: 1400; background: rgba(20, 29, 51, .5); display: grid; place-items: center; padding: 16px; }
.j-popup[hidden] { display: none; }
.j-popup__box { position: relative; max-width: min(720px, 100%); max-height: calc(100vh - 32px); background: #fff; border-radius: var(--j-radius-lg); padding: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); animation: j-pop .3s var(--j-ease-out); }
.j-popup__scroll { max-height: calc(100vh - 64px); overflow: auto; display: grid; gap: 8px; }
.j-popup__box img { display: block; max-height: calc(100vh - 64px); width: auto; margin: 0 auto; border-radius: var(--j-radius); }
.j-popup__close { position: absolute; top: -14px; right: -14px; background: #fff; border: 1px solid var(--j-line); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
@media (max-width: 560px) { .j-popup__close { top: 6px; right: 6px; } }

/* ============================== Shell: footer (light) ============================== */
.j-footer { background: var(--j-tint); border-top: 3px solid var(--j-gold); color: var(--j-text); }
.j-footer__main { padding-block: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 36px); }
.j-footer__grid { display: grid; gap: 40px 48px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 1100px) { .j-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .j-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.j-footer__logo img { height: 56px; width: auto; }
.j-footer__about { margin: 18px 0 20px; color: var(--j-muted); font-size: .97rem; max-width: 40ch; }
.j-footer__title { font-family: var(--j-serif); font-size: 1.05rem; font-weight: 700; color: var(--j-ink); margin: 0 0 16px; }
.j-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.j-footer__links a { color: var(--j-text); font-size: .97rem; }
.j-footer__links a:hover { color: var(--j-action); text-decoration: underline; }
.j-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .97rem; }
.j-footer__contact li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.j-footer__contact .j-ico { color: var(--j-gold-text); margin-top: 4px; }
.j-footer__contact a { color: var(--j-text); }
.j-footer__contact a:hover { color: var(--j-action); }
.j-social { display: flex; gap: 8px; flex-wrap: wrap; }
.j-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--j-line-strong); color: var(--j-blue); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.j-social a:hover { background: var(--j-blue); color: #fff; border-color: var(--j-blue); }
.j-social .j-ico { width: 18px; height: 18px; }
.j-footer__cert { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--j-blue); font-size: .94rem; }
.j-footer__form { display: grid; gap: 10px; }
.j-footer__form p { color: var(--j-muted); font-size: .95rem; margin: 0 0 4px; }
.j-footer__bottom { background: #fff; border-top: 1px solid var(--j-line); font-size: .9rem; color: var(--j-muted); }
.j-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.j-footer__bottom a { color: var(--j-blue); font-weight: 600; }

.j-totop { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-blue); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(18, 48, 106, .45); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--j-ease-out), visibility 0s .25s; cursor: pointer; padding: 0; }
.j-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.j-totop:hover { background: var(--j-blue); color: #fff; border-color: var(--j-blue); }

/* ============================== Motion ============================== */
@keyframes j-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes j-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes j-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.j-rise { animation: j-rise .42s var(--j-ease-out) both; }
@media (prefers-reduced-motion: reduce) {
    .j-site *, .j-site *::before, .j-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================== Print ============================== */
@media print {
    .j-header, .j-topnotice, .j-footer, .j-totop, .j-drawer, .j-search, .j-popup { display: none !important; }
    .j-pagehead { background: none; border: 0; padding: 0 0 12px; }
    body.j-site { font-size: 11pt; color: #000; }
}

/* ============================== Additions (2026-12 v5) ============================== */
.j-ico--xs { width: .85em; height: .85em; }
.j-drop__label { display: inline-flex; align-items: center; gap: 10px; }
.j-drop .j-drop__label .j-ico { width: 18px; height: 18px; color: var(--j-gold-text); opacity: 1; transform: none; }
.j-drawer__cta { padding: 16px 20px 8px; }
@media (max-width: 1100px) { .j-util__hide-sm { display: none !important; } }

/* Explore mega panel: 3 link columns + a campus column */
.j-nav__item--mega { position: static; }
.j-nav { position: static; }
.j-bar__inner { position: relative; }
.j-mega { left: auto; right: 0; top: calc(100% - 1px); width: min(1040px, calc(100vw - 2 * var(--j-gutter))); max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.15fr; gap: 0; padding: 0; overflow: hidden; }
.j-mega__col { padding: 24px 22px 26px; border-right: 1px solid var(--j-line); }
.j-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.j-mega__col a { margin-inline: -10px; }
.j-mega__title { margin: 0 0 10px; font-family: var(--j-serif); font-weight: 700; font-size: 1rem; color: var(--j-heading); }
.j-mega__brand { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 24px; min-height: 260px; background: var(--j-tint); color: var(--j-text); }
.j-mega__brand img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; }
.j-mega__brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(238,243,249,0) 30%, var(--j-tint) 62%); }
.j-mega__brand > :not(img) { position: relative; z-index: 1; margin: 0; }
.j-mega__brand p { font-size: .93rem; color: var(--j-muted); line-height: 1.5; }
.j-mega__brand strong { font-family: var(--j-serif); color: var(--j-heading); font-size: 1.05rem; }

/* Underline-sweep text links (footer, "view all") */
.j-sweep { position: relative; text-decoration: none !important; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 100% 100%; transition: background-size .3s cubic-bezier(.4,0,.2,1), color .2s; padding-bottom: 1px; }
.j-sweep:hover, .j-sweep:focus-visible { background-size: 100% 1px; background-position: 0 100%; }

/* Footer wordmark (decorative, light) */
.j-footer { background: var(--j-paper-2); position: relative; overflow: hidden; }
.j-footer__wordmark { display: block; margin: 8px 0 0; padding: 0 var(--j-gutter); height: .62em; overflow: hidden; font-family: var(--j-serif); font-weight: 700; font-size: clamp(3.6rem, 13vw, 12.5rem); line-height: 1; letter-spacing: -0.035em; text-align: center; white-space: nowrap; color: #e3eaf4; user-select: none; pointer-events: none; }
.j-footer__bottom { position: relative; z-index: 1; }
.j-footer__affil { display: inline-block; margin: 0 0 18px; }
.j-footer__affil img { height: 46px; width: auto; }
.j-footer__title--sub { margin-top: 26px; font-size: 1rem; }
.j-footer__field { display: flex; gap: 8px; }
.j-footer__field .j-input { min-height: 44px; flex: 1; min-width: 0; }
.j-footer__field .j-btn { min-height: 44px; }
.j-footer .g-recaptcha { margin-top: 4px; }

/* placeholder for missing images: soft tint with the campus emblem */
.j-media--ph { background: linear-gradient(160deg, #f4f7fc, var(--j-tint-2)); }
.j-media--ph::after { content: ""; position: absolute; inset: 0; background: url('../images/jmc-emblem.webp') center / min(34%, 96px) no-repeat; opacity: .28; }
.j-site .j-row__title, .j-site .h-newsrow__title { font-family: var(--j-serif); }

@media (max-width: 420px) { .j-bar__actions { gap: 0; } .j-bar__actions .j-iconbtn { width: 40px; height: 40px; } .j-apply .j-btn { padding-inline: 12px; gap: 6px; } }

.j-site .j-footer__wordmark { margin: 4px 0 0; }
.j-footer .j-footer__title--sub { margin-top: 26px; }
/* (5) Nepali labels are longer: keep the header row inside the grid */
.j-site:lang(ne) .j-nav__link, .j-site:lang(ne) .j-nav__toggle { padding-inline: 7px; font-size: .95rem; }
.j-site:lang(ne) .j-nav__link::after, .j-site:lang(ne) .j-nav__toggle::after { left: 7px; right: 7px; }
/* (7) mega panel aligned to the container; photo without a wash */
.j-mega { right: var(--j-gutter); }
.j-mega__brand { justify-content: flex-start; padding: 0 0 22px; }
.j-mega__brand img { position: static; width: 100%; height: 150px; object-fit: cover; margin-bottom: 6px; }
.j-mega__brand::after { content: none; }
.j-mega__brand > :not(img) { margin-inline: 22px; }
.j-mega__brand .j-btn { justify-self: start; align-self: flex-start; }

/* nav dropdown triggers are <button>s: '.j-site button { font: inherit }' outranked them, so they rendered lighter than links */
.j-site .j-nav__toggle { font-family: var(--j-sans); font-weight: 600; font-size: .97rem; }
.j-site:lang(ne) .j-nav__toggle { font-size: .95rem; }
.j-site .j-drawer__toggle { font-weight: 600; font-size: 1.02rem; }

/* =====================================================================================================
   VALLEY MORNING (round 2): snow ground, ice bands, glacier ridge lines, sky-blue ink, first-light gold.
   Display face for big Latin headings; Devanagari falls back to Noto Serif Devanagari.
   ===================================================================================================== */
:root {
    --j-display: 'Noto Serif Display', 'Noto Serif Devanagari', 'Noto Serif', Georgia, serif;
    --j-mist: #f4f7fa;
    --j-ice: #e7eef6;
    --j-glacier: #c7d6e7;
    --j-ink: #0f1b33;
    --j-header-h: 84px;
    --j-sticky: 108px;
    --j-section: clamp(64px, 8vw, 128px);
    --j-contours: url('../images/jmc-contours.svg');
}
.j-h1, .j-h2, .j-pagehead .j-h1 { font-family: var(--j-display); font-weight: 500; letter-spacing: -0.025em; }
.j-site:lang(ne) .j-h1, .j-site:lang(ne) .j-h2 { font-weight: 700; letter-spacing: 0; }
.j-h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1.06; }
.j-site:lang(ne) .j-h2 { line-height: 1.3; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.j-sechead { margin-bottom: clamp(32px, 4vw, 56px); padding-bottom: 22px; border-bottom: 1px solid var(--j-glacier); }
.j-sechead p { font-size: 1.08rem; }

/* ---- minimal header ---- */
.v-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.v-header.is-scrolled { border-color: var(--j-line); box-shadow: 0 10px 30px -24px rgba(15, 27, 51, .35); }
.v-bar { display: flex; align-items: center; gap: 24px; min-height: var(--j-header-h); }
.v-bar .j-logo { margin-right: auto; }
.v-bar .j-logo img { height: 50px; }
.v-quick ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.v-quick a { position: relative; display: inline-flex; align-items: center; height: var(--j-header-h); padding: 0 14px; color: var(--j-ink) !important; font-weight: 600; font-size: .97rem; }
.v-quick a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 24px; height: 1.5px; background: var(--j-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--j-ease-out); }
.v-quick a:hover::after, .v-quick a[aria-current="page"]::after { transform: scaleX(1); }
.v-bar__actions { display: flex; align-items: center; gap: 10px; }
.v-menubtn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border: 1px solid var(--j-line-strong); border-radius: 999px; background: #fff; color: var(--j-ink); font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.v-menubtn:hover { border-color: var(--j-blue); }
.v-menubtn__lines { width: 32px; height: 32px; border-radius: 50%; background: var(--j-blue); display: grid; place-content: center; gap: 4px; }
.v-menubtn__lines i { display: block; width: 14px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--j-ease-out); }
.v-menubtn:hover .v-menubtn__lines i:last-child { transform: translateX(-3px); }
.v-menubtn.is-close { padding-right: 14px; }
.v-menubtn.is-close .j-ico { width: 18px; height: 18px; }
@media (max-width: 1100px) { .v-quick { display: none; } }
@media (max-width: 640px) {
    :root { --j-header-h: 66px; --j-sticky: 82px; }
    .v-bar { gap: 8px; }
    .v-bar .j-logo img { height: 36px; }
    .v-bar__lang, .v-bar .j-iconbtn[data-j-search-open] { display: none; }
    .v-menubtn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .v-menubtn { padding: 0 5px; border-color: transparent; }
}

/* ---- full-screen menu (light) ---- */
.v-menu .j-drawer__panel { width: 100%; left: 0; right: 0; transform: translateY(-14px); opacity: 0; transition: transform .45s var(--j-ease-out), opacity .3s var(--j-ease); background: #fff; box-shadow: none; }
.v-menu.is-open .j-drawer__panel { transform: none; opacity: 1; }
.v-menu .j-drawer__panel::before { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: var(--j-contours) center bottom / cover no-repeat; opacity: .55; pointer-events: none; }
.v-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--j-header-h); border-bottom: 1px solid var(--j-line); position: relative; z-index: 1; }
.v-menu__top .j-logo img { height: 50px; }
.v-menu__topactions { display: flex; gap: 10px; align-items: center; }
.v-menu__body { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px) 0 48px; }
.v-menu__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.v-menu .j-drawer__list > li { border-bottom: 0; }
.v-menu .j-drawer__link, .v-menu .j-drawer__toggle { padding: 6px 0; font-family: var(--j-display); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.15; color: var(--j-ink) !important; letter-spacing: -0.02em; }
.j-site:lang(ne) .v-menu .j-drawer__link, .j-site:lang(ne) .v-menu .j-drawer__toggle { font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.v-menu .j-drawer__link:hover, .v-menu .j-drawer__toggle:hover { color: var(--j-blue) !important; }
.v-menu .j-drawer__sub { background: transparent; padding: 2px 0 12px; }
.v-menu .j-drawer__sub a { padding: 4px 0; color: var(--j-muted); font-size: 1.02rem; }
.v-menu__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.v-menu__gtitle { margin: 0 0 10px; font-family: var(--j-serif); font-weight: 700; color: var(--j-gold-text); font-size: 1rem; }
.v-menu__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.v-menu__group a { color: var(--j-text); font-weight: 500; display: inline; }
.v-menu__group a .j-ico { display: inline-block; vertical-align: -2px; margin-left: 5px; }
.v-menu__group a:hover { color: var(--j-blue); text-decoration: underline; }
.v-menu__aside { display: grid; gap: 18px; }
.v-menu__photo { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--j-ice); }
.v-menu__photo img { width: 100%; height: 100%; object-fit: cover; }
.v-menu__contact { flex-direction: column; align-items: flex-start; gap: 10px; }
.v-menu__contact a, .v-menu__contact span { white-space: normal; color: var(--j-text); }
@media (min-width: 1000px) {
    .v-menu .j-drawer__toggle { pointer-events: none; }
    .v-menu .j-drawer__toggle .j-ico { display: none; }
    .v-menu .j-drawer__sub { display: block; }
}
@media (max-width: 999px) {
    .v-menu__grid { grid-template-columns: minmax(0, 1fr); }
    .v-menu__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v-menu__photo { display: none; }
    .v-menu .j-drawer__list > li { border-bottom: 1px solid var(--j-line); }
}
@media (max-width: 520px) { .v-menu__groups { grid-template-columns: minmax(0, 1fr); } .v-menu__topactions .j-btn { display: none; } }

/* ---- inner page head: display title on the contour horizon ---- */
.j-pagehead { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--j-mist) 100%); border-bottom: 1px solid var(--j-glacier); padding-block: clamp(40px, 6vw, 88px) clamp(36px, 5vw, 64px); }
.j-pagehead::before { content: ""; position: absolute; inset: 35% -5% -10% -5%; background: var(--j-contours) center / cover no-repeat; opacity: .7; pointer-events: none; }
.j-pagehead > .j-container { position: relative; }
.j-pagehead .j-h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.6rem); line-height: 1.04; max-width: 20ch; margin-top: .5em; }
.j-site:lang(ne) .j-pagehead .j-h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.8rem); line-height: 1.28; }
.j-pagehead__lead { font-size: 1.15rem; max-width: 60ch; }

/* ---- footer: contour field + larger wordmark ---- */
.j-footer { background: var(--j-mist); border-top: 1px solid var(--j-glacier); }
.j-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: var(--j-contours) center top / cover no-repeat; opacity: .45; pointer-events: none; }
.j-footer__main { position: relative; }
.j-site .j-footer__wordmark { font-family: var(--j-display); font-weight: 600; color: #dfe8f2; font-size: clamp(4.2rem, 16vw, 15rem); letter-spacing: -0.04em; }

/* =====================================================================================================
   AURORA (round 3, 2026-12-03): modern premium. Body/UI in var(--j-font) (Source Sans 3 since 2026-12-04; was Schibsted Grotesk) (Noto Sans Devanagari for
   Nepali), tight display tracking, pill controls, 20-32px radii, soft layered shadows, light aurora
   gradients in institutional blue. White foundation; the only deep-navy surface is the admissions panel.
   Overrides earlier layers by source order; base heading rules use :where() so components win.
   ===================================================================================================== */
:root {
    --j-font: 'Source Sans 3', 'Noto Sans Devanagari', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    /* display headings (2026-12-04): Newsreader for Latin, Eczar for Devanagari. Named --j-font-heading because --j-heading is the heading colour */
    --j-font-heading: 'Newsreader', 'Eczar', 'Noto Sans Devanagari', Georgia, 'Times New Roman', serif;
    --j-sans: var(--j-font);
    --j-serif: var(--j-font);
    --j-display: var(--j-font);
    --j-navy: #0b1d4a;
    --j-blue: #12306a;
    --j-royal: #2450d8;          /* modern accent: hovers, highlights, focus (6.3:1 on white) */
    --j-action: #1e47c4;
    --j-action-hover: #12306a;
    --j-sky: #eef3ff;
    --j-sky-2: #e1e9fd;
    --j-ink: #0a1430;
    --j-text: #273149;
    --j-muted: #5a6479;
    --j-heading: #0a1430;
    --j-line: #e4e9f2;
    --j-line-strong: #cdd6e4;
    --j-paper-2: #f6f8fc;
    --j-tint: #f1f5fc;
    --j-tint-2: #e4ebf7;
    --j-radius: 12px;
    --j-radius-lg: 22px;
    --j-radius-xl: 32px;
    --j-header-h: 72px;
    --j-sticky: 104px;
    --j-section: clamp(72px, 9vw, 136px);
    --j-shadow-sm: 0 1px 2px rgba(10, 20, 48, .06), 0 2px 8px -2px rgba(10, 20, 48, .06);
    --j-shadow-card: 0 1px 2px rgba(10, 20, 48, .05), 0 18px 40px -22px rgba(18, 48, 106, .28);
    --j-shadow-lift: 0 2px 4px rgba(10, 20, 48, .05), 0 30px 60px -28px rgba(18, 48, 106, .38);
    --j-aurora: radial-gradient(60% 70% at 12% 8%, rgba(120, 160, 255, .22), transparent 60%), radial-gradient(50% 60% at 88% 0%, rgba(150, 120, 255, .14), transparent 60%), radial-gradient(60% 60% at 70% 100%, rgba(80, 190, 255, .12), transparent 65%);
}
body.j-site { font-family: var(--j-font); font-size: 1.0625rem; line-height: 1.65; color: var(--j-text); letter-spacing: -0.003em; }
.j-site:lang(ne) { line-height: 1.8; letter-spacing: 0; }
.j-site :where(h1, h2, h3, h4, h5, h6) { font-family: var(--j-font); color: var(--j-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.j-site :where(h1, h2) { font-family: var(--j-font); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.j-site:lang(ne) :where(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
.j-site ::selection { background: #cfdcff; color: var(--j-ink); }
.j-site :focus-visible { outline: 2.5px solid var(--j-royal); outline-offset: 3px; border-radius: 8px; }

/* type scale */
.j-h1, .j-h2, .j-pagehead .j-h1 { font-family: var(--j-font); font-weight: 800; letter-spacing: -0.04em; }
.j-h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1.04; }
.j-h3 { font-family: var(--j-font); font-weight: 700; letter-spacing: -0.02em; }
.j-site:lang(ne) .j-h1, .j-site:lang(ne) .j-h2, .j-site:lang(ne) .j-pagehead .j-h1 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.j-site:lang(ne) .j-h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.j-lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--j-muted); }
.j-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--j-sky); color: var(--j-blue); font-size: .875rem; font-weight: 700; letter-spacing: .01em; border: 1px solid var(--j-sky-2); }
.j-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--j-royal); box-shadow: 0 0 0 4px rgba(36, 80, 216, .16); }
.j-sechead { border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.j-sechead p { font-size: 1.1rem; color: var(--j-muted); }
.j-sechead .j-h2 { margin-bottom: .25em; }

/* buttons: pills */
.j-btn { border-radius: 999px; min-height: 50px; padding: 12px 24px; font-family: var(--j-font); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; --j-btn-bg: var(--j-blue); --j-btn-bd: var(--j-blue); box-shadow: 0 1px 2px rgba(10, 20, 48, .12), inset 0 1px 0 rgba(255, 255, 255, .12); transition: background-color .25s var(--j-ease), border-color .25s var(--j-ease), color .25s, box-shadow .3s var(--j-ease), transform .25s var(--j-ease-out); }
.j-btn:hover { --j-btn-bg: var(--j-royal); --j-btn-bd: var(--j-royal); box-shadow: 0 12px 28px -12px rgba(36, 80, 216, .6); transform: translateY(-1px); }
.j-btn:active { transform: translateY(0); }
.j-btn--outline { --j-btn-bg: #fff; --j-btn-fg: var(--j-ink); --j-btn-bd: var(--j-line-strong); box-shadow: var(--j-shadow-sm); }
.j-btn--outline:hover { --j-btn-bg: #fff; --j-btn-fg: var(--j-royal); --j-btn-bd: var(--j-royal); box-shadow: 0 10px 24px -14px rgba(36, 80, 216, .45); }
.j-btn--ghost { box-shadow: none; }
.j-btn--ghost:hover { --j-btn-bg: var(--j-sky); --j-btn-fg: var(--j-royal); box-shadow: none; transform: none; }
.j-btn--light { --j-btn-bg: #fff; --j-btn-fg: var(--j-navy); --j-btn-bd: #fff; }
.j-btn--light:hover { --j-btn-bg: #fff; --j-btn-fg: var(--j-royal); --j-btn-bd: #fff; }
.j-btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.j-btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
/* j-more: one secondary text-link style for "View all / All notices / Read more" links [RISD + Hull + KU].
   Navy text, trailing arrow, a royal hairline underline; on hover the gap opens 8 -> 12px while margin-right
   shrinks 4 -> 0, so the link's box (and anything beside it) never moves. No icon nudge. Pills are for real CTAs only. */
.j-site .j-more {
    display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; padding-bottom: 4px;
    border-bottom: 1px solid rgb(36 80 216 / .35);
    color: var(--j-blue); font-size: 1rem; font-weight: 700; line-height: 1.35; text-decoration: none;
    transition: gap .2s cubic-bezier(.4, 0, .2, 1), margin-right .2s cubic-bezier(.4, 0, .2, 1), border-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
}
/* .j-site + .j-empty: outranks '.j-empty .j-more .j-ico' (30px) in jmc-content.css and '.j-empty .j-ico' (40px) */
.j-site .j-more .j-ico, .j-site .j-empty .j-more .j-ico { width: 16px; height: 16px; padding: 0; margin: 0; border-radius: 0; background: none; color: currentColor; transform: none; transition: none; }
.j-site .j-more:hover, .j-site .j-more:focus-visible { gap: 12px; margin-right: 0; color: var(--j-royal); border-bottom-color: currentColor; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .j-site .j-more { transition: none; } }

/* chips */
.j-chip { background: var(--j-sky); border-color: var(--j-sky-2); color: var(--j-blue); font-weight: 700; padding: 4px 12px; }
.j-chip--gold { background: #fff6e0; border-color: #f3e3b5; color: #7a5a12; }
.j-chip--new { background: #e3f8ed; border-color: #c4ecd6; color: #0f6a3d; }

/* cards & surfaces */
.j-media { border-radius: var(--j-radius-lg); background: var(--j-tint); }
.j-card, .j-program, .j-doc, .j-aside-box, .j-panel, .j-table-wrap { border-radius: var(--j-radius-lg); border-color: var(--j-line); box-shadow: var(--j-shadow-sm); }
.j-card, .j-program { transition: transform .4s var(--j-ease-out), box-shadow .4s var(--j-ease), border-color .3s; }
.j-card:hover, .j-program:hover { transform: translateY(-4px); box-shadow: var(--j-shadow-lift); border-color: transparent; }
.j-card .j-media, .j-program .j-media { border-radius: 0; }
.j-card__body, .j-program__body { padding: 22px 24px 24px; }
.j-card__title, .j-program__title, .j-row__title, .j-album__title, .j-person__name, .j-aside-box__title, .j-footer__title, .j-mega__title { font-family: var(--j-font); font-weight: 700; letter-spacing: -0.015em; }
.j-site .j-row__title, .j-site .h-newsrow__title { font-family: var(--j-font); }
.j-card__title { font-size: 1.2rem; line-height: 1.35; }
.j-program__title { font-size: 1.4rem; letter-spacing: -0.025em; }
.j-program__foot { border-top-color: var(--j-line); }
.j-meta .j-ico, .j-program__facts .j-ico, .j-footer__contact .j-ico, .j-util__list .j-ico { color: var(--j-royal); }
.j-doc { padding: 18px 20px; }
.j-doc:hover, .j-aside-box:hover { box-shadow: var(--j-shadow-card); }
.j-doc__icon { border-radius: 14px; background: var(--j-sky); color: var(--j-royal); }
.j-aside-box { padding: 26px; }
.j-aside-box__title { font-size: 1.1rem; }
.j-aside-box--tint { background: var(--j-paper-2); }
.j-panel { padding: clamp(24px, 3.4vw, 44px); }
.j-person .j-media { border-radius: var(--j-radius-lg); }
.j-album .j-media, .j-gallery a { border-radius: var(--j-radius-lg); }
.j-quote__text { font-family: var(--j-font); font-weight: 600; letter-spacing: -0.015em; }
.j-quote__text::before { color: var(--j-royal); font-family: Georgia, serif; }
.j-empty { background: var(--j-paper-2); border-radius: var(--j-radius-xl); border: 1px dashed var(--j-line-strong); }
.j-empty .j-ico { color: var(--j-royal); }
.j-prose { font-size: 1.075rem; line-height: 1.8; }
.j-prose blockquote { font-family: var(--j-font); border-left: 0; padding: 22px 26px; border-radius: 18px; background: var(--j-sky); font-weight: 600; }
.j-prose li::marker { color: var(--j-royal); }
.j-prose img { border-radius: 16px; }
.j-prose th, .j-prose thead td { background: var(--j-paper-2); }
.j-ledger__item { border-radius: 16px; padding: 16px 12px; border-bottom-color: var(--j-line); }
.j-ledger__item:hover { background: var(--j-sky); }
.j-ledger__date { border-right: 0; background: #fff; border: 1px solid var(--j-line); border-radius: 14px; padding: 8px 0; }
.j-ledger__day { font-family: var(--j-font); font-weight: 800; color: var(--j-blue); letter-spacing: -0.03em; font-size: 1.6rem; }
.j-site .j-ledger__title { font-family: var(--j-font); font-weight: 600; }
.j-row { border-bottom-color: var(--j-line); }
.j-row .j-media { border-radius: 16px; }
.j-tabs { border-bottom: 0; gap: 8px; padding: 6px; background: var(--j-paper-2); border-radius: 999px; display: inline-flex; border: 1px solid var(--j-line); }
.j-tab { border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--j-muted); }
.j-tab::after { content: none; }
.j-tab:hover { background: #fff; color: var(--j-ink); }
.j-tab[aria-selected="true"] { background: var(--j-blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(18, 48, 106, .6); }
@media (max-width: 640px) { .j-tabs { display: flex; border-radius: 18px; margin-inline: 0; } }
.j-table th { background: var(--j-paper-2); font-weight: 700; color: var(--j-ink); font-size: .9rem; }
.j-table tbody tr:hover td { background: var(--j-sky); }
.j-linklist a { border-radius: 12px; padding: 11px 12px; margin-inline: -12px; border-bottom: 0; }
.j-linklist a:hover, .j-linklist a[aria-current="page"] { background: var(--j-sky); }
.j-site .pagination .page-link { border-radius: 999px !important; min-width: 44px; height: 44px; font-weight: 600; }
.j-site .pagination .active .page-link, .j-site .pagination .page-item.active .page-link { background: var(--j-blue); border-color: var(--j-blue); }

/* forms */
.j-input, .j-select, .j-textarea, .j-site .form-control, .j-site .form-select { border-radius: 14px; border: 1.5px solid var(--j-line-strong); min-height: 52px; padding: 12px 16px; font-family: var(--j-font); background-color: #fff; }
.j-input:focus, .j-select:focus, .j-textarea:focus, .j-site .form-control:focus, .j-site .form-select:focus { border-color: var(--j-royal); box-shadow: 0 0 0 4px rgba(36, 80, 216, .14); }
.j-label, .j-site .form-label { font-weight: 700; font-size: .92rem; color: var(--j-ink); }
.j-alert { border-radius: 16px; }

/* ---- header: floating glass pill ---- */
.j-header.v-header { background: transparent; border: 0; box-shadow: none; padding-top: 14px; pointer-events: none; }
.j-header.v-header.is-scrolled { box-shadow: none; }
.v-header > .j-container { pointer-events: auto; }
.v-bar { min-height: var(--j-header-h); padding: 0 10px 0 22px; gap: 18px; border-radius: 999px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border: 1px solid rgba(18, 48, 106, .09); box-shadow: 0 1px 2px rgba(10, 20, 48, .04), 0 12px 32px -18px rgba(18, 48, 106, .28); transition: background-color .3s, box-shadow .3s; }
.is-scrolled .v-bar { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 2px rgba(10, 20, 48, .05), 0 18px 40px -20px rgba(18, 48, 106, .4); }
.v-bar .j-logo img { height: 44px; }
.v-quick ul { gap: 2px; }
.v-quick a { height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--j-ink) !important; transition: background-color .2s, color .2s; }
.v-quick a::after { content: none; }
.v-quick a:hover, .v-quick a[aria-current="page"] { background: var(--j-sky); color: var(--j-blue) !important; }
.v-bar__actions { gap: 8px; }
.v-bar .j-iconbtn { width: 42px; height: 42px; }
.v-bar .j-iconbtn:hover { background: var(--j-sky); border-color: transparent; }
.v-bar .j-apply .j-btn { min-height: 44px; padding: 8px 18px; }
.j-lang { border-color: var(--j-line); background: var(--j-paper-2); padding: 3px; gap: 2px; }
.j-lang a, .j-lang span { border-radius: 999px; padding: 3px 11px; }
.j-lang [aria-current] { background: var(--j-blue); }
.v-menubtn { height: 44px; border-color: var(--j-line); background: #fff; font-weight: 700; padding: 0 5px 0 18px; }
.v-menubtn:hover { border-color: var(--j-royal); }
.v-menubtn__lines { width: 34px; height: 34px; background: var(--j-ink); }
.j-drop { border-radius: 20px; padding: 10px; box-shadow: 0 0 0 1px rgba(18, 48, 106, .08), 0 24px 48px -16px rgba(18, 48, 106, .3); }
.j-drop a { border-radius: 12px; font-weight: 600; }
.j-drop a:hover, .j-drop a:focus-visible { background: var(--j-sky); color: var(--j-royal); }
.j-drop .j-drop__label .j-ico { color: var(--j-royal); }
@media (max-width: 1100px) { .v-bar { padding-left: 18px; } }
@media (max-width: 640px) {
    :root { --j-header-h: 60px; --j-sticky: 84px; }
    .j-header.v-header { padding-top: 10px; }
    .v-bar { padding: 0 6px 0 14px; }
    .v-bar .j-logo img { height: 34px; }
    .v-bar .j-apply .j-btn { min-height: 40px; padding: 6px 14px; }
}

/* full-screen menu */
.v-menu .j-drawer__panel { background: #fff; }
.v-menu .j-drawer__panel::before { inset: 0; height: auto; background: var(--j-aurora); opacity: 1; }
.v-menu__top { border-bottom: 0; padding-top: 14px; }
.v-menu .j-drawer__link, .v-menu .j-drawer__toggle { font-family: var(--j-font); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem); line-height: 1.12; }
.j-site:lang(ne) .v-menu .j-drawer__link, .j-site:lang(ne) .v-menu .j-drawer__toggle { font-weight: 700; letter-spacing: 0; }
.v-menu .j-drawer__link:hover, .v-menu .j-drawer__toggle:hover { color: var(--j-royal) !important; }
.v-menu__gtitle { font-family: var(--j-font); color: var(--j-royal); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.j-site:lang(ne) .v-menu__gtitle { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.v-menu__photo { border-radius: 24px; }

/* search overlay */
.j-search { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.j-search__label { font-family: var(--j-font); font-weight: 800; letter-spacing: -0.035em; }
.j-search__field { border: 1.5px solid var(--j-line-strong); border-radius: 999px; padding: 6px 10px 6px 22px; background: #fff; box-shadow: var(--j-shadow-card); }

/* ---- inner page head: aurora panel ---- */
.j-pagehead { background: transparent; border: 0; padding: clamp(10px, 1.5vw, 18px) 0 0; overflow: visible; }
.j-pagehead::before { content: none; }
.j-pagehead > .j-container > .j-pagehead__inner { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--j-radius-xl); padding: clamp(36px, 5vw, 76px) clamp(24px, 4.5vw, 72px); background: linear-gradient(135deg, #f3f6ff 0%, #ffffff 55%, #eef4ff 100%); border: 1px solid var(--j-line); }
.j-pagehead > .j-container > .j-pagehead__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--j-aurora); }
.j-pagehead .j-h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 18ch; margin: .45em 0 0; color: var(--j-ink); }
.j-site:lang(ne) .j-pagehead .j-h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1.3; letter-spacing: 0; }
.j-pagehead__lead { font-size: 1.15rem; color: var(--j-muted); }
.j-crumbs { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--j-line); font-size: .85rem; font-weight: 600; }
.j-crumbs li + li::before { border-color: var(--j-muted); }
.j-crumbs [aria-current] { color: var(--j-royal); }
.j-pagehead + * { margin-top: 0; }

/* ---- footer: light, modern ---- */
.j-footer { background: var(--j-paper-2); border-top: 0; margin-top: clamp(24px, 4vw, 48px); }
.j-footer::before { inset: 0; height: auto; background: var(--j-aurora); opacity: .7; }
.j-footer__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--j-muted); font-weight: 800; }
.j-site:lang(ne) .j-footer__title { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--j-ink); }
.j-footer__links a { font-weight: 600; color: var(--j-ink); }
.j-footer__links a:hover { color: var(--j-royal); text-decoration: none; }
.j-footer__contact a, .j-footer__contact span { color: var(--j-ink); }
.j-footer__about { color: var(--j-muted); }
.j-site .j-footer__wordmark { font-family: var(--j-font); font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px #c9d6ee; font-size: clamp(4.4rem, 17vw, 16rem); height: .74em; }
.j-footer__bottom { background: transparent; border-top: 1px solid var(--j-line); }
.j-social a { border-color: var(--j-line); }
.j-social a:hover { background: var(--j-royal); border-color: var(--j-royal); }
.j-footer__field .j-input { border-radius: 999px; padding-left: 20px; }
.j-totop { border-color: var(--j-line); box-shadow: var(--j-shadow-card); }
.j-totop:hover { background: var(--j-royal); border-color: var(--j-royal); }

/* scroll reveal (progressive: only when JS marks the page ready) */
.j-reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--j-ease-out), transform .9s var(--j-ease-out); }
.j-reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .j-reveal-ready [data-reveal] { opacity: 1; transform: none; } }
.j-container.v-bar { width: calc(100% - 2 * var(--j-gutter)); max-width: calc(var(--j-container) + 48px); }
@media (max-width: 640px) { .j-container.v-bar { width: calc(100% - 20px); } }

/* ---- Aurora refinement (after reference research): institutional restraint ----
   Solid white header (hairline on scroll), no glass or aurora washes, tighter radii (cards 16, panels 24),
   hairlines at rest and shadow only on hover, serif accent words (var(--j-accent-serif), Newsreader since 2026-12-04) in headlines. */
:root { --j-radius-lg: 16px; --j-radius-xl: 24px; --j-accent-serif: var(--j-font-heading); --j-header-h: 78px; --j-sticky: 96px; }
.j-header.v-header { background: #fff; padding-top: 0; pointer-events: auto; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.j-header.v-header.is-scrolled { border-bottom-color: var(--j-line); box-shadow: 0 10px 30px -26px rgba(10, 20, 48, .45); }
.j-container.v-bar { width: 100%; max-width: calc(var(--j-container) + 2 * var(--j-gutter)); padding: 0 var(--j-gutter); border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; }
.is-scrolled .v-bar { background: none; box-shadow: none; }
.v-bar .j-logo img { height: 48px; }
.v-quick a { border-radius: 8px; }
.v-quick a:hover, .v-quick a[aria-current="page"] { background: var(--j-paper-2); color: var(--j-blue) !important; }
@media (max-width: 640px) { :root { --j-header-h: 64px; --j-sticky: 76px; } .j-container.v-bar { width: 100%; } .v-bar .j-logo img { height: 36px; } }
.v-menu .j-drawer__panel::before { content: none; }
.j-footer::before { content: none; }
.j-footer { background: var(--j-paper-2); border-top: 1px solid var(--j-line); }
.j-card, .j-program, .j-doc, .j-aside-box, .j-panel, .j-table-wrap { box-shadow: none; }
.j-card:hover, .j-program:hover { box-shadow: var(--j-shadow-card); transform: translateY(-3px); border-color: var(--j-line-strong); }
.j-pagehead > .j-container > .j-pagehead__inner { background: var(--j-paper-2); border: 1px solid var(--j-line); }
.j-pagehead > .j-container > .j-pagehead__inner::before { background: linear-gradient(90deg, var(--j-blue) 0 72px, transparent 72px) left top / 100% 4px no-repeat; }
.j-site :is(h1, h2, .j-h1, .j-h2) em, .j-accent { font-family: var(--j-accent-serif); font-style: normal; font-weight: 500; letter-spacing: -0.02em; color: var(--j-royal); }
.j-eyebrow { background: transparent; border: 0; padding: 0; color: var(--j-royal); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; gap: 10px; }
.j-eyebrow::before { width: 22px; height: 2px; border-radius: 2px; box-shadow: none; background: var(--j-royal); }
.j-site:lang(ne) .j-eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.hm-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #9db7ff; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hm-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.j-site:lang(ne) .hm-kicker { text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* tracking eased for the grotesk at display sizes (words were touching); eyebrow keeps its colour inside section heads */
.j-site :where(h1, h2) { letter-spacing: -0.028em; }
.j-h1, .j-h2, .j-pagehead .j-h1 { letter-spacing: -0.03em; }
.j-site .j-sechead .j-eyebrow { color: var(--j-royal); font-size: .82rem; margin-bottom: 16px; }
.j-site:lang(ne) .j-sechead .j-eyebrow { font-size: .95rem; }
@media (max-width: 640px) {
    .j-site .v-menubtn { padding: 0 4px; border-color: transparent; gap: 0; }
    .j-site .v-bar .j-apply .j-btn { min-height: 40px; padding: 6px 14px; font-size: .92rem; }
    .j-site .v-bar__actions { gap: 4px; }
}
@media (max-width: 380px) { .j-site .v-bar .j-logo img { height: 30px; } }
/* shared fixes after review: no corner accent bar on the page head; uppercase footer labels keep their tracking; wider menu link columns */
.j-pagehead > .j-container > .j-pagehead__inner::before { content: none; }
.j-site .j-footer__title { letter-spacing: .1em; }
.j-site:lang(ne) .j-footer__title { letter-spacing: 0; }
@media (min-width: 1000px) { .v-menu__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr) minmax(0, .9fr); } }

/* =====================================================================================================
   THREE-TIER HEADER (2026-12-03, after the reference the user chose): white utility bar (logo, student
   links, language, search, outlined Apply), institutional-navy menu bar with dropdowns that pins on scroll
   (compact emblem + Apply appear once pinned), and a notice ticker under the header.
   ===================================================================================================== */
:root { --k-top-h: 88px; --k-nav-h: 56px; --j-sticky: 84px; }
.j-header.k-header { position: sticky; top: calc(-1 * var(--k-top-h)); z-index: 1000; background: #fff; border: 0; box-shadow: none; padding: 0; pointer-events: auto; }
.j-header.k-header.is-scrolled { box-shadow: none; border: 0; }
.k-header.is-pinned .k-nav { box-shadow: 0 14px 30px -18px rgba(10, 20, 48, .55); }

/* tier 1 */
.k-top { background: #fff; }
.k-top__inner { display: flex; align-items: center; gap: 28px; min-height: var(--k-top-h); }
.k-logo { margin-right: auto; }
.k-logo img { height: 54px; width: auto; display: block; }
.k-util ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.k-util a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 8px; color: var(--j-text) !important; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: color .2s, background-color .2s; }
.k-util a:hover, .k-util a[aria-current="page"] { color: var(--j-royal) !important; background: var(--j-paper-2); }
.k-util .j-ico { width: .8em; height: .8em; opacity: .7; }
.k-top__actions { display: flex; align-items: center; gap: 10px; }
.k-lang { background: var(--j-paper-2); }
.k-search { color: var(--j-ink); }
.k-search:hover { background: var(--j-paper-2); border-color: var(--j-line); }
.k-entrance { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--j-blue); background: #fff; color: var(--j-blue); font-family: var(--j-font); font-weight: 700; font-size: .98rem; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.k-entrance .j-ico { width: 15px; height: 15px; transition: transform .25s var(--j-ease-out); }
.k-entrance:hover, .k-apply.is-open .k-entrance { background: var(--j-blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 48, 106, .6); }
.k-apply.is-open .k-entrance .j-ico { transform: rotate(180deg); }
.k-apply .j-drop { top: calc(100% + 10px); }
.k-menubtn { display: none; }

/* tier 2: navy menu bar */
.k-nav { position: relative; background: var(--j-blue); color: #fff; transition: box-shadow .3s; }
.k-nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .04)); pointer-events: none; }
.k-nav__inner { position: relative; display: flex; align-items: center; min-height: var(--k-nav-h); }
.k-nav__logo { flex: none; display: grid; place-items: center; width: 0; height: 40px; margin-right: 0; overflow: hidden; opacity: 0; border-radius: 50%; background: #fff; transition: width .35s var(--j-ease-out), margin .35s var(--j-ease-out), opacity .25s; }
.k-nav__logo img { width: 36px; height: 36px; }
.k-header.is-pinned .k-nav__logo { width: 40px; margin-right: 14px; opacity: 1; }
.k-nav__list { flex: 1; display: flex; align-items: stretch; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; min-height: var(--k-nav-h); }
.k-header.is-pinned .k-nav__list { justify-content: flex-start; }
.k-nav__item { position: relative; display: flex; }
.k-nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 15px; border: 0; background: none; color: #fff !important; font-family: var(--j-font); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.k-nav__link .j-ico { width: 14px; height: 14px; opacity: .75; transition: transform .25s var(--j-ease-out); }
.k-nav__link::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #8fb0ff; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--j-ease-out); }
.k-nav__link:hover, .k-nav__item.is-open > .k-nav__link { background: rgba(255, 255, 255, .08); }
.k-nav__link:hover::after, .k-nav__item.is-open > .k-nav__link::after, .k-nav__link[aria-current="page"]::after, .k-nav__item.is-current > .k-nav__link::after { transform: scaleX(1); }
.k-nav__item.is-open > .k-nav__link .j-ico { transform: rotate(180deg); }
.k-nav__link:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
.k-drop { top: 100%; left: 0; min-width: 270px; margin-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 0 0 1px rgba(18, 48, 106, .08), 0 24px 48px -16px rgba(18, 48, 106, .3); }
.k-drop a { justify-content: space-between; }
.k-nav__item:last-child .k-drop, .k-nav__item:nth-last-child(2) .k-drop { left: auto; right: 0; }
.k-nav__item--mega { position: static; }
.k-mega { top: 100%; left: 50%; right: auto; transform: translate(-50%, 6px); width: min(1080px, calc(100vw - 2 * var(--j-gutter))); max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 8px; padding: 22px; border-radius: 0 0 20px 20px; box-shadow: 0 0 0 1px rgba(18, 48, 106, .08), 0 24px 48px -16px rgba(18, 48, 106, .3); }
.j-nav__item:hover > .k-mega, .j-nav__item.is-open > .k-mega { transform: translate(-50%, 0); }
.j-nav__item.is-closed-by-key > .k-mega { transform: translate(-50%, 6px); }
.k-mega__col { padding: 6px 10px; }
.k-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.k-mega__col a { margin-inline: -12px; }
.k-mega__title { margin: 0 0 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--j-royal); }
.j-site:lang(ne) .k-mega__title { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.k-mega__card { position: relative; display: block; min-height: 220px; border-radius: 14px; overflow: hidden; color: #fff !important; }
.k-mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--j-ease-out); }
.k-mega__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 48, 0) 30%, rgba(10, 20, 48, .8)); }
.k-mega__card:hover img { transform: scale(1.06); }
.k-mega__cardtext { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.k-mega__cardtext b { font-size: 1.05rem; font-weight: 800; }
.k-mega__cardtext small { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: #dbe5ff; }
.k-nav__apply { flex: none; display: inline-flex; align-items: center; gap: 8px; max-width: 0; overflow: hidden; opacity: 0; padding: 0; height: 40px; border-radius: 999px; background: #fff; color: var(--j-blue) !important; font-weight: 800; font-size: .92rem; white-space: nowrap; transition: max-width .4s var(--j-ease-out), opacity .3s, padding .4s var(--j-ease-out), margin .4s; pointer-events: none; }
.k-nav__apply .j-ico { width: 14px; height: 14px; }
.k-header.is-pinned .k-nav__apply { max-width: 220px; opacity: 1; padding: 0 18px; margin-left: 12px; pointer-events: auto; }
.k-nav__apply:hover { background: #dce6ff; }
.j-site:lang(ne) .k-nav__link { font-size: .98rem; padding: 0 12px; }
@media (max-width: 1280px) { .k-nav__link { padding: 0 11px; font-size: .96rem; } .k-nav__link::after { left: 11px; right: 11px; } .k-util a { padding: 8px 9px; } .k-top__inner { gap: 18px; } }
@media (max-width: 1180px) { .k-util { display: none; } }

/* small screens: one white bar (logo, Apply, Menu) pinned; menu bar replaced by the full-screen menu */
@media (max-width: 1099px) {
    :root { --k-top-h: 72px; --j-sticky: 88px; }
    .j-header.k-header { top: 0; box-shadow: 0 1px 0 var(--j-line); }
    .k-header.is-scrolled { box-shadow: 0 1px 0 var(--j-line), 0 10px 24px -20px rgba(10, 20, 48, .5); }
    .k-nav { display: none; }
    .k-menubtn { display: inline-flex; }
    .k-logo img { height: 46px; }
}
@media (max-width: 640px) {
    :root { --k-top-h: 64px; --j-sticky: 80px; }
    .k-logo img { height: 36px; }
    .k-top__inner { gap: 8px; }
    .k-top__actions { gap: 4px; }
    .k-lang, .k-search { display: none; }
    .k-entrance { height: 40px; padding: 0 14px; font-size: .92rem; }
    .j-site .k-menubtn { padding: 0 4px; border-color: transparent; gap: 0; }
}
@media (max-width: 380px) { .k-logo img { height: 30px; } .k-entrance { padding: 0 11px; } }

/* tier 3: notice ticker */
.k-ticker { position: relative; z-index: 5; display: flex; align-items: stretch; height: 46px; background: var(--j-paper-2); border-bottom: 1px solid var(--j-line); overflow: hidden; }
.k-ticker__label { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px 0 max(var(--j-gutter), calc((100vw - var(--j-container)) / 2)); background: var(--j-royal); color: #fff !important; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.j-site:lang(ne) .k-ticker__label { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.k-ticker__label::after { content: ""; position: absolute; top: 0; bottom: 0; right: -16px; width: 16px; background: var(--j-royal); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.k-ticker__label:hover { background: var(--j-blue); }
.k-ticker__label:hover::after { background: var(--j-blue); }
.k-ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: k-pulse 1.8s ease-out infinite; }
@keyframes k-pulse { to { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
.k-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; padding-left: 28px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.k-ticker__track { display: flex; width: max-content; animation: k-ticker var(--k-ticker-dur, 60s) linear infinite; }
.k-ticker:hover .k-ticker__track, .k-ticker:focus-within .k-ticker__track, .k-ticker.is-paused .k-ticker__track { animation-play-state: paused; }
@keyframes k-ticker { to { transform: translateX(-50%); } }
.k-ticker__set { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.k-ticker__set li { display: inline-flex; align-items: baseline; gap: 8px; padding-right: 40px; white-space: nowrap; font-size: .95rem; }
.k-ticker__set li::before { content: ""; align-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--j-royal); margin-right: 4px; }
.k-ticker__set a { color: var(--j-ink) !important; font-weight: 600; }
.k-ticker__set a:hover { color: var(--j-royal) !important; text-decoration: underline; }
.k-ticker__set time { color: var(--j-muted); font-size: .84rem; }
.k-ticker__toggle { flex: none; display: grid; place-items: center; width: 46px; border: 0; border-left: 1px solid var(--j-line); background: #fff; color: var(--j-ink); cursor: pointer; margin-right: max(0px, calc((100vw - var(--j-container)) / 2 - var(--j-gutter))); }
.k-ticker__toggle:hover { color: var(--j-royal); }
.k-ticker__toggle .j-ico { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .k-ticker__track { animation: none; } .k-ticker__viewport { overflow-x: auto; } }
@media (max-width: 640px) { .k-ticker { height: 42px; } .k-ticker__label { padding: 0 14px 0 var(--j-gutter); font-size: .78rem; } .k-ticker__set li { font-size: .9rem; } .k-ticker__viewport { padding-left: 22px; } }
/* dropdown triggers are <button>s: '.j-site button { font: inherit }' would make them lighter than the links */
.j-site .k-nav__link { font-family: var(--j-font); font-weight: 700; font-size: 1rem; }
@media (max-width: 1280px) { .j-site .k-nav__link { font-size: .96rem; } }
.j-site:lang(ne) .k-nav__link { font-size: .98rem; }
.j-site .k-entrance { font-family: var(--j-font); font-weight: 700; }
/* page head: tighter panel, breathing room between title and lead */
.j-pagehead > .j-container > .j-pagehead__inner { padding: clamp(28px, 3.6vw, 52px) clamp(22px, 4vw, 60px); }
.j-pagehead .j-h1 { margin-top: .35em; }
.j-pagehead__lead { margin-top: 1rem; }
/* fixes from the page audits: ghost buttons had inherited the blue fill; leftover gold icon; h2 used as card titles was squashed; breadcrumb pill on wrap */
.j-btn.j-btn--ghost { --j-btn-bg: transparent; --j-btn-fg: var(--j-action); --j-btn-bd: transparent; box-shadow: none; }
.j-btn.j-btn--ghost:hover { --j-btn-bg: var(--j-sky); --j-btn-fg: var(--j-royal); --j-btn-bd: transparent; transform: none; }
.j-empty .j-ico, .j-ledger__day { color: var(--j-royal); }
.j-site :where(h1, h2) { line-height: 1.12; }
@media (max-width: 640px) { .j-crumbs { border-radius: 14px; } }
/* footer without the decorative wordmark: the bottom strip sits on the grid with normal spacing */
.j-footer__main { padding-bottom: clamp(36px, 4vw, 56px); }

/* =====================================================================================================
   REFINEMENT PASS (2026-12-03): calmer, consistent scale. Headings attractive but not oversized, tighter
   section rhythm, one card radius, shadows only on interaction.
   ===================================================================================================== */
:root { --j-section: clamp(60px, 6.5vw, 100px); --j-radius-lg: 14px; --j-radius-xl: 20px; }
.j-h2, .j-site .j-sechead .j-h2 { font-size: clamp(1.85rem, 1.25rem + 1.75vw, 2.7rem); line-height: 1.1; letter-spacing: -0.025em; }
.j-site:lang(ne) .j-h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem); line-height: 1.35; letter-spacing: 0; }
.j-pagehead .j-h1 { font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.35rem); line-height: 1.06; letter-spacing: -0.03em; }
.j-site:lang(ne) .j-pagehead .j-h1 { font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.9rem); line-height: 1.3; }
.j-h3 { font-size: clamp(1.18rem, 1.05rem + .4vw, 1.4rem); }
.j-sechead { margin-bottom: clamp(28px, 3.2vw, 44px); }
.j-sechead p { font-size: 1.06rem; max-width: 62ch; }
.j-lead { font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); }
.j-prose { font-size: 1.0625rem; line-height: 1.78; }
.j-prose h2 { font-size: 1.55rem; line-height: 1.25; }
.j-prose h3 { font-size: 1.28rem; line-height: 1.3; }
.j-card, .j-program, .j-doc, .j-aside-box, .j-panel, .j-table-wrap, .j-media { border-radius: var(--j-radius-lg); }
.j-card:hover, .j-program:hover { transform: translateY(-2px); }
.j-btn--lg { min-height: 54px; padding: 13px 28px; }
/* page head: wider title measure (short titles stayed on one line too rarely) and balanced vertical padding */
.j-pagehead .j-h1 { max-width: 26ch; }
.j-pagehead > .j-container > .j-pagehead__inner { padding: clamp(28px, 3.4vw, 48px) clamp(22px, 4vw, 60px) clamp(26px, 3.2vw, 44px); }
.j-pagehead__lead { margin-bottom: 0; }
/* gg6: no double gap above the footer; compact space between footer columns and the copyright line */
.j-footer { margin-top: 0; }
.j-footer__main { padding-top: clamp(44px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 36px); }
.j-footer .g-recaptcha { margin-bottom: 0; }
/* agent reports: footer reCAPTCHA (304px widget) no longer clipped in the narrow column; page head lead spacing; mobile page-head actions */
.j-footer__form .g-recaptcha { transform: scale(.86); transform-origin: left top; margin-bottom: -11px; width: 262px; overflow: visible; }
.j-footer__grid > * { min-width: 0; }
.j-pagehead__lead { margin-top: 1.15rem; line-height: 1.6; }
@media (max-width: 760px) {
    .j-pagehead__lead { margin-top: .9rem; font-size: 1.04rem; }
    .j-pagehead__aside { width: 100%; }
    .j-pagehead__aside .j-btn { flex: 1 1 100%; }
}
/* footer: the newsletter column is wide enough for the real 304px reCAPTCHA, so no scale transform
   (a transform shrank the widget visually but kept its full height, leaving a gap below it) */
.j-footer__form .g-recaptcha { transform: none; margin-bottom: 0; width: auto; }
.j-footer__form { gap: 12px; }
@media (min-width: 1101px) { .j-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr) minmax(0, .95fr) minmax(320px, 1.35fr); gap: 40px 44px; } }
/* inner-page spacing (exam-detail review): '.j-site p' outranked the lead rule (no space above, 1em extra below);
   the first section after the page head starts closer, and the page ends closer to the footer */
.j-site .j-pagehead__lead { margin: 1rem 0 0; }
.j-pagehead + .j-section, .j-pagehead + section, .j-pagehead + div > .j-section:first-child { padding-top: clamp(28px, 3vw, 44px); }
#main > .j-section:last-of-type, #main > section.j-section:last-child { padding-bottom: clamp(44px, 4.4vw, 64px); }
@media (max-width: 760px) { .j-site .j-pagehead__lead { margin-top: .8rem; } }

/* ============================== Polish pass (ui-ux-pro-max + impeccable), 2026-12-04 ==============================
   - no decorative grid-line fields on page heads (generated-UI signature); a calm tint instead
   - scroll reveal per ui-ux-pro-max: 10px offset, ~0.45s, ease-out; content visible without JS
   - browser surfaces themed: caret, checkbox/radio accent, tabular figures in data
   - inline-only links keep comfortable hit areas; level chips that replaced eyebrow labels */
.j-pagehead > .j-container > .j-pagehead__inner::after { content: none; background: none; }
.j-pagehead > .j-container > .j-pagehead__inner { background: linear-gradient(180deg, #f7f9fd 0%, #f2f5fb 100%); }
.j-reveal-ready [data-reveal] { transform: translateY(10px); transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
.j-site { caret-color: var(--j-royal); accent-color: var(--j-blue); }
.j-site table, .j-site .j-num { font-variant-numeric: tabular-nums; }
.j-site a, .j-site button, .j-site [role="button"], .j-site summary, .j-site label[for], .j-site select { cursor: pointer; }
.j-chip--level { margin: 0 0 14px; }
.j-lang a, .j-lang span { min-height: 30px; display: inline-flex; align-items: center; }
/* audit fixes (ui-ux-pro-max: no text under 12px; 24px minimum hit area for list links; disabled text still legible) */
.v-menu__group a, .j-footer__links a { display: inline-block; padding-block: 2px; }
.j-footer__logo { display: inline-block; }
.j-site .pagination .disabled .page-link { color: #7c8698; }
.j-site dt { font-size: max(.75rem, 12.5px); }
.j-crumbs a { display: inline-block; padding-block: 3px; }

/* ============================== Research picks (site-wide), 2026-12-04 ============================== */
/* Rich-text links in CMS bodies [MIT + Guildhall]: underlined at rest so they read as links without colour alone.
   Buttons and .j-more links inside prose keep their own look. Outranks '.jr-prose a' in jmc-journal.css on purpose. */
.j-site .j-prose a:not([class*="btn"]):not(.j-more) {
    color: var(--j-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em;
    text-decoration-color: rgb(36 80 216 / .5); transition: color .2s, text-decoration-color .2s;
}
.j-site:lang(ne) .j-prose a:not([class*="btn"]):not(.j-more) { text-underline-offset: .32em; }
.j-site .j-prose a:not([class*="btn"]):not(.j-more):hover { color: var(--j-royal); text-decoration-color: currentColor; }
.j-site .j-prose a:not([class*="btn"]):not(.j-more):focus-visible { outline: 2px solid var(--j-royal); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .j-site .j-prose a { transition: none; } }

/* Utility bar: middle dots between links [Yale]. The dot sits on the li, outside the link's hit area. */
.k-util ul { gap: 0; }
.k-util li { display: inline-flex; align-items: center; }
.k-util li + li::before { content: "\00B7"; margin: 0 6px; color: #9aa6c0; font-weight: 700; }
.k-util a { padding: 8px 4px; min-height: 36px; border-radius: 6px; background: none !important; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .3em; transition: color .2s, text-decoration-color .2s; }
.k-util a:hover, .k-util a[aria-current="page"] { text-decoration-color: currentColor; }
@media (max-width: 1280px) { .k-util a { padding: 8px 3px; } .k-util li + li::before { margin: 0 4px; } }

/* Affiliation lock-up beside the logo [St. Xavier's + Softwarica]: plain text, not a badge.
   The logo gives up its auto margin to the lock-up. Measured (EN + NP): it clears the student links by 55px+ from
   1280px up; below that it hides and the logo takes the auto margin back. margin-left = 16px minus the row gap. */
.k-top__inner > .k-logo:has(+ .k-aff) { margin-right: 0; }
.k-aff { display: flex; flex-direction: column; justify-content: center; margin: 0 auto 0 -12px; padding-left: 16px; border-left: 1px solid #d3dcec; line-height: 1.2; white-space: nowrap; }
.k-aff small { font-size: 12px; font-weight: 500; color: #5b6785; }
.k-aff strong { font-size: 14px; font-weight: 700; color: var(--j-blue); }
.j-site:lang(ne) .k-aff { line-height: 1.35; }
@media (max-width: 1280px) { .k-aff { margin-left: -2px; } }
@media (max-width: 1279px) { .k-aff { display: none; } .k-top__inner > .k-logo:has(+ .k-aff) { margin-right: auto; } }

/* Dropdown menus [Toronto]: label left, icon right; external links always show a small out-arrow. */
.k-drop a, .k-mega__col a { display: flex; justify-content: space-between; gap: 12px; }
.k-drop a[target="_blank"] > .j-ico, .k-mega a[target="_blank"] > .j-ico, .k-apply .j-drop a[target="_blank"] > .j-ico {
    width: 12px; height: 12px; opacity: .55; transform: none; color: currentColor; transition: opacity .2s, transform .2s var(--j-ease-out);
}
.k-drop a[target="_blank"]:is(:hover, :focus-visible) > .j-ico, .k-mega a[target="_blank"]:is(:hover, :focus-visible) > .j-ico, .k-apply .j-drop a[target="_blank"]:is(:hover, :focus-visible) > .j-ico { opacity: 1; transform: translate(2px, -2px); }
.k-mega__title { padding-bottom: 10px; border-bottom: 1px solid #e3e8f3; margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .k-drop a > .j-ico, .k-mega a > .j-ico, .k-apply .j-drop a > .j-ico { transition: none; } }

/* Search dialog: popular-search chips under the field [Ravensbourne]. */
.j-search__popular { margin-top: 28px; }
.j-site .j-search__poplabel { margin: 0 0 10px; font-size: .875rem; font-weight: 600; color: var(--j-muted); }
.j-search__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.j-site .j-search__chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgb(18 48 106 / .18); border-radius: 999px; background: #fff; color: var(--j-blue); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.j-site .j-search__chip:hover, .j-site .j-search__chip:focus-visible { background: var(--j-sky); border-color: var(--j-royal); color: var(--j-blue); }
@media (pointer: coarse) { .j-site .j-search__chip { min-height: 44px; padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .j-site .j-search__chip { transition: none; } }

/* Footer social row [UBC]: 40px outlined circles; hover fills sky with a royal icon. */
.j-social a { width: 40px; height: 40px; border: 1px solid #d6deef; background: #fff; color: var(--j-blue); }
.j-social a:hover, .j-social a:focus-visible { background: var(--j-sky); border-color: var(--j-royal); color: var(--j-royal); }
/* Final pass: search dialog on solid white (no frosted glass); mega-menu group titles in sentence case, muted, not
   letter-spaced capitals [Islington]; phones keep the search button (the drawer has the language switch but no search). */
.j-search { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.k-mega__title, .j-site:lang(ne) .k-mega__title { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 700; color: #5b6785; }
@media (max-width: 640px) {
    .k-top__actions .k-search { display: inline-grid; width: 38px; height: 38px; }
    /* with the search button back, the row needs ~419px: let the logo give way instead of the page scrolling sideways */
    .k-logo { flex: 0 1 auto; min-width: 0; }
    .k-logo img { width: auto; max-width: 100%; height: auto; max-height: 36px; }
    .k-top__actions { flex: none; gap: 2px; }
}
@media (max-width: 380px) { .k-logo img { max-height: 30px; } }

/* CMS text pasted from Word carries inline font-family (Times New Roman etc.): keep the site typeface in every prose block */
.j-prose [style*="font-family"], .j-prose font { font-family: inherit !important; }
/* responsive: Google renders reCAPTCHA at a fixed 304px, wider than a form on 320px phones. Scale it on very small
   screens and give its holder the scaled size, so the form never pushes the page sideways. */
@media (max-width: 360px) {
    .g-recaptcha, .j-footer__form .g-recaptcha { width: 237px; height: 61px; }
    .g-recaptcha > div { transform: scale(.78); transform-origin: 0 0; }
    .j-panel, .j-site .s-lookup.j-panel { padding-inline: 16px; }
}
/* single-column forms: the column follows the card instead of growing to its widest child (the reCAPTCHA), which pushed
   every field past the card's right edge on small phones (contact, exam lookups, footer newsletter, homepage enrolment) */
.j-form, .j-site .s-lookup.j-panel, .j-footer__form { grid-template-columns: minmax(0, 1fr); }
.j-form, .s-lookup.j-panel { min-width: 0; }
/* responsive: at <=380px the header search icon moves into the menu panel, giving the logo its width back */
.v-menu__search { display: none; }
@media (max-width: 380px) {
    .k-top__actions .k-search { display: none; }
    .v-menu__search { display: inline-grid; }
}
/* responsive touch targets (WCAG 2.2, 24px minimum): homepage contact values, radio buttons on forms, pop-up close buttons */
.hm-clist__value { display: inline-block; padding-block: 2px; }
.j-site input[type="radio"], .j-site input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--j-blue); }
.toast-close-button { min-width: 28px; min-height: 28px; padding: 2px 6px !important; }
/* "file not available" note shown instead of View/Download buttons when a stored file no longer exists (would 404) */
.j-filenote { flex-basis: 100%; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 16px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: var(--j-paper-2); color: var(--j-muted); font-size: .95rem; line-height: 1.5; }
.j-filenote .j-ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--j-royal); }
.j-filenote--sm { display: inline-flex; flex-basis: auto; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.j-filenote--sm .j-ico { width: 15px; height: 15px; margin-top: 0; }

/* =====================================================================================================
   TYPE SYSTEM (2026-12-04): serif display headings over a humanist sans.
   Latin: Newsreader (headings, accent serif) + Source Sans 3 (body/UI, var(--j-font)).
   Nepali: Eczar (headings, Devanagari glyphs only) + Noto Sans Devanagari (body). Faces live in jmc-fonts.css.
   Display headings switch to var(--j-font-heading) here, in one place. body.j-site raises specificity to 0,2,1 so this
   wins over the component rules in the area sheets / jmc-home.css (".j-site .x", 0,2,0) that load after jmc.css.
   Small UI titles (card h3s, aside box titles, nav, buttons, labels, footer column titles) stay in the sans.
   ===================================================================================================== */
body.j-site :is(h1, .j-h1, .j-h2, .hm-hero__title, .hm-chief__title, .hm-admit__title, .hm-pcard__title, .hm-row__name,
    .a-hero__title, .a-row__name, .a-rcard__name, .c-lead__title, .s-done__title, .jr-current__title) {
    font-family: var(--j-font-heading);
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.1;
    font-optical-sizing: auto;
    font-variant-numeric: lining-nums;
    font-kerning: normal;
}
/* the biggest titles carry a touch more weight */
body.j-site :is(.hm-hero__title, .j-pagehead .j-h1) { font-weight: 640; }
/* programme abbreviations (BBA, BBS ...) are single short words: keep them tight */
body.j-site :is(.hm-pcard__title, .a-row__name, .a-rcard__name) { line-height: 1.02; letter-spacing: -0.01em; }
/* the homepage hero's small campus-name line sits inside the h1 but is a label: keep it in the sans */
body.j-site .hm-hero__name { font-family: var(--j-font); }
/* accent words inside headings: same serif, lighter + royal */
body.j-site :is(h1, h2, .j-h1, .j-h2) em, body.j-site .j-accent { font-family: var(--j-font-heading); font-weight: 500; letter-spacing: -0.012em; }

/* Nepali: Eczar for the Devanagari, Newsreader for any Latin. Matras and reph need room above/below: no negative
   tracking and line-height >= 1.35 (!important: the ".j-site:lang(ne) .j-pagehead .j-h1" family of rules is 0,4,0). */
body.j-site:lang(ne) :is(h1, .j-h1, .j-h2, .hm-hero__title, .hm-chief__title, .hm-admit__title, .hm-pcard__title, .hm-row__name,
    .a-hero__title, .a-row__name, .a-rcard__name, .c-lead__title, .s-done__title, .jr-current__title) {
    font-family: var(--j-font-heading);
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.38 !important;
}
body.j-site:lang(ne) :is(h1, h2, .j-h1, .j-h2) em, body.j-site:lang(ne) .hm-hero__title em { font-family: var(--j-font-heading); font-weight: 600; letter-spacing: 0; }
/* Eczar's OpenType 'NEP' language system has no reph feature: with lang="ne" the browser shapes "र्य" as a visible
   ra + halant (कार्‌यक्रम) instead of the reph above the line. Shape everything set in the heading/accent serif with the
   Hindi language system (identical Devanagari conjuncts for Nepali text; Eczar has no Nepali-only forms to lose).
   Only the serif users are listed so Noto Sans Devanagari body text keeps its Nepali shaping. */
body.j-site:lang(ne) :is(h1, .j-h1, .j-h2, .hm-hero__title, .hm-chief__title, .hm-admit__title, .hm-pcard__title, .hm-row__name,
    .a-hero__title, .a-row__name, .a-rcard__name, .c-lead__title, .s-done__title, .jr-current__title, .jr-issue__title, .j-accent,
    .a-hero__full, .a-rcard__full, .hm-message__quote, .hm-message__name, .hm-voice__text, .hm-pcard__full, .hm-chief__who b,
    .hm-chief__quote p, .c-article--page .c-cms > p) { font-language-override: "HIN"; }

/* figures in tables, counters and dates: lining + tabular (Source Sans 3 / Newsreader) */
.j-site :is(table, .j-table td, .j-num, .j-ledger__day, .a-row__num, .a-seg__n, .a-segbar__status, .a-filter__n, .c-count strong,
    .c-lb__count, .h-hero__count, .hm-row__num, .hm-feature__num) { font-variant-numeric: lining-nums tabular-nums; }
