/* Maa Narmada Group of Institutes: one stylesheet for the gateway and the three institute sites.
   Black and white, one colour per institute, square corners, thin rules, big photographs. */
:root {
  --ink: #161616; --text: #1f1f1f; --grey: #5c5c5c; --rule: #dcdcdc; --wash: #f2f2f0;
  --ph: #d0d0cd; --ph-dark: #3b3b3b;
  --accent: #6e1a1f;
  --serif: "Newsreader", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --gut: max(calc((100% - 1320px) / 2), clamp(20px, 3.5vw, 60px)); /* the .wrap side margin, for full-width rows */
}
.mndc { --accent: #6e1a1f; }
.mnce { --accent: #1f4a35; }
.mna  { --accent: #974a0b; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(1320px, 100% - clamp(40px, 7vw, 120px)); margin-inline: auto; }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.wash { background: var(--wash); }
.lead { font: 400 clamp(23px, 2.3vw, 31px)/1.35 var(--serif); letter-spacing: -.005em; }
.soft { color: var(--grey); }
.link { color: var(--accent); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.btn { display: inline-block; padding: 14px 24px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15.5px; line-height: 1.3; text-decoration: none; transition: background .15s; }
.btn:hover { background: color-mix(in srgb, var(--accent) 80%, #000); }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: #e9e9e9; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(36px, 4.5vw, 60px); }

/* photo placeholders: plain grey where a real photo goes, with a note of what it should show */
.ph { position: relative; background: var(--ph); aspect-ratio: var(--r, 3 / 2); }
.ph::after { content: attr(data-photo); position: absolute; top: 14px; right: 16px; left: 16px; text-align: right; font: 400 12.5px/1.3 var(--sans); color: rgba(0,0,0,.45); }
.ph.dark { background: var(--ph-dark); }
.ph.dark::after { color: rgba(255,255,255,.5); }
img.ph { display: block; width: 100%; object-fit: cover; }

/* ---------- gateway ---------- */
.gate-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: #fff; }
.gate-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 22px clamp(20px, 3.4vw, 48px); }
.gate-top h1 { font-size: clamp(23px, 2vw, 29px); line-height: 1.1; }
.gate-top h1 span { display: block; margin-top: 5px; font: 400 14px/1.3 var(--sans); letter-spacing: 0; color: rgba(255,255,255,.6); }
.gate-top p { font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.6); text-align: right; }
.gate-top p a { display: block; color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; }
.gate { flex: 1; display: flex; gap: 2px; min-height: 540px; }
.gate a { position: relative; flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 44px);
          color: #fff; text-decoration: none; overflow: hidden; transition: flex-grow .6s cubic-bezier(.2, .7, .2, 1); }
.gate .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.gate a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.82)); }
.gate .ph::after { content: none; }
.gate-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; padding: 6px; background: #fff; }
.gate a > :not(.ph) { position: relative; z-index: 2; }
.gate a:hover, .gate a:focus-visible { flex-grow: 1.35; }
.gate a:hover .ph { transform: scale(1.03); }
.gate h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; max-width: 13ch; }
.gate p { margin-top: 12px; max-width: 34ch; font-size: 16px; color: rgba(255,255,255,.82); }
.gate .go { align-self: flex-start; margin-top: 22px; padding: 13px 22px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1; }
.gate a:hover .go, .gate a:focus-visible .go { background: #e8e8e6; }
.gate-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px clamp(20px, 3.4vw, 48px); font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- institute sites ---------- */
.util { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13.5px; }
.util .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.util nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.util a { text-decoration: none; }
.util a:hover { color: #fff; }
.mast { position: relative; background: #fff; border-bottom: 1px solid var(--rule); }
.mast .wrap { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.crest { display: flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.crest .logo { width: 52px; height: 52px; flex: none; object-fit: contain; }
.crest b { display: block; font: 400 clamp(20px, 1.9vw, 26px)/1.1 var(--serif); letter-spacing: -.01em; }
.crest small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--grey); }
/* main menu: a group opens a small dropdown right under its name, on hover or keyboard focus.
   It starts where the name ends (no gap to cross) and waits a moment before closing, so the mouse can slip. */
.nav { display: flex; align-self: stretch; gap: 24px; font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.nav > a, .grp > a { display: flex; align-items: center; text-decoration: none; border-bottom: 2px solid transparent; }
.nav > a:hover, .grp:hover > a, .grp:focus-within > a { border-color: var(--ink); }
.grp { position: relative; display: flex; }
.panel { position: absolute; top: 100%; left: -18px; z-index: 20; min-width: 250px; padding: 4px 18px 8px; background: #fff;
         border: 1px solid var(--rule); visibility: hidden; opacity: 0; transition: opacity .12s, visibility 0s linear .25s; }
.grp:hover .panel, .grp:focus-within .panel { visibility: visible; opacity: 1; transition-delay: 0s; }
.panel a { display: block; padding-block: 12px; border-bottom: 1px solid var(--rule); font: 400 18px/1.3 var(--serif); text-decoration: none; }
.panel li:last-child a { border-bottom: 0; }
.panel a:hover { color: var(--accent); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 16px; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu nav { max-height: calc(100svh - 90px); overflow-y: auto; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; display: grid; padding: 4px clamp(20px, 3.5vw, 60px) 24px; background: #fff; border-bottom: 1px solid var(--rule); }
.menu nav a { padding-block: 14px; border-bottom: 1px solid var(--rule); font: 400 23px/1.2 var(--serif); text-decoration: none; }
.menu .mgrp { padding-top: 20px; font-size: 13.5px; color: var(--grey); }
.menu nav a.sub { padding-block: 11px; font-size: 20px; }

.hero { position: relative; display: flex; align-items: flex-end; min-height: min(78svh, 760px); color: #fff; }
.hero .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, rgba(0,0,0,.6)), linear-gradient(90deg, rgba(0,0,0,.42), transparent 65%); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 84px); }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; max-width: 17ch; }
.hero p { margin-top: 20px; max-width: 48ch; font-size: clamp(17.5px, 1.5vw, 20px); color: rgba(255,255,255,.88); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.hero .acts > a:not(.btn) { color: #fff; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* hero slideshow: photos cross-fade; the thin bars show which photo is on and fill up until the next one */
.hero .slides { position: absolute; inset: 0; overflow: hidden; background: var(--ph-dark); }
.hero .slides > * { opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 8s ease-out; }
.hero .slides > .on { opacity: 1; transform: none; }
.hero-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: clamp(40px, 6vw, 72px); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-ctl .cap { flex: 1; font-size: 14.5px; color: rgba(255,255,255,.78); }
.bars { display: flex; }
.bars button { position: relative; width: 44px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.bars button::before, .bars button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 19px; height: 2px; background: rgba(255,255,255,.32); }
.bars button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.bars button.on::after { animation: fill 6.5s linear forwards; }
.hero.paused .bars button.on::after { animation-play-state: paused; }
@keyframes fill { to { transform: none; } }
.pause { padding: 0; border: 0; background: none; color: #fff; font: 600 14.5px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }

/* notice ticker: runs left on its own, stops on hover, on keyboard focus, or with Pause */
.ticker { display: flex; background: var(--accent); color: #fff; font-size: 15px; line-height: 1.4; }
.tk-label { flex: none; display: flex; align-items: center; padding: 0 22px 0 var(--gut); background: color-mix(in srgb, var(--accent) 70%, #000); font-weight: 600; }
.tk-view { flex: 1; min-width: 0; overflow: hidden; padding-left: 24px; }
.track { display: flex; width: max-content; animation: tick var(--dur, 40s) linear infinite; }
.track ul { display: flex; gap: 64px; padding: 15px 64px 15px 0; }
.track li { white-space: nowrap; }
.track a { text-decoration: none; }
.track a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.track time { margin-right: 12px; opacity: .7; }
.ticker:hover .track, .ticker:focus-within .track, .ticker.paused .track { animation-play-state: paused; }
.ticker .pause { flex: none; padding: 0 var(--gut) 0 24px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* photo reel: swipe or scroll sideways; starts in line with the page text and runs off the right edge */
.reel-sec { padding-top: 0; }
.reel-nav { display: flex; gap: 8px; align-self: flex-end; }
.reel-nav button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #c9c9c9; background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.reel-nav button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.reel-nav button:disabled { opacity: .35; cursor: default; }
.reel { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding-inline: var(--gut); scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel li { flex: none; width: min-content; scroll-snap-align: start; }
.reel img, .reel .ph { display: block; width: auto; height: clamp(280px, 34vw, 480px); }
.reel span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--grey); }

.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro .lead + p { margin-top: 24px; max-width: 56ch; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.facts dt { color: var(--grey); }

.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.courses h3 { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.courses h3 span { display: block; margin-top: 4px; font: 400 14.5px/1.4 var(--sans); letter-spacing: 0; color: var(--grey); }
.courses li { padding-block: 13px; border-bottom: 1px solid var(--rule); }
.courses li small { display: block; font-size: 14.5px; color: var(--grey); }
.after { margin-top: 36px; max-width: 80ch; color: var(--grey); font-size: 16px; }

.programme { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.programme h3 { font-size: clamp(30px, 3vw, 40px); }
.programme h3 + p { margin: 6px 0 22px; color: var(--grey); }
.programme .facts { margin-bottom: 22px; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split.flip .ph { order: 2; }
.split p { margin-top: 18px; max-width: 52ch; color: var(--grey); }
.split .link { display: inline-block; margin-top: 22px; }
.list-rules { margin-top: 22px; border-top: 1px solid var(--rule); }
.list-rules li { padding-block: 11px; border-bottom: 1px solid var(--rule); font-size: 16px; }

.news { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.news h2 { margin-bottom: 28px; }
.notices { border-top: 1px solid var(--ink); }
.notices li { padding-block: 15px; border-bottom: 1px solid var(--rule); }
.notices time, .story time { display: block; font-size: 14px; color: var(--grey); }
.notices a, .story h3 a { text-decoration: none; }
.notices a { font-weight: 500; }
.notices a:hover, .story h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.notices + .link { display: inline-block; margin-top: 22px; }
.story .ph { --r: 16 / 9; }
.story time { margin-top: 18px; }
.story h3 { margin-top: 6px; }
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.more h3 { font-size: 21px; }

.adm { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.adm .lead { margin-top: 22px; }
.how { margin-top: 32px; border-top: 1px solid var(--ink); }
.how div { padding-block: 16px; border-bottom: 1px solid var(--rule); }
.how dt { font-weight: 600; }
.how dd { margin-top: 2px; color: var(--grey); font-size: 16.5px; }
.adm h3 { margin-bottom: 14px; }
.adm h3 + p { margin: -6px 0 14px; color: var(--grey); font-size: 15.5px; }
.docs { columns: 2; column-gap: 32px; border-top: 1px solid var(--ink); }
.docs li { padding-block: 10px; border-bottom: 1px solid var(--rule); break-inside: avoid; font-size: 16px; }
.phones { margin-top: 40px; }
.phones p { color: var(--grey); font-size: 15.5px; }
.phones ul { margin: 8px 0 24px; font: 400 clamp(24px, 2.3vw, 31px)/1.45 var(--serif); }
.phones a { text-decoration: none; }
.phones a:hover { color: var(--accent); }

.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.voices blockquote p { font: 400 clamp(23px, 2.2vw, 30px)/1.32 var(--serif); }
.voices cite { display: block; margin-top: 18px; font-style: normal; font-size: 15.5px; color: var(--grey); }
.voices cite b { display: block; color: var(--text); font-weight: 600; }

.quote { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.quote .ph { --r: 4 / 5; }
.quote blockquote p { max-width: 30ch; font: 400 clamp(28px, 3.2vw, 44px)/1.22 var(--serif); letter-spacing: -.01em; }
.quote cite { display: block; margin: 24px 0 18px; font-style: normal; font-size: 15.5px; color: var(--grey); }
.quote cite b { display: block; color: var(--text); font-weight: 600; }

.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit address { margin-top: 20px; font-style: normal; font-size: 18px; }
.visit .facts { margin-top: 28px; }
.visit .ph { --r: 16 / 10; }

.foot { background: var(--ink); color: rgba(255,255,255,.66); font-size: 15px; padding-block: 72px 28px; }
.foot .cols { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr; gap: 40px; }
.foot .name { display: block; margin-bottom: 12px; color: #fff; font: 400 25px/1.15 var(--serif); }
.foot h4 { margin-bottom: 14px; color: #fff; font-size: 14.5px; font-weight: 600; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; }

/* ---------- inner pages: notices, news stories, messages, people, text ---------- */
.news.solo { grid-template-columns: minmax(0, 1fr); }
.phead { border-bottom: 1px solid var(--rule); }
.phead .wrap { padding-block: clamp(40px, 5vw, 72px) clamp(28px, 3vw, 44px); }
.crumbs { font-size: 14px; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.phead h1 { margin-top: 14px; max-width: 22ch; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
.phead .line { margin-top: 14px; max-width: 60ch; color: var(--grey); }
.inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(44px, 5vw, 72px) clamp(72px, 9vw, 128px); }
.inner.solo { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: 24px; border-top: 1px solid var(--ink); }
.side a { display: block; padding-block: 11px; border-bottom: 1px solid var(--rule); font-size: 16px; text-decoration: none; }
.side a:hover { color: var(--accent); }
.side a[aria-current] { color: var(--accent); font-weight: 600; }

.cats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15.5px; }
.cats a { text-underline-offset: 4px; }
.cats a[aria-current] { color: var(--accent); font-weight: 600; text-decoration: none; }
.month { margin: 40px 0 14px; font-size: clamp(24px, 2.4vw, 30px); }
.notices .t { font-weight: 500; }
.notices .meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: 14px; color: var(--grey); }

.story-page .ph { --r: 16 / 9; margin-bottom: 32px; }
.story-page p { max-width: 68ch; font-size: 18.5px; }
.story-page p + p { margin-top: 1em; }
.more-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.more-photos .ph { --r: 3 / 2; margin: 0; }

.msg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.msg .ph { --r: 4 / 5; }
.msg .text p { max-width: 62ch; font: 400 clamp(19px, 1.6vw, 21px)/1.6 var(--serif); }
.msg .text p + p { margin-top: 1em; }
.msg .text .sign { margin-top: 36px; font: 400 16px/1.5 var(--sans); }
.sign b, .sign span { display: block; }
.sign span { color: var(--grey); font-size: 15px; }

.ppl h2 { margin: clamp(40px, 5vw, 64px) 0 20px; font-size: clamp(26px, 2.6vw, 34px); }
.ppl h2:first-child { margin-top: 0; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.people.text { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people li { padding-top: 16px; border-top: 1px solid var(--rule); }
.people .ph { --r: 4 / 5; margin-bottom: 14px; }
.people b { display: block; font: 400 20px/1.25 var(--serif); }
.people span { display: block; margin-top: 3px; font-size: 15px; color: var(--grey); }

.prose h2 { margin-top: 44px; font-size: clamp(24px, 2.4vw, 30px); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; max-width: 68ch; color: var(--grey); }
.prose .list-rules { max-width: 68ch; }

@media (max-width: 1360px) {
  .mast .btn { display: none; }
}
@media (max-width: 1180px) {
  .nav, .mast .btn { display: none; }
  .menu { display: block; }
}
@media (max-width: 900px) {
  .gate { flex-direction: column; min-height: 0; }
  .gate a { min-height: max(170px, calc((100svh - 150px) / 3)); padding: 20px; }
  .gate h2 { font-size: 26px; max-width: none; }
  .gate p { margin-top: 6px; font-size: 14.5px; }
  .gate .go { margin-top: 12px; padding: 11px 18px; font-size: 15px; }
  .gate-logo { width: 48px; height: 48px; margin-bottom: 10px; padding: 4px; }
  .gate-top { padding: 14px 20px; gap: 6px 20px; }
  .gate-top p { font-size: 13px; }
  .gate-top p a { font-size: 15px; }
  .util { font-size: 12.5px; }
  .util .wrap { flex-wrap: nowrap; padding-block: 6px; gap: 16px; }
  .util .wrap > a { white-space: nowrap; }
  .util nav { min-width: 0; flex-wrap: nowrap; gap: 16px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .util nav a:last-child { display: none; }
  .gate a:hover, .gate a:focus-visible { flex-grow: 1; }
  .intro, .courses, .programme, .split, .split.flip, .news, .adm, .voices, .quote, .visit { grid-template-columns: minmax(0, 1fr); }
  .split.flip .ph { order: 0; }
  .quote .ph { max-width: 240px; }
  .inner { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: flex; flex-wrap: wrap; gap: 6px 20px; border: 0; }
  .side a { padding: 0; border: 0; text-decoration: underline; text-underline-offset: 4px; }
  .msg { grid-template-columns: minmax(0, 1fr); }
  .msg .ph { max-width: 260px; }
  .people, .people.text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .docs { columns: 1; }
  .people.text, .more-photos { grid-template-columns: minmax(0, 1fr); }
  .more { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .crest small { display: none; }
  .gate-top p { text-align: left; }
  .gate p { display: none; }
  .hero-ctl .cap { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate a, .gate .ph { transition: none; }
  .hero .slides > * { transition: none; transform: none; }
  .bars button.on::after { animation: none; transform: none; }
  .track { animation: none; }
  .tk-view { overflow-x: auto; }
  .track ul + ul, .pause { display: none; }
}
