/*!
 * jmc-home.css: home page, round 3. Modern institutional premium on white: an editorial split hero with one
 * strong photograph, hairline structure, tight radii, one full-bleed navy band (the programme index with a
 * cursor-following photo preview), serif accent words. Builds on jmc.css tokens.
 */

@keyframes hm-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hm-unmask { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hm-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hm-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
.hm-rise { animation: hm-rise .9s var(--j-ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }

/* ============================== Hero: full-bleed photographs, content on the image ============================== */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, calc(100svh - 190px), 820px); color: #fff; background: var(--j-navy); }
.hm-hero__media { position: absolute; inset: 0; z-index: -2; }
.h-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--j-ease); }
.h-slide.is-active { opacity: 1; z-index: 1; }
.h-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.1); transition: transform 10s linear; }
.h-slide.is-active img { transform: scale(1); }
.hm-hero__shade { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60% 70% at 50% 50%, rgba(7, 20, 55, .5) 0%, rgba(7, 20, 55, .66) 100%),
    linear-gradient(180deg, rgba(7, 20, 55, .55) 0%, rgba(7, 20, 55, .25) 35%, rgba(7, 20, 55, .45) 70%, rgba(7, 20, 55, .88) 100%); }
.hm-hero__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(32px, 4vw, 56px) clamp(100px, 8vw, 112px); }
.hm-hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fff; }
.hm-hero__kicker span { width: 8px; height: 8px; border-radius: 50%; background: #8fb0ff; box-shadow: 0 0 0 4px rgba(143, 176, 255, .25); }
.j-site:lang(ne) .hm-hero__kicker { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.j-site .hm-hero__title { margin: 0; max-width: 24ch; font-weight: 800; font-size: clamp(2.6rem, 1rem + 4.1vw, 5.1rem); line-height: 1.02; letter-spacing: -0.04em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); text-wrap: balance; }
.hm-hero__name { display: block; margin: 0 0 18px; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 700; letter-spacing: .01em; color: #dbe5ff; text-shadow: none; }
.hm-line { display: block; }
.j-site .hm-hero__title em { font-family: var(--j-accent-serif); font-style: normal; font-weight: 500; letter-spacing: -0.03em; color: #b9ccff; }
.j-site:lang(ne) .hm-hero__title { font-size: clamp(2.3rem, 1.1rem + 3.8vw, 4.6rem); line-height: 1.25; letter-spacing: 0; }
.j-site:lang(ne) .hm-hero__title em { font-family: var(--j-font); font-weight: 800; letter-spacing: 0; }
.hm-hero__lead { margin: 22px auto 0; max-width: 68ch; font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); line-height: 1.65; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hm-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hm-btn-white { --j-btn-bg: #fff; --j-btn-fg: var(--j-navy); --j-btn-bd: #fff; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .55); }
.hm-btn-white:hover { --j-btn-bg: #dce6ff; --j-btn-fg: var(--j-navy); --j-btn-bd: #dce6ff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.hm-btn-ghost { --j-btn-bg: rgba(255, 255, 255, .1); --j-btn-fg: #fff; --j-btn-bd: rgba(255, 255, 255, .55); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hm-btn-ghost:hover { --j-btn-bg: rgba(255, 255, 255, .2); --j-btn-fg: #fff; --j-btn-bd: #fff; box-shadow: none; }

.hm-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 0 26px; }
.hm-facts { display: flex; margin: 0; padding: 0; }
.hm-facts > div { display: flex; align-items: baseline; gap: 10px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .28); }
.hm-facts > div:first-child { padding-left: 0; border-left: 0; }
.hm-facts dd { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.hm-facts dt { font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.h-hero__controls { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-hero__controls button { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s; }
.h-hero__controls button:hover { background: rgba(255, 255, 255, .2); }
.h-hero__controls button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.h-hero__controls .j-ico { width: 16px; height: 16px; }
.h-hero__count { min-width: 46px; text-align: center; font-size: .86rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hm-hero :focus-visible { outline-color: #fff; }

@media (max-width: 760px) {
    .hm-hero { min-height: clamp(560px, 88svh, 760px); justify-content: flex-start; }
    .hm-hero__content { padding-block: 64px 150px; }
    .hm-hero__bar { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 18px; }
    .hm-facts > div { flex-direction: column; gap: 4px; padding: 0 14px; flex: 1; }
    .hm-facts dt { font-size: .76rem; }
    .h-hero__controls { position: absolute; top: -48px; right: var(--j-gutter); }
}
@media (max-width: 560px) {
    .j-site .hm-hero__title { font-size: clamp(2.3rem, .9rem + 8vw, 3.2rem); }
    .hm-hero__cta { width: 100%; }
    .hm-hero__cta .j-btn { flex: 1 1 100%; }
    .hm-hero__kicker { font-size: .7rem; letter-spacing: .1em; padding: 7px 14px; }
}

/* ============================== Student services ============================== */
.hm-services { padding-top: clamp(40px, 5vw, 72px); }
.hm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(196px, auto); gap: 16px; }
.hm-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--j-line); color: var(--j-ink) !important; overflow: hidden; transition: transform .45s var(--j-ease-out), box-shadow .45s var(--j-ease), border-color .3s; }
.hm-tile:hover { transform: translateY(-4px); box-shadow: var(--j-shadow-card); border-color: var(--j-line-strong); }
.hm-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--j-paper-2); border: 1px solid var(--j-line); color: var(--j-blue); margin-bottom: auto; transition: background-color .3s, color .3s, border-color .3s; }
.hm-tile__icon .j-ico { width: 22px; height: 22px; }
.hm-tile:hover .hm-tile__icon { background: var(--j-blue); border-color: var(--j-blue); color: #fff; }
.hm-tile__title { margin-top: 26px; font-size: 1.14rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.hm-tile__desc { color: var(--j-muted); font-size: .95rem; line-height: 1.5; }
.hm-tile__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--j-muted); transition: background-color .3s, color .3s, transform .4s var(--j-ease-out); }
.hm-tile__go .j-ico { width: 18px; height: 18px; }
.hm-tile:hover .hm-tile__go { background: var(--j-sky); color: var(--j-royal); transform: rotate(-45deg); }
.hm-tile--apply { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: clamp(28px, 3.4vw, 44px); background: var(--j-blue); color: #fff !important; border: 0; }
.hm-tile__glow { position: absolute; width: 64%; aspect-ratio: 1; right: -22%; top: -32%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .025); transition: transform .9s var(--j-ease-out); }
.hm-tile--apply:hover { box-shadow: 0 34px 70px -36px rgba(18, 48, 106, .8); border: 0; }
.hm-tile--apply:hover .hm-tile__glow { transform: scale(1.12); }
.hm-tile--apply > :not(.hm-tile__glow) { position: relative; }
.hm-tile__kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; color: #b9cbff; text-transform: uppercase; letter-spacing: .12em; }
.hm-tile__kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.j-site:lang(ne) .hm-tile__kicker { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.hm-tile__big { margin-top: auto; padding-top: 40px; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.j-site:lang(ne) .hm-tile__big { letter-spacing: 0; line-height: 1.25; }
.hm-tile__text { max-width: 40ch; color: #c9d6f5; font-size: 1.02rem; line-height: 1.6; }
.hm-tile__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--j-navy); font-weight: 800; transition: gap .3s var(--j-ease-out); }
.hm-tile--apply:hover .hm-tile__cta { gap: 16px; }
.hm-bento > .hm-tile:nth-child(6):nth-last-child(2), .hm-bento > .hm-tile:nth-child(7):last-child, .hm-bento > .hm-tile:nth-child(8):last-child { grid-column: span 2; }
@media (max-width: 1000px) {
    .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); }
    .hm-tile--apply { grid-column: span 2; grid-row: auto; min-height: 340px; }
    .hm-bento > .hm-tile:nth-child(6):nth-last-child(2), .hm-bento > .hm-tile:nth-child(7):last-child, .hm-bento > .hm-tile:nth-child(8):last-child { grid-column: auto; }
    .hm-bento > .hm-tile:last-child:nth-child(even) { grid-column: span 2; }
}
@media (max-width: 560px) {
    .hm-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; grid-auto-rows: auto; }
    .hm-tile--apply, .hm-bento > .hm-tile:last-child:nth-child(even) { grid-column: auto; }
    .hm-tile { padding: 22px; }
    .hm-tile__title { margin-top: 16px; }
}

/* ============================== Programmes: navy band ============================== */
.hm-programs { position: relative; padding-block: var(--j-section); background: var(--j-navy); color: #c9d6f5; overflow: hidden; isolation: isolate; }
.hm-programs .j-h2 { color: #fff; }
.hm-programs .j-h2 em { color: #9db7ff; }
.hm-programs .j-sechead p { color: #b3c3e6; }
.hm-programs__tabs { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); margin-bottom: 28px; }
.hm-programs__tabs .j-tab { color: #b3c3e6; }
.hm-programs__tabs .j-tab:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hm-programs__tabs .j-tab[aria-selected="true"] { background: #fff; color: var(--j-navy); }
.hm-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); counter-reset: none; }
.hm-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto 56px; align-items: center; gap: 12px 28px; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid rgba(255, 255, 255, .16); transition: padding .45s var(--j-ease-out); }
.hm-row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--j-gutter)); z-index: -1; background: rgba(255, 255, 255, .04); opacity: 0; transition: opacity .35s; }
.hm-row:hover::before, .hm-row:focus-within::before { opacity: 1; }
.hm-row__num { font-size: .95rem; font-weight: 700; color: #7f97cf; font-variant-numeric: tabular-nums; }
.hm-row__main { display: grid; gap: 6px; min-width: 0; }
.hm-row__name { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff !important; transition: transform .45s var(--j-ease-out), color .3s; justify-self: start; }
.hm-row__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hm-row:hover .hm-row__name { transform: translateX(10px); color: #c8d7ff !important; }
.hm-row__sum { max-width: 64ch; font-size: .95rem; line-height: 1.55; color: #9fb2dc; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hm-row__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.hm-row__meta span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .84rem; font-weight: 600; color: #dbe5ff; white-space: nowrap; }
.hm-row__enrol { position: relative; z-index: 2; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--j-navy) !important; font-weight: 800; font-size: .9rem; transition: background-color .2s, transform .2s; }
.hm-row__enrol:hover { background: #c8d7ff; }
.hm-row__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .3s, color .3s, transform .45s var(--j-ease-out), border-color .3s; }
.hm-row:hover .hm-row__arrow { background: #fff; color: var(--j-navy); border-color: #fff; transform: rotate(-45deg); }
@media (max-width: 900px) {
    .hm-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 16px; }
    .hm-row__num { display: none; }
    .hm-row__main { grid-column: 1; }
    .hm-row__meta { grid-column: 1; justify-content: flex-start; }
    .hm-row__enrol { grid-column: 1; justify-self: start; }
    .hm-row__arrow { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
    .hm-row__sum { -webkit-line-clamp: 2; }
}

/* ============================== Campus chief's message ============================== */
.hm-message { padding-top: var(--j-section); }
.hm-message__panel { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hm-message__portrait { position: relative; aspect-ratio: 4 / 4.8; border-radius: 20px; overflow: hidden; background: var(--j-tint); }
.hm-message__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hm-message__quote { position: relative; margin: 0 0 26px; font-family: var(--j-accent-serif); font-size: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.02em; color: var(--j-ink); text-wrap: pretty; }
.hm-message__quote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .7; height: .5em; color: var(--j-royal); }
.j-site:lang(ne) .hm-message__quote { font-family: var(--j-font); font-weight: 600; letter-spacing: 0; line-height: 1.7; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.hm-message__name { margin: 0 0 28px; font-weight: 800; font-size: 1.1rem; color: var(--j-ink); display: flex; align-items: center; gap: 12px; }
.hm-message__name::before { content: ""; width: 34px; height: 2px; background: var(--j-royal); border-radius: 2px; }
@media (max-width: 860px) { .hm-message__panel { grid-template-columns: minmax(0, 1fr); } .hm-message__portrait { max-width: 280px; aspect-ratio: 1; } }

/* ============================== Updates (research picks, 2026-12-04) ==============================
   Column heads are the "view all" links on one top line with a hairline rule between the columns (LSE);
   lead story shows a clean photo with date + title below (UofT, Stanford); more news as dated hairline rows
   (Apex, NCM, Harvard); growing underline on titles (Harvard, SOAS); latest downloads under the notices (TU). */
.hm-updates__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 48px); align-items: start; }
@media (min-width: 992px) {
    .hm-updates__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 0; }
    .hm-updates__grid > .hm-board { padding-right: clamp(28px, 3vw, 48px); }
    .hm-updates__grid > .hm-news { padding-left: clamp(28px, 3vw, 48px); border-left: 1px solid #dbe3f1; }
    .hm-updates__grid > .hm-news:first-child { padding-left: 0; border-left: 0; }
}

/* growing underline: the gradient lives on an inline span so it follows each wrapped line */
.hm-ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: 1px; }
@media (prefers-reduced-motion: no-preference) { .hm-ul { transition: background-size .3s cubic-bezier(.4, 0, .2, 1); } }
a:hover > .hm-ul, a:focus-visible > .hm-ul { background-size: 100% 2px; }

/* column heads */
.j-site .hm-colhead { margin: 0; padding-bottom: 14px; border-bottom: 2px solid #0a1430; font-size: 1.3rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; }
.j-site:lang(ne) .hm-colhead { letter-spacing: 0; }
.hm-colhead a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #0a1430 !important; text-decoration: none; }
.hm-colhead__icon { flex: none; width: 22px; height: 22px; color: #2450d8; }
.hm-colhead__go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #eef3ff; color: #2450d8; transition: background-color .2s, color .2s; }
.hm-colhead__go .j-ico { width: 15px; height: 15px; }
.hm-colhead a:hover { color: #2450d8 !important; }
.hm-colhead a:hover .hm-colhead__go, .hm-colhead a:focus-visible .hm-colhead__go { background: #2450d8; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .hm-colhead__go .j-ico { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
    .hm-colhead a:hover .hm-colhead__go .j-ico { transform: translateX(2px); }
}

/* notice board */
.hm-board__list { list-style: none; margin: 0; padding: 0; }
.hm-notice { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid #e3e9f4; }
.hm-notice__date { display: grid; place-items: center; align-content: center; gap: 4px; height: 66px; border-radius: 12px; background: var(--j-paper-2); border: 1px solid var(--j-line); line-height: 1; transition: background-color .25s, border-color .25s, color .25s; }
.hm-notice:hover .hm-notice__date { background: #12306a; border-color: #12306a; }
.hm-notice__date b { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; color: #12306a; transition: color .25s; }
.hm-notice__date small { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; color: #5b6785; transition: color .25s; }
.hm-notice:hover .hm-notice__date b, .hm-notice:hover .hm-notice__date small { color: #fff; }
.j-site:lang(ne) .hm-notice__date small { text-transform: none; letter-spacing: 0; }
.hm-notice__body { display: grid; gap: 4px; min-width: 0; }
.hm-notice__title { font-weight: 700; font-size: 1.02rem; line-height: 1.45; color: #0a1430 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.j-site:lang(ne) .hm-notice__title { line-height: 1.6; }
.hm-notice__title::after { content: ""; position: absolute; inset: 0; }
.hm-notice:hover .hm-notice__title { color: #2450d8 !important; }
.hm-notice:hover .hm-ul { background-size: 100% 2px; }
.hm-notice__title:focus-visible { outline: none; }
.hm-notice:focus-within { outline: 2px solid #2450d8; outline-offset: 2px; border-radius: 6px; }
.hm-notice__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: #5b6785; }
.hm-notice__meta .j-chip { padding: 1px 9px; font-size: .75rem; }
.hm-notice__go { color: var(--j-line-strong); transition: color .2s, transform .3s var(--j-ease-out); }
.hm-notice:hover .hm-notice__go { color: #2450d8; transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .hm-notice:hover .hm-notice__go { transform: none; } }

/* latest downloads strip */
.hm-dl { margin-top: 22px; padding-top: 20px; border-top: 1px solid #dbe3f1; }
.hm-board__list + .hm-dl { margin-top: 0; border-top: 0; } /* the last notice's hairline is the separating rule */
.j-site .hm-dl__title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; line-height: 1.4; color: #0a1430; }
.hm-dl__list { list-style: none; margin: 0; padding: 0; }
.hm-dl__row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #e3e9f4; }
.hm-dl__row:first-child { border-top: 0; }
.hm-dl__type { display: grid; place-items: center; height: 28px; padding: 0 6px; border-radius: 6px; background: #eef3ff; color: #12306a; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.hm-dl__type .j-ico { width: 15px; height: 15px; }
.hm-dl__body { display: grid; gap: 2px; min-width: 0; }
.hm-dl__name { font-size: 15px; font-weight: 600; line-height: 1.4; color: #0a1430 !important; text-decoration: none; overflow-wrap: anywhere; }
.j-site:lang(ne) .hm-dl__name { line-height: 1.55; }
a.hm-dl__name::after { content: ""; position: absolute; inset: 0; }
a.hm-dl__name:focus-visible { outline: 2px solid #2450d8; outline-offset: 2px; border-radius: 4px; }
.hm-dl__row:hover a.hm-dl__name { color: #2450d8 !important; }
.hm-dl__row:hover a.hm-dl__name .hm-ul { background-size: 100% 2px; }
.hm-dl__meta { font-size: 13px; color: #5b6785; }
.hm-dl__get { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #cdd6e4; color: #12306a !important; transition: background-color .2s, border-color .2s, color .2s; }
.hm-dl__get .j-ico { width: 16px; height: 16px; }
.hm-dl__get:hover { background: #2450d8; border-color: #2450d8; color: #fff !important; }
.hm-dl__get:focus-visible { outline: 2px solid #2450d8; outline-offset: 2px; }
@media (pointer: coarse) { .hm-dl__get { width: 44px; height: 44px; } }
.hm-dl__all { margin-top: 10px; min-height: 44px; }

/* news column: lead story */
.hm-news { display: grid; gap: 0; align-content: start; }
.hm-story { position: relative; margin-top: 22px; }
.hm-story__frame { overflow: hidden; overflow: clip; border-radius: 14px; }
.hm-story__frame .hm-story__media { aspect-ratio: 16 / 10; border-radius: 14px; }
.hm-story__frame .hm-story__media img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
    .hm-story__media img { transition: transform .4s cubic-bezier(.33, 0, .67, 1); }
    .hm-story:hover .hm-story__media img, .hm-story:focus-within .hm-story__media img { transform: scale(1.05); }
}
.j-site .hm-story__date { margin: 16px 0 6px; font-size: 14px; font-weight: 600; color: #5b6785; }
.j-site .hm-story__title { margin: 0; font-family: var(--j-font); font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #0a1430; text-wrap: pretty; }
.j-site:lang(ne) .hm-story__title { letter-spacing: 0; line-height: 1.5; }
.hm-story__title a { color: inherit !important; text-decoration: none; }
.hm-story__title a::after { content: ""; position: absolute; inset: 0; }
.hm-story:hover .hm-ul { background-size: 100% 2px; }
.hm-story__title a:focus-visible { outline: none; }
.hm-story:focus-within { outline: 2px solid #2450d8; outline-offset: 4px; border-radius: 14px; }

/* news column: dated hairline rows */
.hm-nrows { list-style: none; margin: 22px 0 0; padding: 0; border-bottom: 1px solid #e3e9f4; }
.hm-nrow { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #e3e9f4; }
.hm-nrow__thumb { width: 72px; height: 72px; aspect-ratio: 1; border-radius: 10px; }
.hm-nrow__thumb img { object-fit: cover; }
.hm-nrow__body { min-width: 0; }
.j-site .hm-nrow__date { margin: 0 0 3px; font-size: 13px; font-weight: 500; color: #5b6785; }
.j-site .hm-nrow__title { margin: 0; font-family: var(--j-font); font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; color: #0a1430; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.j-site:lang(ne) .hm-nrow__title { letter-spacing: 0; line-height: 1.6; }
.hm-nrow__title a { color: inherit !important; text-decoration: none; }
.hm-nrow__title a::after { content: ""; position: absolute; inset: 0; }
.hm-nrow:hover .hm-nrow__title { color: #2450d8; }
.hm-nrow:hover .hm-ul { background-size: 100% 2px; }
.hm-nrow__title a:focus-visible { outline: none; }
.hm-nrow:focus-within { outline: 2px solid #2450d8; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 560px) { .j-site .hm-story__title { font-size: 20px; } }

/* ============================== Campus life mosaic ============================== */
.hm-life { padding-top: clamp(16px, 2vw, 32px); }
.hm-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 16vw, 250px); gap: 14px; }
.hm-mosaic__item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--j-tint); grid-column: span 6; }
.hm-mosaic__item--1 { grid-column: span 7; grid-row: span 2; }
.hm-mosaic__item--2, .hm-mosaic__item--3 { grid-column: span 5; }
.hm-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--j-ease-out); }
.hm-mosaic__item:hover img { transform: scale(1.06); }
.hm-mosaic__item figcaption { position: absolute; left: 14px; bottom: 14px; width: fit-content; max-width: calc(100% - 28px); padding: 7px 12px; border-radius: 8px; background: #fff; font-weight: 700; font-size: .88rem; color: var(--j-ink); line-height: 1.4; }
@media (max-width: 760px) {
    .hm-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
    .hm-mosaic__item, .hm-mosaic__item--2, .hm-mosaic__item--3 { grid-column: span 1; }
    .hm-mosaic__item--1 { grid-column: span 2; grid-row: span 1; }
    .hm-mosaic__item { border-radius: 12px; }
    .hm-mosaic__item figcaption { font-size: .76rem; padding: 5px 9px; }
}

/* ============================== Why / facilities ============================== */
.hm-why { background: var(--j-paper-2); border-block: 1px solid var(--j-line); }
.hm-why__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hm-why__intro { position: sticky; top: calc(var(--j-sticky) + 24px); }
.hm-why__intro .j-lead { margin: 18px 0 26px; }
.hm-why__intro .j-h2 { margin-bottom: 26px; }
.hm-why__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-feature { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--j-line); color: var(--j-text) !important; transition: transform .45s var(--j-ease-out), box-shadow .45s, border-color .3s; }
.hm-feature:hover { transform: translateY(-4px); box-shadow: var(--j-shadow-card); border-color: var(--j-line-strong); }
.hm-feature__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--j-blue); color: #fff; margin-bottom: 20px; }
.hm-feature__icon .j-ico { width: 22px; height: 22px; }
.hm-feature__num { position: absolute; top: 24px; right: 26px; font-size: .95rem; font-weight: 800; color: var(--j-line-strong); font-variant-numeric: tabular-nums; }
.hm-feature__title { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.025em; color: var(--j-ink); }
.hm-feature__text { margin: 0; color: var(--j-muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 900px) { .hm-why__grid { grid-template-columns: minmax(0, 1fr); } .hm-why__intro { position: static; } }
@media (max-width: 560px) { .hm-why__cards { grid-template-columns: minmax(0, 1fr); } }

/* ============================== Testimonials ============================== */
.hm-voices { overflow: hidden; }
.hm-voices__nav { display: flex; gap: 10px; }
.hm-round { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--j-line-strong); background: #fff; color: var(--j-ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .2s; }
.hm-round:hover { background: var(--j-ink); color: #fff; border-color: var(--j-ink); }
.hm-round:active { transform: scale(.96); }
.hm-voices__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 31vw, 430px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--j-gutter), calc((100vw - var(--j-container)) / 2)) 16px; scroll-padding-inline: max(var(--j-gutter), calc((100vw - var(--j-container)) / 2)); }
.hm-voices__track::-webkit-scrollbar { display: none; }
.hm-voice { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 16px; background: #fff; border: 1px solid var(--j-line); transition: border-color .3s, box-shadow .35s; }
.hm-voice:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.hm-voice__mark { width: 30px; height: 30px; color: var(--j-royal); }
.hm-voice__text { margin: 0; flex: 1; font-size: 1.04rem; line-height: 1.72; color: var(--j-ink); }
.hm-voice__who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--j-line); }
.hm-voice__who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--j-tint); }
.hm-voice__name { display: block; font-weight: 800; color: var(--j-ink); letter-spacing: -0.01em; }
.hm-voice__role { display: block; font-size: .88rem; color: var(--j-muted); }

/* ============================== Admissions (light panel) ============================== */
.hm-admit { padding: 0 0 var(--j-section); scroll-margin-top: var(--j-sticky); }
.hm-admit__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: 24px; background: var(--j-sky); border: 1px solid var(--j-sky-2); }
.hm-admit__glow { display: none; }
.hm-admit__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--j-royal); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hm-admit__kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.j-site:lang(ne) .hm-admit__kicker { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.j-site .hm-admit__title { margin: 0 0 18px; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; color: var(--j-ink); }
.j-site:lang(ne) .hm-admit__title { letter-spacing: 0; line-height: 1.3; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.hm-admit__text { margin: 0 0 28px; color: var(--j-muted); font-size: 1.08rem; line-height: 1.7; max-width: 48ch; }
.hm-admit .j-btn--light { --j-btn-bg: var(--j-blue); --j-btn-fg: #fff; --j-btn-bd: var(--j-blue); }
.hm-admit .j-btn--light:hover { --j-btn-bg: var(--j-royal); --j-btn-bd: var(--j-royal); --j-btn-fg: #fff; }
.hm-btn-glass { --j-btn-bg: #fff; --j-btn-fg: var(--j-ink); --j-btn-bd: var(--j-line-strong); }
.hm-btn-glass:hover { --j-btn-bg: #fff; --j-btn-fg: var(--j-royal); --j-btn-bd: var(--j-royal); }
.hm-admit__note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; color: var(--j-muted); font-size: .9rem; line-height: 1.55; max-width: 52ch; }
.hm-admit__note .j-ico { color: var(--j-royal); margin-top: 3px; }
.hm-admit__form { padding: clamp(24px, 3vw, 38px); border-radius: 18px; background: #fff; color: var(--j-text); border: 1px solid var(--j-line); box-shadow: 0 40px 80px -48px rgba(18, 48, 106, .55); }
.j-site .hm-admit__formtitle { margin: 0 0 22px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--j-ink); }
@media (max-width: 960px) { .hm-admit__panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .hm-admit__panel { padding: 26px 16px; border-radius: 18px; } .hm-admit__form { padding: 22px 16px; } .hm-admit .j-btns .j-btn { flex: 1 1 100%; } }

/* ============================== Contact cards ============================== */
.hm-contact { padding-top: clamp(24px, 3vw, 40px); }
.hm-contact__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--j-ink); }
.hm-ccard { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px 8px 0; }
.hm-ccard + .hm-ccard { padding-left: 26px; border-left: 1px solid var(--j-line); }
.hm-ccard__icon { color: var(--j-royal); margin-bottom: 14px; }
.hm-ccard__icon .j-ico { width: 26px; height: 26px; }
.hm-ccard__label { font-size: .85rem; font-weight: 700; color: var(--j-muted); }
.hm-ccard__value { font-size: 1.1rem; font-weight: 800; color: var(--j-ink) !important; letter-spacing: -0.015em; overflow-wrap: anywhere; }
a.hm-ccard__value:hover { color: var(--j-royal) !important; }
@media (max-width: 1000px) { .hm-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-ccard:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .hm-contact__grid { grid-template-columns: minmax(0, 1fr); } .hm-ccard + .hm-ccard { padding-left: 0; border-left: 0; border-top: 1px solid var(--j-line); } .hm-ccard { padding-bottom: 20px; } }
@media (max-width: 560px) {
    .hm-hero__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1rem; }
    .hm-hero__kicker { text-align: left; line-height: 1.4; }
    .hm-hero__content { padding-top: 40px; }
}

/* hero without blue cast (user request 2026-12-03): neutral dark scrim keeps the photographs' natural colour;
   accents on the image are white / warm ivory instead of light blue */
.hm-hero { background: #111317; }
.hm-hero__shade { background:
    radial-gradient(65% 75% at 50% 48%, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .14) 32%, rgba(0, 0, 0, .3) 68%, rgba(0, 0, 0, .78) 100%); }
.j-site .hm-hero__title em { color: #f4efe4; }
.hm-hero__name { color: rgba(255, 255, 255, .88); }
.hm-hero__kicker { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.hm-hero__kicker span { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
.hm-btn-white:hover { --j-btn-bg: #f1f1f1; --j-btn-bd: #f1f1f1; }
.hm-btn-ghost { --j-btn-bg: rgba(255, 255, 255, .08); }
.h-hero__controls { background: rgba(255, 255, 255, .12); }
/* programme rows: refined hover without imagery */
.hm-row:hover .hm-row__sum, .hm-row:focus-within .hm-row__sum { color: #c9d6f5; }
.hm-row:hover .hm-row__num, .hm-row:focus-within .hm-row__num { color: #fff; }
.hm-row__meta span { transition: border-color .3s, background-color .3s; }
.hm-row:hover .hm-row__meta span { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }

/* refinement pass: proportionate display sizes on the home page */
.hm-row__name { font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.6rem); letter-spacing: -0.035em; }
.hm-row { padding: clamp(18px, 2vw, 24px) 0; }
.hm-message__quote { font-size: clamp(1.32rem, 1rem + 1vw, 1.95rem); line-height: 1.38; }
.j-site .hm-admit__title { font-size: clamp(2rem, 1.35rem + 1.9vw, 3rem); letter-spacing: -0.03em; }
.hm-tile__big { font-size: clamp(2.1rem, 1.5rem + 1.8vw, 3.1rem); }
.hm-why__intro .j-h2 { margin-bottom: 22px; }
.hm-message { padding-top: clamp(48px, 5vw, 80px); }
/* refinement: wide bento tiles become compact horizontal rows instead of tall empty cards */
.hm-bento { grid-auto-rows: auto; }
.hm-tile { min-height: 196px; }
.hm-tile--apply { min-height: 408px; }
@media (min-width: 1001px) {
    .hm-bento > .hm-tile:nth-child(6):nth-last-child(2), .hm-bento > .hm-tile:nth-child(7):last-child, .hm-bento > .hm-tile:nth-child(8):last-child {
        min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; row-gap: 4px; align-content: center; padding: 24px 72px 24px 26px;
    }
    .hm-bento > .hm-tile:nth-child(6):nth-last-child(2) .hm-tile__icon, .hm-bento > .hm-tile:nth-child(7):last-child .hm-tile__icon, .hm-bento > .hm-tile:nth-child(8):last-child .hm-tile__icon { grid-row: 1 / span 2; margin: 0; align-self: center; }
    .hm-bento > .hm-tile:nth-child(6):nth-last-child(2) .hm-tile__title, .hm-bento > .hm-tile:nth-child(7):last-child .hm-tile__title, .hm-bento > .hm-tile:nth-child(8):last-child .hm-tile__title { margin-top: 0; align-self: end; }
    .hm-bento > .hm-tile:nth-child(6):nth-last-child(2) .hm-tile__go, .hm-bento > .hm-tile:nth-child(7):last-child .hm-tile__go, .hm-bento > .hm-tile:nth-child(8):last-child .hm-tile__go { top: 50%; margin-top: -18px; }
}
@media (max-width: 560px) { .hm-tile { min-height: 0; } .hm-tile--apply { min-height: 320px; } }
.hm-tile:not(.hm-tile--apply) .hm-tile__icon { margin-bottom: 0; }
.hm-tile:not(.hm-tile--apply) .hm-tile__title { margin-top: 30px; }

/* ============================== Leadership message (refined, gg5) ==============================
   Tinted panel, arched portrait with a navy offset block and the campus seal, faint oversized
   quotation mark as motif, serif quote and a signature block. */
.hm-message { padding-top: clamp(48px, 5vw, 80px); }
.hm-message__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(32px, 4.6vw, 72px) clamp(24px, 5vw, 80px); border-radius: 24px; background: linear-gradient(135deg, #f7f9fd 0%, #f1f5fe 55%, #eaf0fc 100%); border: 1px solid var(--j-line); }
.hm-message__panel::before { content: "\201C"; position: absolute; z-index: -1; right: clamp(16px, 4vw, 64px); top: -.18em; font-family: var(--j-accent-serif); font-size: clamp(14rem, 10rem + 12vw, 26rem); line-height: 1; color: rgba(18, 48, 106, .055); pointer-events: none; }
.hm-message__figure { position: relative; width: 100%; max-width: 380px; justify-self: center; padding: 0 18px 18px 0; }
.hm-message__figure::before { content: ""; position: absolute; z-index: 0; inset: 22px 0 0 22px; border-radius: 999px 999px 22px 22px; background: var(--j-blue); }
.hm-message__portrait { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #e6edfb 100%); box-shadow: 0 30px 60px -32px rgba(10, 20, 48, .55); }
.hm-message__portrait::after { content: none; }
.hm-message__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--j-ease-out); }
.hm-message__panel:hover .hm-message__portrait img { transform: scale(1.03); }
.hm-message__seal { position: absolute; z-index: 2; left: -10px; bottom: 34px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px -14px rgba(10, 20, 48, .5); border: 4px solid #fff; outline: 1px solid var(--j-line); }
.hm-message__seal img { width: 64px; height: 64px; object-fit: contain; }
.hm-message__body { position: relative; }
.hm-message__body .j-eyebrow { margin-bottom: 22px; }
.j-site .hm-message__quote { position: relative; margin: 0 0 30px; font-family: var(--j-accent-serif); font-weight: 500; font-size: clamp(1.4rem, 1.05rem + 1.05vw, 2.05rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--j-ink); text-wrap: pretty; }
.j-site .hm-message__quote::before { content: none; }
.j-site:lang(ne) .hm-message__quote { font-family: var(--j-font); font-weight: 600; letter-spacing: 0; line-height: 1.75; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); }
.hm-message__sign { display: grid; gap: 4px; margin: 0 0 30px; padding-left: 52px; position: relative; }
.hm-message__sign::before { content: ""; position: absolute; left: 0; top: .8em; width: 36px; height: 2px; border-radius: 2px; background: var(--j-royal); }
.hm-message__name { font-family: var(--j-accent-serif); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); line-height: 1.2; color: var(--j-ink); letter-spacing: -0.01em; }
.j-site:lang(ne) .hm-message__name { font-family: var(--j-font); font-weight: 700; }
.hm-message__role { font-size: .92rem; font-weight: 600; color: var(--j-muted); }
.hm-message__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-message__name::before { content: none; }
@media (max-width: 860px) {
    .hm-message__panel { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: left; }
    .hm-message__figure { max-width: 280px; justify-self: start; }
    .hm-message__panel::before { font-size: 14rem; }
}
@media (max-width: 560px) {
    .hm-message__panel { padding: 28px 20px 32px; border-radius: 20px; }
    .hm-message__figure { max-width: 240px; justify-self: center; }
    .hm-message__seal { width: 68px; height: 68px; left: -6px; }
    .hm-message__seal img { width: 50px; height: 50px; }
    .hm-message__actions .j-btn { flex: 1 1 100%; }
}
.hm-message__sign .hm-message__name { display: block; margin: 0; }

/* ============================== Testimonials: auto-advancing carousel ============================== */
.hm-voices { background: linear-gradient(180deg, #fff 0%, var(--j-paper-2) 100%); }
.hm-voices__track { scroll-behavior: auto; padding-bottom: 8px; }
.hm-voice { position: relative; padding: 32px 30px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--j-line); transition: border-color .35s, box-shadow .45s var(--j-ease), transform .45s var(--j-ease-out); }
.hm-voice:hover { transform: translateY(-3px); border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.hm-voice__mark { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--j-sky); color: var(--j-royal); }
.j-site .hm-voice__text { font-family: var(--j-accent-serif); font-weight: 500; font-size: 1.12rem; line-height: 1.65; letter-spacing: -0.005em; color: var(--j-ink); }
.j-site:lang(ne) .hm-voice__text { font-family: var(--j-font); font-weight: 500; font-size: 1.02rem; line-height: 1.8; }
.hm-voice__who img { width: 52px; height: 52px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--j-line), 0 6px 14px -8px rgba(10, 20, 48, .4); }
.hm-voices__foot { display: flex; justify-content: center; margin-top: 22px; }

/* ============================== Get in touch (refined, gg6) ============================== */
.hm-contact { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(48px, 5vw, 80px); }
.hm-cpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--j-line); box-shadow: 0 30px 70px -50px rgba(10, 20, 48, .45); }
.hm-cpanel__media { position: relative; min-height: 440px; background: var(--j-tint); overflow: hidden; }
.hm-cpanel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--j-ease-out); }
.hm-cpanel:hover .hm-cpanel__media img { transform: scale(1.04); }
.hm-cpanel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%); }
.hm-cpanel__place { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 14px; background: #fff; color: var(--j-ink) !important; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); transition: transform .35s var(--j-ease-out); max-width: 420px; }
.hm-cpanel__place:hover { transform: translateY(-3px); }
.hm-cpanel__pin { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--j-blue); color: #fff; }
.hm-cpanel__pin .j-ico { width: 20px; height: 20px; }
.hm-cpanel__place b { display: block; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.hm-cpanel__place small { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--j-royal); }
.hm-cpanel__place small .j-ico { width: 14px; height: 14px; transition: transform .3s var(--j-ease-out); }
.hm-cpanel__place:hover small .j-ico { transform: translateX(3px); }
.hm-cpanel__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fff 0%, #f7f9fd 100%); }
.hm-cpanel__body .j-eyebrow { margin-bottom: 14px; }
.hm-cpanel__title { margin: 0 0 26px; }
.hm-clist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-clist li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--j-line); transition: border-color .25s, box-shadow .3s, transform .3s var(--j-ease-out); min-width: 0; }
.hm-clist li:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.hm-clist__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--j-sky); color: var(--j-royal); }
.hm-clist__icon .j-ico { width: 19px; height: 19px; }
.hm-clist li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.hm-clist__label { font-size: .8rem; font-weight: 700; color: var(--j-muted); text-transform: uppercase; letter-spacing: .06em; }
.j-site:lang(ne) .hm-clist__label { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.hm-clist__value { font-size: 1rem; font-weight: 800; color: var(--j-ink) !important; letter-spacing: -0.01em; overflow-wrap: anywhere; line-height: 1.35; }
a.hm-clist__value:hover { color: var(--j-royal) !important; }
.hm-cpanel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hm-cpanel__actions .j-btn .j-ico { width: 17px; height: 17px; }
@media (max-width: 960px) {
    .hm-cpanel { grid-template-columns: minmax(0, 1fr); }
    .hm-cpanel__media { min-height: 280px; }
}
@media (max-width: 560px) {
    .hm-clist { grid-template-columns: minmax(0, 1fr); }
    .hm-cpanel__media { min-height: 230px; }
    .hm-cpanel__place { left: 12px; right: 12px; bottom: 12px; }
    .hm-cpanel__actions .j-btn { flex: 1 1 100%; }
}
.hm-clist { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.hm-clist li:nth-child(2) .hm-clist__value { overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 560px) { .hm-clist { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) and (max-width: 1220px) { .hm-clist { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 561px) and (max-width: 960px) { .hm-clist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* gap between Admissions and Get in touch was 177px of stacked padding; one comfortable gap instead */
.hm-admit { padding-bottom: clamp(36px, 4vw, 56px); }
.hm-contact { padding-top: 0; }
/* gap between Student voices and Admissions: same rhythm as Admissions -> Get in touch, and no tinted band
   ending in a seam against the white Admissions section */
.hm-voices { padding-bottom: clamp(36px, 4vw, 56px); background: #fff; }
/* gap between Why Janamaitri and Student voices was 188px (full padding on both sides of the band edge) */
.hm-why { padding-bottom: clamp(40px, 4.4vw, 64px); }
.hm-voices { padding-top: clamp(40px, 4.4vw, 64px); }
/* gap between Campus life and Why Janamaitri was 188px (full padding on both sides of the band edge) */
.hm-life { padding-bottom: clamp(40px, 4.4vw, 64px); }
.hm-why { padding-top: clamp(40px, 4.4vw, 64px); }
/* gap between What's happening and Campus life was 122px on one white ground */
.hm-updates { padding-bottom: clamp(28px, 3vw, 40px); }
.hm-life { padding-top: clamp(16px, 2vw, 28px); }
/* gap between the Campus Chief panel and What's happening (was 94px) */
.hm-updates { padding-top: clamp(40px, 4.4vw, 64px); }

/* ============================== Polish pass (ui-ux-pro-max + impeccable), 2026-12-04 ==============================
   No decorative grid-line fields (a generated-UI signature); headings stand alone (no eyebrows); calmer motion. */
.hm-tile--apply::before, .hm-programs::before, .hm-admit__panel::before, .hm-message__panel::after { content: none; background: none; }
.hm-tile--apply { background: linear-gradient(155deg, #12306a 0%, #183d82 100%); justify-content: flex-end; gap: 12px; }
.hm-programs { background: var(--j-navy); }
.hm-hero__name { margin-bottom: 16px; }
.hm-hero__affil { font-weight: 600; color: rgba(255, 255, 255, .74); }
@media (max-width: 760px) { .hm-hero__affil { display: block; margin-top: 4px; font-size: .92em; } }
.hm-hero__content { padding-top: clamp(48px, 5.5vw, 80px); }
.hm-btn-ghost { -webkit-backdrop-filter: none; backdrop-filter: none; --j-btn-bg: rgba(255, 255, 255, .12); }
.j-site .hm-message__title { margin: 0 0 18px; font-family: var(--j-font); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--j-royal); }
.j-site:lang(ne) .hm-message__title { font-size: 1.15rem; }
.hm-tile__big { padding-top: 0; }
.hm-row { grid-template-columns: minmax(0, 1fr) auto auto 56px; }
@media (max-width: 900px) { .hm-row { grid-template-columns: minmax(0, 1fr) 44px; } }
/* touch: hero slide controls 44px on touch screens (testimonial pager: see "Testimonials pager" below) */
@media (hover: none) { .h-hero__controls button { width: 44px; height: 44px; } }
@media (max-width: 760px) { .hm-hero__sep { display: none; } }

/* ============================== Programmes (gg8): light grid of text-only cards ==============================
   Research: small schools with few programmes (Harbour.Space, CODE Berlin, Hult) use flat, same-size, text-only cards,
   one link per card, level stated once, no stock imagery, no dark band. Discipline shown by a line icon + facts line. */
.hm-programs { background: var(--j-paper-2); color: var(--j-text); border-block: 1px solid var(--j-line); }
.hm-programs .j-h2 { color: var(--j-ink); margin: 0; }
.hm-programs__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-bottom: clamp(24px, 2.6vw, 34px); }
.j-site .hm-programs__lead { margin: 14px 0 0; max-width: 62ch; color: var(--j-muted); font-size: 1.04rem; line-height: 1.65; }
.hm-programs__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.j-site .hm-programs__level { margin: 0 0 16px; font-size: .95rem; font-weight: 700; color: var(--j-blue); }
.hm-pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-pcard { position: relative; display: flex; flex-direction: column; min-height: 268px; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--j-line); border-radius: 14px; transition: transform .2s cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .25s; }
.hm-pcard__top { display: flex; align-items: center; justify-content: space-between; }
.hm-pcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--j-sky); color: var(--j-royal); }
.hm-pcard__icon .j-ico { width: 21px; height: 21px; }
.hm-pcard__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--j-line-strong); color: var(--j-ink); transition: background-color .2s, border-color .2s, color .2s; }
.hm-pcard__go .j-ico { width: 16px; height: 16px; transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.j-site .hm-pcard__title { margin: 22px 0 6px; font-family: var(--j-font); font-size: clamp(2.05rem, 1.6rem + 1.1vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: var(--j-ink); }
.j-site:lang(ne) .hm-pcard__title { letter-spacing: 0; line-height: 1.2; }
.hm-pcard__title a { color: inherit !important; }
.hm-pcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.hm-pcard__title a:focus-visible { outline: none; }
.hm-pcard:focus-within { outline: 2.5px solid var(--j-royal); outline-offset: 3px; }
.j-site .hm-pcard__full { margin: 0 0 12px; font-family: var(--j-accent-serif); font-size: 1.08rem; font-weight: 500; line-height: 1.35; color: var(--j-blue); }
.j-site .hm-pcard__text { margin: 0 0 18px; color: var(--j-muted); font-size: .96rem; line-height: 1.6; }
.j-site .hm-pcard__facts { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--j-line); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .88rem; font-weight: 600; color: var(--j-muted); }
.hm-pcard__facts span + span::before { content: "·"; margin: 0 10px; color: var(--j-line-strong); font-weight: 700; }
.hm-pcard__facts span:first-child { color: var(--j-blue); }
@media (hover: hover) and (pointer: fine) {
    .hm-pcard:hover { transform: translateY(-2px); border-color: rgba(36, 80, 216, .45); box-shadow: 0 14px 32px -14px rgba(18, 48, 106, .22); }
    .hm-pcard:hover .hm-pcard__go { background: var(--j-royal); border-color: var(--j-royal); color: #fff; }
    .hm-pcard:hover .hm-pcard__go .j-ico { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .hm-pcard:hover { transform: none; } .hm-pcard:hover .hm-pcard__go .j-ico { transform: none; } }
.hm-programs__foot { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 38px); }
@media (max-width: 1000px) { .hm-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hm-programs__head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
    .hm-pgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hm-pcard { min-height: 0; padding: 20px; }
    .j-site .hm-pcard__title { margin-top: 16px; font-size: 1.95rem; }
    .hm-programs__actions .j-btn { flex: 1 1 auto; }
}
.hm-pcard { min-height: 232px; }
.j-site .hm-pcard__full { margin-bottom: 20px; }

/* ============================== Facilities (gg9): split, ruled list + one campus photograph ============================== */
.hm-why { background: var(--j-paper-2); }
.hm-why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hm-why__text .j-h2 { margin: 0; }
.j-site .hm-why__lead { margin: 14px 0 0; color: var(--j-muted); max-width: 52ch; }
.hm-flist { list-style: none; margin: clamp(26px, 3vw, 38px) 0 clamp(26px, 3vw, 34px); padding: 0; border-bottom: 1px solid rgba(18, 48, 106, .14); }
.hm-flist li { padding: 18px 0; border-top: 1px solid rgba(18, 48, 106, .14); }
.j-site .hm-flist__title { margin: 0; font-family: var(--j-font); font-size: 1.15rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.012em; color: var(--j-ink); }
.j-site .hm-flist__text { margin: 4px 0 0; color: var(--j-muted); font-size: 1rem; line-height: 1.55; }
.j-site:lang(ne) .hm-flist__text { line-height: 1.7; }
.hm-flist__title a { color: inherit !important; }
.hm-why__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--j-tint); }
.hm-why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hm-why__photo::after { content: none; }
@media (max-width: 1023px) {
    .hm-why__grid { grid-template-columns: minmax(0, 1fr); }
    .hm-why__photo { order: -1; aspect-ratio: 16 / 9; }
    .hm-why__text { display: grid; }
    .hm-why__text .j-h2 { order: -2; }
    .hm-flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 0; }
    .hm-flist li { border-top: 1px solid rgba(18, 48, 106, .14); }
    .hm-why__text > .j-btn { justify-self: start; }
}
@media (max-width: 767px) {
    .hm-why__photo { aspect-ratio: 4 / 3; }
    .hm-flist { grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid rgba(18, 48, 106, .14); }
}
.hm-why__photo img { object-position: 55% 18%; }
/* tablet/mobile order per research: heading, photo, list, button */
@media (max-width: 1023px) {
    .hm-why__grid { gap: 0; }
    .hm-why__text { display: contents; }
    .hm-why__text .j-h2 { order: 1; margin-bottom: 22px; }
    .hm-why__lead { order: 2; }
    .hm-why__photo { order: 3; }
    .hm-flist { order: 4; }
    .hm-why__text > .j-btn { order: 5; justify-self: start; }
}

/* ============================== Facilities: statement + ledger panel (no photo; the mosaic is directly above) ============================== */
.hm-why { background: #fff; border-block: 0; }
.hm-why__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; padding: clamp(28px, 4.2vw, 56px); background: var(--j-paper-2); border: 1px solid var(--j-line); border-radius: 18px; }
.hm-why__left { display: flex; flex-direction: column; align-items: flex-start; }
.hm-why__left .j-h2 { margin: 0; }
.hm-why__reasons { margin-top: clamp(22px, 2.6vw, 32px); width: 100%; }
.j-site .hm-why__label { margin: 0 0 6px; font-size: .95rem; font-weight: 700; color: var(--j-muted); }
.hm-reasons { list-style: none; margin: 0; padding: 0; }
.hm-reasons li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--j-line); color: var(--j-ink); font-size: 1rem; line-height: 1.5; }
.hm-reasons li:last-child { border-bottom: 0; }
.hm-reasons .j-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--j-royal); }
.j-site:lang(ne) .hm-reasons li { line-height: 1.7; }
.hm-why__cta { margin-top: clamp(24px, 2.8vw, 32px); }
.hm-ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(18, 48, 106, .14); }
.hm-ledger li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 0; border-top: 1px solid rgba(18, 48, 106, .14); }
.hm-ledger li:first-child { border-top: 0; padding-top: 6px; }
.hm-ledger__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--j-line); color: var(--j-blue); }
.hm-ledger__icon .j-ico { width: 22px; height: 22px; stroke-width: 1.6; }
.j-site .hm-ledger__title { margin: 2px 0 0; font-family: var(--j-font); font-size: clamp(1.18rem, 1.05rem + .4vw, 1.38rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--j-ink); }
.j-site .hm-ledger__text { margin: 6px 0 0; max-width: 46ch; color: var(--j-muted); font-size: 1rem; line-height: 1.55; }
.j-site:lang(ne) .hm-ledger__text { line-height: 1.7; }
.hm-ledger__title a { color: inherit !important; }
@media (max-width: 1000px) {
    .hm-why__panel { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hm-why__left { display: contents; }
    .hm-why__left .j-h2 { order: 1; margin-bottom: 18px; }
    .hm-ledger { order: 2; }
    .hm-why__reasons { order: 3; margin-top: 28px; }
    .hm-why__cta { order: 4; justify-self: start; }
    .hm-ledger li:first-child { padding-top: 18px; border-top: 1px solid rgba(18, 48, 106, .14); }
}
@media (max-width: 560px) { .hm-ledger li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; } .hm-ledger__icon { width: 42px; height: 42px; } }

/* ============================== Facilities v3 (gg10): asymmetric bento, no photo ==============================
   A contained brand-blue lead tile (the published "JMC is chosen for" list) as the focal point, four facility
   tiles of uneven widths (7/5 then 5/7) so it never reads as a uniform icon-card grid. Items are not links. */
.hm-why { background: #fff; }
.hm-why__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 2.8vw, 36px); }
.hm-why__head .j-h2 { margin: 0; }
.hm-bento2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; }
.hm-bento2__lead { grid-column: 1 / span 5; grid-row: 1 / span 2; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: 18px; background: linear-gradient(160deg, #163a7d 0%, #12306a 55%, #0e2756 100%); color: #fff; }
.hm-bento2__lead::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 36px rgba(255, 255, 255, .035), 0 0 0 72px rgba(255, 255, 255, .025); }
.hm-bento2__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: 18px; }
.hm-bento2__mark .j-ico { width: 23px; height: 23px; }
.j-site .hm-bento2__title { margin: 0 0 10px; font-family: var(--j-font); font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; color: #fff; }
.j-site:lang(ne) .hm-bento2__title { letter-spacing: 0; line-height: 1.4; }
.hm-reasons2 { list-style: none; margin: 0; padding: 0; }
.hm-reasons2 li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 1rem; line-height: 1.5; color: #e8eefc; }
.hm-reasons2 li:first-child { border-top: 0; }
.hm-reasons2 .j-ico { width: 22px; height: 22px; padding: 4px; margin-top: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; stroke-width: 2.4; }
.j-site:lang(ne) .hm-reasons2 li { line-height: 1.7; }
.hm-bento2__tile { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-height: 196px; padding: clamp(22px, 2.4vw, 30px); border-radius: 18px; background: #fff; border: 1px solid var(--j-line); }
.hm-bento2__tile--1 { grid-column: 6 / span 4; }
.hm-bento2__tile--2 { grid-column: 10 / span 3; background: var(--j-sky); border-color: var(--j-sky-2); }
.hm-bento2__tile--3 { grid-column: 6 / span 3; background: var(--j-paper-2); }
.hm-bento2__tile--4 { grid-column: 9 / span 4; }
.hm-bento2__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--j-blue); color: #fff; margin-bottom: auto; }
.hm-bento2__tile--2 .hm-bento2__icon { background: var(--j-royal); }
.hm-bento2__icon .j-ico { width: 24px; height: 24px; stroke-width: 1.7; }
.j-site .hm-bento2__ttl { margin: 26px 0 0; font-family: var(--j-font); font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--j-ink); }
.j-site:lang(ne) .hm-bento2__ttl { letter-spacing: 0; }
.j-site .hm-bento2__txt { margin: 8px 0 0; color: var(--j-muted); font-size: .98rem; line-height: 1.55; }
.hm-bento2__ttl a { color: inherit !important; }
@media (max-width: 1100px) {
    .hm-bento2__lead { grid-column: 1 / -1; grid-row: auto; }
    .hm-reasons2 { columns: 2; column-gap: 32px; }
    .hm-reasons2 li { break-inside: avoid; }
    .hm-reasons2 li:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
    .hm-bento2__tile--1 { grid-column: 1 / span 7; }
    .hm-bento2__tile--2 { grid-column: 8 / span 5; }
    .hm-bento2__tile--3 { grid-column: 1 / span 5; }
    .hm-bento2__tile--4 { grid-column: 6 / span 7; }
}
@media (max-width: 640px) {
    .hm-bento2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hm-bento2__lead, .hm-bento2__tile--1, .hm-bento2__tile--2, .hm-bento2__tile--3, .hm-bento2__tile--4 { grid-column: auto; }
    .hm-reasons2 { columns: 1; }
    .hm-reasons2 li:first-child { border-top: 0; }
    .hm-bento2__tile { min-height: 0; }
    .hm-bento2__icon { margin-bottom: 0; }
    .j-site .hm-bento2__ttl { margin-top: 18px; }
    .hm-why__head .j-btn { width: 100%; justify-content: center; order: 2; }
}

/* gg10 gap pass: reasons as pill tags (shorter lead tile, so facility tiles are not stretched), compact horizontal
   facility tiles (no empty middle), section spacing matched to the page rhythm, mobile button after the tiles */
.hm-why { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(28px, 3vw, 44px); }
.hm-reasons2 { display: flex; flex-wrap: wrap; gap: 10px; columns: auto; }
.hm-reasons2 li, .hm-reasons2 li:first-child { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: .95rem; line-height: 1.35; color: #fff; break-inside: auto; }
.hm-reasons2 .j-ico { flex: none; width: 20px; height: 20px; padding: 3px; }
.j-site:lang(ne) .hm-reasons2 li { line-height: 1.55; }
.hm-bento2__lead { justify-content: center; }
.j-site .hm-bento2__title { margin-bottom: 18px; }
.hm-bento2__tile { min-height: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-content: center; align-items: start; padding: clamp(22px, 2.2vw, 28px); }
.hm-bento2__icon { grid-row: 1 / span 2; margin: 0; }
.j-site .hm-bento2__ttl { margin: 2px 0 0; }
.j-site .hm-bento2__txt { margin-top: 6px; }
@media (max-width: 1100px) { .hm-reasons2 { columns: auto; } .hm-reasons2 li:first-child { border-top: 1px solid rgba(255, 255, 255, .18); } }
@media (max-width: 640px) {
    .hm-why__head { display: block; }
    .hm-why__head .j-btn { display: none; }
    .hm-bento2::after { content: none; }
    .hm-why .j-container { display: flex; flex-direction: column; }
    .hm-why__cta-m { display: inline-flex; }
    .hm-bento2__tile { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
    .hm-bento2__icon { width: 44px; height: 44px; }
}
.hm-why__cta-m { display: none; margin-top: 16px; width: 100%; justify-content: center; }
/* balance: the four facility tiles stack down the right (one per row) so together they match the lead tile's height;
   no tile is stretched, so no empty space inside any tile */
@media (min-width: 1101px) {
    .hm-bento2 { grid-template-rows: repeat(4, auto); }
    .hm-bento2__lead { grid-column: 1 / span 5; grid-row: 1 / span 4; }
    .hm-bento2__tile--1, .hm-bento2__tile--2, .hm-bento2__tile--3, .hm-bento2__tile--4 { grid-column: 6 / -1; }
    .hm-bento2__tile { padding: 20px 26px; }
}
.hm-reasons2 li, .hm-reasons2 li:first-child { padding: 8px 14px 8px 8px; }
@media (max-width: 640px) { .hm-why .hm-why__cta-m { display: inline-flex; } }
/* right side as a 2x2 grid with equal horizontal and vertical gaps (18px) beside the lead tile;
   each tile centres its icon/title/line as one block so spacing inside is even, never an empty middle */
@media (min-width: 1101px) {
    .hm-bento2 { grid-template-columns: minmax(0, 10fr) minmax(0, 7fr) minmax(0, 7fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .hm-bento2__lead { grid-column: 1; grid-row: 1 / span 2; }
    .hm-bento2__tile--1 { grid-column: 2; grid-row: 1; }
    .hm-bento2__tile--2 { grid-column: 3; grid-row: 1; }
    .hm-bento2__tile--3 { grid-column: 2; grid-row: 2; }
    .hm-bento2__tile--4 { grid-column: 3; grid-row: 2; }
    .hm-bento2__tile { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px; }
    .hm-bento2__icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 0 22px; }
    .hm-bento2__icon .j-ico { width: 26px; height: 26px; }
    .j-site .hm-bento2__ttl { margin: 0; font-size: 1.42rem; }
    .j-site .hm-bento2__txt { margin-top: 8px; font-size: 1rem; }
}
@media (min-width: 641px) and (max-width: 1100px) { .hm-bento2 { gap: 18px; } }
/* Life at Janamaitri: each photo opens the shared photo viewer (jmc-content.js lightbox) */
.hm-mosaic__link { position: absolute; inset: 0; display: block; cursor: zoom-in; border-radius: inherit; }
.hm-mosaic__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--j-ease-out); }
.hm-mosaic__item:hover .hm-mosaic__link img { transform: scale(1.06); }
.hm-mosaic__link:focus-visible { outline: 3px solid var(--j-royal); outline-offset: -3px; }
.hm-mosaic__item figcaption { pointer-events: none; z-index: 1; }

/* ============================== Testimonials pager (Herald College): flat progress segments ==============================
   44px hit area per button, 40x4 visual bar; the active bar fills over the autoplay delay (--dur is set from JS so it stays
   in step with the timer and restarts on every slide change). Keeps running under the mouse (owner's rule). */
.hm-voices__dots { display: flex; align-items: center; gap: 0; min-height: 44px; margin-block: -10px; }
.hm-voices__dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hm-voices__dot::before { content: ""; position: absolute; left: 2px; right: 2px; top: 20px; height: 4px; border-radius: 2px; background: #dbe3f3; transition: background-color .2s; }
.hm-voices__dot:hover::before { background: #b9c6dd; }
.hm-voices__dot span { position: absolute; left: 2px; right: 2px; top: 20px; height: 4px; border-radius: 2px; background: #2450d8; transform: scaleX(0); transform-origin: left center; }
.hm-voices__dot.is-active span { transform: scaleX(1); }
.hm-voices.is-playing .hm-voices__dot.is-active.is-filling span { animation: hm-seg var(--dur, 5500ms) linear both; }
@keyframes hm-seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hm-voices__dot:focus-visible { outline: 2px solid #2450d8; outline-offset: -6px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .hm-voices.is-playing .hm-voices__dot.is-active.is-filling span { animation: none; transform: scaleX(1); } }

/* ============================== Admissions: chevron link list (Sydney, USF) ============================== */
.hm-alinks { list-style: none; margin: 26px 0 0; padding: 0; max-width: 520px; }
.hm-alinks li { border-top: 1px solid rgb(18 48 106 / .12); }
.hm-alinks li:last-child { border-bottom: 1px solid rgb(18 48 106 / .12); }
.hm-alinks a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 2px; font-size: 16px; font-weight: 600; line-height: 1.4; color: #0a1430 !important; text-decoration: none; }
.hm-alinks__ico { flex: none; width: 18px; height: 18px; color: #2450d8; }
.hm-alinks a:hover { color: #2450d8 !important; text-decoration: underline; text-underline-offset: 3px; }
.hm-alinks a:focus-visible { outline: 2px solid #2450d8; outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
    .hm-alinks__ico { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
    .hm-alinks a:hover .hm-alinks__ico { transform: translateX(4px); }
}
.hm-alinks + .hm-admit__note { margin-top: 22px; }

/* ============================== Programmes intro: inline discipline chips (VCU Arts) ============================== */
.j-site .hm-discs { margin: 12px 0 0; max-width: 72ch; color: #0a1430; font-size: 1.04rem; font-weight: 600; line-height: 2; }
.hm-disc { display: inline-flex; align-items: center; padding: 4px 14px; margin: 0 2px; border: 1px solid rgb(18 48 106 / .2); border-radius: 999px; background: #fff; color: #12306a !important; font-size: .92em; font-weight: 700; line-height: 1.5; text-decoration: none; vertical-align: baseline; transition: background-color .2s, border-color .2s, color .2s; }
.hm-disc:hover { background: #eef3ff; border-color: #2450d8; color: #2450d8 !important; }
.hm-disc:focus-visible { outline: 2px solid #2450d8; outline-offset: 2px; }
.hm-discs__item { white-space: nowrap; }
.hm-discs__end { margin-left: 1px; }
.hm-pcard[id] { scroll-margin-top: calc(var(--j-sticky, 80px) + 24px); }
.hm-pcard:target { border-color: #2450d8; box-shadow: 0 0 0 3px rgb(36 80 216 / .18); }
/* gap services -> "Our Programme": was 89px + 89px (169px); match the other section gaps the owner tuned */
.hm-services { padding-bottom: clamp(28px, 3vw, 44px); }
.hm-programs { padding-top: clamp(40px, 4.4vw, 64px); }
/* gap "Our Programme" -> campus chief message: was 89px + 68px (158px); match the other tuned section gaps */
.hm-programs { padding-bottom: clamp(36px, 4vw, 56px); }
.hm-message { padding-top: clamp(28px, 3vw, 44px); }
/* gg14: on phones the facts bar was pinned to the hero's bottom edge with the slideshow controls 48px above it; when the
   title/lead/buttons wrapped onto more lines (short screens, 320px) the controls landed on the facts. On phones the bar
   now sits in the normal flow under the content (still pushed to the bottom of the hero when there is room), with the
   controls on their own row, right-aligned, above the facts. */
@media (max-width: 760px) {
    .hm-hero__content { padding-bottom: 28px; }
    .hm-hero__bar { position: relative; left: auto; right: auto; bottom: auto; margin-top: auto; gap: 16px; padding-bottom: 20px; }
    .h-hero__controls { position: static; top: auto; right: auto; align-self: flex-end; }
}
/* gg15: the enrolment form is a one-column grid whose column was sized by its widest child (the 304px reCAPTCHA), so on
   small phones inputs, select and button ran past the white card and were clipped. The column now follows the card. */
.hm-admit .j-form { grid-template-columns: minmax(0, 1fr); }
.hm-admit .j-form .j-input, .hm-admit .j-form .j-select, .hm-admit .j-form select, .hm-admit .j-form .j-btn { max-width: 100%; }
@media (max-width: 400px) {
    .hm-admit__panel { padding-inline: 10px; }
    .hm-admit__form { padding-inline: 14px; }
}
@media (max-width: 360px) {
    .hm-admit .g-recaptcha { width: 237px; height: 61px; }
    .hm-admit .g-recaptcha > div { transform: scale(.78); transform-origin: 0 0; }
}
/* ===== Campus chief's message, directly after the hero (2026-12-04, v2 "stage") =====
   One soft panel: the transparent cut-out portrait stands in front of a light arch (head breaking out above it) with the
   name card overlapping; the letter side has a large faint quotation mark, a serif pull quote, excerpt and signature.
   Light palette only (white -> pale blue), shadows soft. */
.hm-chief { padding-block: clamp(48px, 5.5vw, 84px) clamp(24px, 3vw, 40px); background: #fff; }
.hm-chief + .hm-services { padding-top: clamp(28px, 3vw, 44px); }
.hm-chief__stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 56px) clamp(24px, 4.5vw, 64px); border: 1px solid #e3eaf7; border-radius: 28px; background: radial-gradient(120% 90% at 0% 0%, #eef3ff 0%, rgba(238, 243, 255, 0) 55%), linear-gradient(160deg, #fbfcff 0%, #f3f6fd 100%); overflow: hidden; }
.hm-chief__stage::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(36, 80, 216, .10); box-shadow: 0 0 0 40px rgba(36, 80, 216, .025), 0 0 0 90px rgba(36, 80, 216, .02); pointer-events: none; }
/* portrait: arch behind, cut-out on top, card overlapping the arch base */
.hm-chief__visual { position: relative; margin: 0; width: min(100%, 420px); justify-self: center; aspect-ratio: 1 / 1.08; }
.hm-chief__arch { position: absolute; left: 6%; right: 6%; bottom: 9%; height: 78%; border-radius: 999px 999px 26px 26px; background: radial-gradient(90% 70% at 50% 18%, #ffffff 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #dce6fb 0%, #c3d4f5 100%); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .55), 0 30px 60px -38px rgba(18, 48, 106, .55); overflow: hidden; }
.hm-chief__arch::before { content: ""; position: absolute; inset: 18px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .85); }
.hm-chief__mark-bg { position: absolute; right: -36px; bottom: -36px; width: 62%; height: auto; opacity: .09; filter: grayscale(1); }
.hm-chief__portrait { position: absolute; left: 6%; bottom: 9%; width: 88%; height: auto; object-fit: contain; object-position: 50% 100%; clip-path: inset(-60% 0 0 0 round 0 0 26px 26px); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9px); mask-image: linear-gradient(to bottom, transparent 0, #000 9px); }
.hm-chief__card { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; background: #fff; border: 1px solid #e3eaf7; border-radius: 999px; box-shadow: 0 22px 44px -26px rgba(10, 20, 48, .4); }
.hm-chief__seal { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--j-sky); }
.hm-chief__seal img { width: 34px; height: 34px; object-fit: contain; }
.hm-chief__who { display: grid; gap: 1px; min-width: 0; }
.j-site .hm-chief__who b { font-family: var(--j-accent-serif); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--j-ink); }
.hm-chief__who span { font-size: .86rem; line-height: 1.35; color: var(--j-muted); }
/* the letter */
.hm-chief__body { position: relative; }
.j-site .hm-chief__title { margin: 0 0 18px; font-weight: 800; font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.65rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--j-ink); }
.j-site:lang(ne) .hm-chief__title { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
.hm-chief__quote { position: relative; margin: 0 0 18px; padding: 0; border: 0; background: none; }
.hm-chief__qmark { display: block; height: .42em; margin: 0 0 10px -.04em; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: .9; color: var(--j-royal); opacity: .28; pointer-events: none; }
.j-site .hm-chief__quote p { margin: 0; max-width: 40ch; font-family: var(--j-accent-serif); font-weight: 500; font-size: clamp(1.18rem, .98rem + .62vw, 1.5rem); line-height: 1.48; color: var(--j-blue); }
.j-site .hm-chief__excerpt { margin: 0 0 28px; max-width: 60ch; font-size: 1.02rem; line-height: 1.72; color: var(--j-muted); }
.hm-chief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
@media (max-width: 900px) {
    .hm-chief__stage { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hm-chief__visual { width: min(100%, 360px); }
}
@media (max-width: 560px) {
    .hm-chief__stage { padding: 22px 16px 26px; border-radius: 22px; }
    .hm-chief__stage::after { display: none; }
    .hm-chief__visual { width: min(100%, 300px); }
    .hm-chief__card { padding: 10px 16px 10px 10px; gap: 10px; }
    .j-site .hm-chief__who b { font-size: 1rem; }
    .hm-chief__foot .j-btn { width: 100%; justify-content: center; }
}
