/* BMS Educational Trust · bmscollege.ac.in
   Palette: dark blue, dark orange, white (same tokens as the BMS PU College landing page).
   Fonts: Lora (headings) + Inter (text), self-hosted. */

@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora-italic.woff2') format('woff2'); font-weight: 500 600; font-style: italic; font-display: swap; }

:root {
  --navy-950: #04112f;
  --navy-900: #071a45;
  --navy-800: #0b2561;
  --navy-700: #123a8c;
  --blue-600: #1e4fb8;
  --blue-100: #dbe6fb;

  --orange-700: #9a3412;
  --orange-600: #c2410c;
  --orange-500: #ea580c;
  --orange-400: #fb923c;
  --orange-300: #fdba74;

  --white: #fff;
  --ink: #0b1a3a;
  --muted: #475674;
  --line: #dfe6f3;
  --tint: #f2f6fd;
  --warm: #fff4ea;

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;

  --maxw: 1200px;
  --gutter: 20px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(7, 26, 69, .06), 0 8px 20px -10px rgba(7, 26, 69, .16);
  --shadow-md: 0 4px 10px rgba(7, 26, 69, .06), 0 22px 40px -18px rgba(7, 26, 69, .28);
  --shadow-lg: 0 8px 18px rgba(7, 26, 69, .10), 0 40px 70px -28px rgba(7, 26, 69, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.modal-open, html.menu-open { overflow: hidden; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .cta :focus-visible, .lightbox :focus-visible, .mobile-menu :focus-visible { outline-color: var(--orange-300); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 300; background: var(--orange-600); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
@media (max-width: 380px) { :root { --gutter: 16px; } }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange-300); }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.15; letter-spacing: -.01em; color: var(--navy-900); text-wrap: balance; }
.h2--light { color: #fff; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; margin-top: 16px; }
.lead--light { color: rgba(255, 255, 255, .78); }
.section__head--center { text-align: center; margin-inline: auto; max-width: 820px; }
.section__head--center .lead { margin-inline: auto; }
.section__head--center .eyebrow::after { content: ''; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }

.section { position: relative; padding-block: clamp(72px, 9vw, 120px); isolation: isolate; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; overflow: clip; }
.section--cta { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }

/* ---------- buttons & small bits ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn--primary { background: linear-gradient(135deg, var(--orange-600), #a8360a); color: #fff; box-shadow: 0 12px 26px -12px rgba(194, 65, 12, .9); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(194, 65, 12, 1); }
.btn--ghost { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy-900); transform: translateY(-2px); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .03em; backdrop-filter: blur(6px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 0 0 rgba(251, 146, 60, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(251, 146, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-600); text-decoration: none; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }
.link-arrow--light { color: var(--orange-300); }
.center-link { text-align: center; margin-top: 48px; }

.badge { display: grid; place-items: center; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 26px -14px rgba(7, 26, 69, .5); overflow: hidden; transition: box-shadow .3s, scale .3s var(--ease); }
.badge img { width: 80%; height: 80%; object-fit: contain; }
.badge--sm { width: 54px; height: 54px; }
.badge--md { width: 64px; height: 64px; }
.badge--lg { width: 124px; height: 124px; }
.badge--xl { width: clamp(132px, 18vw, 200px); height: clamp(132px, 18vw, 200px); box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .6); }

.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.round-btn:hover { background: var(--orange-600); color: #fff; border-color: var(--orange-600); transform: scale(1.06); }

/* ---------- scroll reveal ---------- */
html.js [data-reveal] { opacity: 0; }
html.js [data-reveal].is-in { opacity: 1; animation: reveal .85s var(--ease) var(--d, 0ms) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header__inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled { background: rgba(4, 17, 47, .82); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .7); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__mark img { width: 38px; height: 38px; }
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__text strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap; }
.brand__text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); font-weight: 600; white-space: nowrap; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; background: none; border: 0; border-radius: 10px; font-size: .9375rem; font-weight: 600; color: rgba(255, 255, 255, .86); text-decoration: none; cursor: pointer; transition: color .2s, background .2s; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--orange-400); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current] { color: #fff; }
.nav__chev { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.nav__item { position: relative; }
.mega { position: absolute; top: 100%; left: 50%; width: min(680px, 92vw); padding-top: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.mega::before { content: ''; position: absolute; inset: 14px 0 0; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.mega > * { position: relative; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__title { padding: 20px 24px 6px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 14px 16px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s, transform .25s var(--ease); }
.mega__link:hover, .mega__link:focus-visible { background: var(--tint); transform: translateX(3px); }
.mega__logo { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.mega__logo img { width: 80%; height: 80%; object-fit: contain; }
.mega__txt { display: grid; line-height: 1.25; }
.mega__txt strong { font-size: .875rem; font-weight: 700; color: var(--navy-900); }
.mega__txt small { font-size: .75rem; color: var(--muted); }

.nav__cta { display: none; }
.burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; position: relative; }
.burger .ico { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity .25s, transform .35s var(--ease); }
.burger__close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.burger[aria-expanded='true'] .burger__open { opacity: 0; transform: rotate(90deg) scale(.6); }
.burger[aria-expanded='true'] .burger__close { opacity: 1; transform: none; }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-600), var(--orange-300)); transform: scaleX(var(--p, 0)); transform-origin: left; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
}
@media (min-width: 1024px) and (max-width: 1130px) { .brand__text small { display: none; } .nav__link { padding-inline: 10px; } }
@media (max-width: 420px) { .brand__text strong { font-size: 1rem; } .brand__text small { font-size: .66rem; } .brand__mark { width: 42px; height: 42px; } .brand__mark img { width: 34px; height: 34px; } }

.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; gap: 20px; padding: calc(var(--header-h) + 12px) var(--gutter) 32px; background: radial-gradient(900px 500px at 100% 0, rgba(234, 88, 12, .22), transparent 60%), var(--navy-950); color: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.mobile-menu.is-open { transform: none; visibility: visible; }
.mnav > li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease); }
.mobile-menu.is-open .mnav > li { opacity: 1; transform: none; }
.mobile-menu.is-open .mnav > li:nth-child(1) { transition-delay: .12s; } .mobile-menu.is-open .mnav > li:nth-child(2) { transition-delay: .17s; }
.mobile-menu.is-open .mnav > li:nth-child(3) { transition-delay: .22s; } .mobile-menu.is-open .mnav > li:nth-child(4) { transition-delay: .27s; }
.mobile-menu.is-open .mnav > li:nth-child(5) { transition-delay: .32s; } .mobile-menu.is-open .mnav > li:nth-child(6) { transition-delay: .37s; }
.mnav a, .mnav summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav a[aria-current] { color: var(--orange-300); }
.mnav__details[open] summary .ico { transform: rotate(180deg); }
.mnav summary .ico { transition: transform .3s var(--ease); }
.mnav__inst { padding: 0 0 14px; display: grid; gap: 4px; }
.mnav__inst a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; justify-content: flex-start; gap: 14px; padding: 8px; border-radius: 14px; }
.mnav__inst a:hover { background: rgba(255, 255, 255, .06); }
.mnav__inst img { width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: #fff; object-fit: contain; flex: none; }
.mobile-menu .btn { margin-top: auto; }

/* ---------- hero (shared bg) ---------- */
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(72px); translate: calc(var(--px, 0) * 36px) calc(var(--py, 0) * 28px); transition: translate .6s var(--ease); animation: drift 20s ease-in-out infinite alternate; }
.orb--a { width: 620px; height: 620px; left: -200px; top: -180px; background: radial-gradient(circle at 35% 35%, #1e4fb8, rgba(18, 58, 140, .5) 55%, transparent 72%); opacity: .75; }
.orb--b { width: 560px; height: 560px; right: -180px; bottom: -200px; background: radial-gradient(circle, #ea580c, rgba(234, 88, 12, 0) 68%); opacity: .42; animation-duration: 26s; animation-direction: alternate-reverse; }
.orb--c { width: 340px; height: 340px; left: 42%; top: 18%; background: radial-gradient(circle, rgba(30, 79, 184, .9), transparent 70%); opacity: .35; animation-duration: 32s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(50px, 36px, 0) scale(1.1); } }
.grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 72%); }
.hero__bg--soft .orb { opacity: .35; }
.hero__bg--soft .orb--b { opacity: .22; }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy-950); color: #fff; overflow: clip; padding: calc(var(--header-h) + clamp(36px, 8vh, 90px)) 0 clamp(130px, 16vh, 190px); min-height: min(100svh, 940px); display: grid; align-items: center; }
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__copy > * { animation: rise .9s var(--ease) backwards; }
.hero__copy > :nth-child(1) { animation-delay: .05s; } .hero__copy > :nth-child(3) { animation-delay: .55s; }
.hero__copy > :nth-child(4) { animation-delay: .7s; } .hero__copy > :nth-child(5) { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.85rem, 8vw, 3.4rem); line-height: 1.04; letter-spacing: -.015em; margin-top: 22px; text-wrap: balance; }
.hero__lead { display: block; font-family: var(--font-body); font-size: clamp(.85rem, 1.4vw, 1rem); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-300); margin-bottom: 16px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(115%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .09s); }
.hero__line { display: block; }
.hero__line--accent .w > span { background: linear-gradient(95deg, var(--orange-400), var(--orange-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { to { transform: none; } }
.hero__sub { margin-top: 24px; max-width: 54ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cta--center { justify-content: center; }

.hero__logos { margin-top: 40px; }
.hero__logos p { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 12px; }
.hero__logos ul { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__logos .badge { transition: transform .3s var(--ease), box-shadow .3s; }
.hero__logos .badge:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 0 0 3px var(--orange-400), 0 14px 26px -12px rgba(0, 0, 0, .6); }

.hero__orbit { display: none; }
.scroll-cue { display: none; }

@media (min-width: 1024px) {
  .hero__title { font-size: clamp(2.7rem, 4.8vw, 4.1rem); }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 24px; }
  .hero__logos { display: none; }
  .hero__orbit { display: block; animation: rise 1.2s var(--ease) .3s backwards; }
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 104px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange-300); animation: wheel 1.8s var(--ease) infinite; }
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1024px) and (max-height: 760px) { .scroll-cue { display: none; } }

/* orbit of institute logos */
.orbit { --s: min(540px, 41vw); --b: calc(var(--s) * .205); --r: calc(var(--s) * .395); position: relative; width: var(--s); height: var(--s); margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .24); }
.orbit__ring--1 { inset: calc(var(--s) * .105); }
.orbit__ring--2 { inset: calc(var(--s) * .27); border-style: solid; border-color: rgba(255, 255, 255, .09); }
.orbit__core { position: absolute; inset: 0; margin: auto; width: calc(var(--s) * .27); height: calc(var(--s) * .27); display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 0 22px rgba(255, 255, 255, .04), 0 0 80px 10px rgba(234, 88, 12, .35); animation: breathe 5s ease-in-out infinite; }
.orbit__core img { width: 76%; height: 76%; }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .1), 0 0 0 30px rgba(255, 255, 255, .03), 0 0 110px 18px rgba(234, 88, 12, .45); } }
.orbit__spin { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.orbit__slot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.orbit__item { position: absolute; left: calc(var(--b) / -2); top: calc(var(--b) / -2); width: var(--b); height: var(--b); display: block; transform: rotate(calc(var(--a) * -1)); text-decoration: none; }
.orbit__inner { position: absolute; inset: 0; display: block; animation: spin 90s linear infinite reverse; }
.orbit__badge { width: 100%; height: 100%; }
.orbit__item:hover .orbit__badge, .orbit__item:focus-visible .orbit__badge { scale: 1.2; box-shadow: 0 0 0 4px var(--orange-400), 0 20px 40px -12px rgba(0, 0, 0, .7); }
.orbit__tip { position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 6px; width: max-content; max-width: 190px; padding: 7px 12px; border-radius: 10px; background: #fff; color: var(--navy-900); font-size: .75rem; font-weight: 700; line-height: 1.3; text-align: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease); z-index: 3; }
.orbit__item:hover .orbit__tip, .orbit__item:focus-visible .orbit__tip { opacity: 1; translate: -50% 0; }
.orbit:hover .orbit__spin, .orbit:hover .orbit__inner, .orbit:focus-within .orbit__spin, .orbit:focus-within .orbit__inner { animation-play-state: paused; }
.orbit__hint { margin-top: 18px; text-align: center; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stats ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -78px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; border: 1px solid rgba(7, 26, 69, .06); }
.stat { padding: 22px 8px; text-align: center; position: relative; min-width: 0; }
.stat:not(:nth-child(2n)) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 6.6vw, 3rem); line-height: 1.1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--orange-600); }
.stat__label { margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px 10px; }
  .stat { border: 0 !important; padding: 18px 10px; }
  .stat__num { font-size: clamp(1.7rem, 3.4vw, 3rem); } /* four columns: scale with the viewport so "1,00,000+" never overflows */
  .stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
}

/* ---------- institutes ---------- */
.section--institutes { padding-top: clamp(64px, 8vw, 104px); }
.inst-grid { --gap: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
/* Cards wrap and the last row is centred, so any number of institutes lines up (no per-card rules). */
.inst-grid__item { display: flex; flex: 0 0 100%; min-width: 0; }
.inst-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; width: 100%; padding: 34px 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; will-change: transform; }
.inst-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange-600), var(--orange-400)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.inst-card__glow { position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(234, 88, 12, .15), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.inst-card:hover, .inst-card:focus-visible { box-shadow: var(--shadow-lg); border-color: rgba(194, 65, 12, .4); }
.inst-card:hover::after, .inst-card:focus-visible::after { transform: scaleX(1); }
.inst-card:hover .inst-card__glow { opacity: 1; }
.inst-card:hover .badge, .inst-card:focus-visible .badge { box-shadow: 0 0 0 4px var(--orange-500), 0 18px 34px -14px rgba(194, 65, 12, .6); scale: 1.06; }
.inst-card__body { display: grid; gap: 8px; }
.inst-card__name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--navy-900); text-wrap: balance; }
.inst-card__former { font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--orange-600); }
.inst-card__tag { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.inst-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--orange-600); }
.inst-card__go .ico { transition: transform .3s var(--ease); }
.inst-card:hover .inst-card__go .ico { transform: translateX(6px); }
@media (min-width: 480px) { .inst-grid__item { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 760px) { .inst-grid__item { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (min-width: 1100px) { .inst-grid__item { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 479px) { .inst-card { flex-direction: row; text-align: left; padding: 18px; gap: 16px; } .badge--lg { width: 84px; height: 84px; } .inst-card__go { display: none; } .inst-card__name { font-size: 1.08rem; } }

/* ---------- about / odyssey ---------- */
.odyssey { display: grid; gap: 56px; align-items: center; }
.odyssey__media { position: relative; padding: 0 18px 18px 0; }
.odyssey__media::before { content: ''; position: absolute; inset: 18px 0 0 18px; border: 2px solid var(--orange-500); border-radius: var(--r-lg); opacity: .55; }
.odyssey__figure { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.odyssey__figure img { width: 100%; aspect-ratio: 620 / 520; object-fit: cover; transition: transform 1.2s var(--ease); }
.odyssey__media:hover .odyssey__figure img { transform: scale(1.05); }
.odyssey__badge { position: absolute; right: 0; bottom: 0; z-index: 2; display: grid; padding: 16px 24px; border-radius: 20px; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: #fff; box-shadow: var(--shadow-md); }
.odyssey__badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.odyssey__badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); font-weight: 700; margin-top: 4px; }
.odyssey__closing { margin-top: 28px; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--navy-800); padding-left: 18px; border-left: 3px solid var(--orange-500); }
@media (min-width: 920px) { .odyssey { grid-template-columns: .9fr 1.1fr; gap: 80px; } }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__h { font: inherit; }
.acc__btn { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 4px; background: none; border: 0; text-align: left; cursor: pointer; }
.acc__num { font-weight: 800; font-size: .85rem; letter-spacing: .1em; color: var(--orange-600); font-variant-numeric: tabular-nums; }
.acc__title { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--navy-900); transition: color .25s; }
.acc__btn:hover .acc__title { color: var(--orange-600); }
.acc__plus { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--navy-900); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.acc__item.is-open .acc__plus { transform: rotate(135deg); background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 4px 24px 46px; color: var(--muted); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }

/* ---------- visionaries ---------- */
.vis__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.vis__tab { display: flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; text-align: left; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.vis__tab img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(255, 255, 255, .4); }
.vis__tab span { display: grid; line-height: 1.25; }
.vis__tab strong { font-size: .95rem; }
.vis__tab small { font-size: .74rem; color: rgba(255, 255, 255, .65); }
.vis__tab:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); }
.vis__tab[aria-selected='true'] { background: linear-gradient(135deg, var(--orange-600), #a8360a); border-color: transparent; box-shadow: 0 16px 30px -14px rgba(194, 65, 12, .9); }
.vis__tab[aria-selected='true'] small { color: rgba(255, 255, 255, .85); }
.vis__tab[aria-selected='true'] img { border-color: #fff; }
html:not(.js) .vis__tabs { display: none; }
.vis__panel { display: grid; gap: 32px; align-items: center; max-width: 1000px; margin-inline: auto; animation: panelIn .7s var(--ease); }
html:not(.js) .vis__panel + .vis__panel { margin-top: 64px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.vis__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 6px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); max-width: 360px; margin-inline: auto; }
.vis__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4, 17, 47, .55)); }
.vis__frame img { width: 100%; aspect-ratio: 501 / 580; object-fit: cover; object-position: top; }
.vis__figure figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.vis__text { position: relative; }
.vis__quote { position: absolute; left: -6px; top: -54px; font-family: var(--font-head); font-size: 9rem; line-height: 1; color: var(--orange-500); opacity: .28; pointer-events: none; }
.vis__text h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.vis__role { margin: 6px 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-300); }
.vis__text p + p { margin-top: 14px; }
.vis__text p:not(.vis__role) { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.vis__more { margin-top: 48px; text-align: center; }
@media (min-width: 860px) { .vis__panel { grid-template-columns: 360px 1fr; gap: 64px; } }

/* ---------- journey ---------- */
.journey { max-width: 920px; margin-inline: auto; }
.journey__rail { position: relative; --n: 7; padding-top: 4px; }
.journey__nodes { display: flex; position: relative; z-index: 1; }
.journey__nodes li { flex: 1; display: flex; justify-content: center; }
.journey__node { display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 0 2px; cursor: pointer; }
.journey__dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.journey__yr { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; transition: color .3s; }
.journey__node:hover .journey__dot { transform: scale(1.18); border-color: var(--orange-400); }
.journey__node.is-active .journey__dot { background: var(--orange-600); border-color: var(--orange-600); transform: scale(1.3); box-shadow: 0 0 0 7px rgba(194, 65, 12, .16); }
.journey__node.is-active .journey__yr { color: var(--orange-600); }
.journey__line { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 17px; height: 3px; border-radius: 3px; background: var(--line); }
.journey__line span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--orange-600), var(--orange-400)); transition: width .6s var(--ease); }
.journey__stage { position: relative; margin-top: 34px; min-height: 230px; }
.journey__item { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.journey__item + .journey__item { margin-top: 20px; }
html.js .journey__item:not(.is-active) { display: none; }
.journey__item.is-active { animation: panelIn .6s var(--ease); }
.journey__big { position: absolute; right: 18px; top: -8px; font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); pointer-events: none; }
.journey__item h3 { position: relative; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; max-width: 24ch; }
.journey__item p:not(.journey__big) { position: relative; margin-top: 14px; max-width: 58ch; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.journey__ctrl { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
html:not(.js) .journey__rail, html:not(.js) .journey__ctrl { display: none; }
@media (max-width: 520px) { .journey__yr { font-size: .68rem; } .journey__dot { width: 20px; height: 20px; } .journey__line { top: 14px; } }

/* ---------- vision / mission / objectives ---------- */
.vmo { display: grid; gap: 22px; }
.vmo__card { position: relative; padding: 36px 30px 34px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, background .45s, color .45s; }
.vmo__card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange-600), var(--orange-400)); }
.vmo__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 18px; background: var(--warm); color: var(--orange-600); transition: background .4s, color .4s, transform .5s var(--ease); }
.vmo__icon .ico { width: 28px; height: 28px; }
.vmo__card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--navy-900); margin-bottom: 12px; transition: color .4s; }
.vmo__card p, .vmo__card li { color: var(--muted); transition: color .4s; }
.vmo__card li { position: relative; padding-left: 22px; }
.vmo__card li + li { margin-top: 10px; }
.vmo__card li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }
.vmo__card:hover, .vmo__card:focus-visible { transform: translateY(-8px); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.vmo__card:hover h3, .vmo__card:focus-visible h3 { color: #fff; }
.vmo__card:hover p, .vmo__card:hover li, .vmo__card:focus-visible p, .vmo__card:focus-visible li { color: rgba(255, 255, 255, .85); }
.vmo__card:hover .vmo__icon, .vmo__card:focus-visible .vmo__icon { background: var(--orange-600); color: #fff; transform: rotate(-8deg) scale(1.08); }
@media (min-width: 900px) { .vmo { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; box-shadow: var(--shadow-lg); }
.cta__copy { flex: 1 1 360px; }
.cta h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; text-wrap: balance; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .8); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding-top: clamp(56px, 7vw, 88px); border-top: 4px solid var(--orange-600); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.footer__wordmark { display: inline-block; padding: 10px 16px; border-radius: 14px; background: #fff; }
.footer__wordmark img { width: 220px; height: auto; }
.footer__text { margin-top: 20px; max-width: 34ch; font-size: .95rem; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.social__link:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-3px); }
.social__link .ico { width: 19px; height: 19px; }
.footer__h { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer__list { display: grid; gap: 9px; font-size: .93rem; }
.footer__list a, .footer__addr a { text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.footer__list a:hover, .footer__addr a:hover { color: var(--orange-300); }
.footer__list a:hover { padding-left: 4px; }
.footer__addr { display: grid; gap: 14px; font-size: .95rem; }
.footer__addr p { display: flex; gap: 12px; align-items: flex-start; }
.footer__addr .ico { margin-top: .2em; color: var(--orange-400); }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .85rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1.5fr 1.2fr; gap: 48px; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--orange-600), #a8360a); color: #fff; box-shadow: 0 14px 28px -10px rgba(194, 65, 12, .9); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--navy-950); color: #fff; overflow: clip; padding: calc(var(--header-h) + clamp(40px, 7vw, 72px)) 0 clamp(56px, 8vw, 88px); }
.page-hero--tall { min-height: 78vh; display: grid; align-items: center; }
.page-hero__inner > * { animation: rise .8s var(--ease) backwards; }
.page-hero__inner > :nth-child(2) { animation-delay: .1s; } .page-hero__inner > :nth-child(3) { animation-delay: .2s; } .page-hero__inner > :nth-child(4) { animation-delay: .3s; }
.page-hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.1; letter-spacing: -.01em; margin-top: 18px; text-wrap: balance; }
.page-hero__sub { margin-top: 16px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 60ch; }
.page-hero__inner.center .page-hero__sub { margin-inline: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: rgba(255, 255, 255, .35); }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--orange-300); }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-hero__inner > .crumbs { margin-bottom: 8px; }

.inst-hero__grid { display: grid; gap: 28px; align-items: center; margin-top: 18px; }
.inst-hero__grid .page-hero__title { margin-top: 16px; }
@media (min-width: 760px) { .inst-hero__grid { grid-template-columns: auto 1fr; gap: 48px; } }

/* ---------- institute page ---------- */
.inst-about { display: grid; gap: 48px; align-items: start; }
.prose p { font-size: 1.075rem; color: #2a3a5c; }
.prose p + p { margin-top: 18px; }
.principal { position: relative; padding: 30px; text-align: center; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.principal::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(234, 88, 12, .5), transparent 70%); }
.principal__photo { position: relative; width: min(100%, 240px); aspect-ratio: 1; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; border: 5px solid rgba(255, 255, 255, .18); background: var(--navy-800); }
.principal__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.principal__mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-head); font-size: 4rem; font-weight: 600; background: linear-gradient(135deg, var(--orange-600), #a8360a); }
.principal__role { position: relative; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-300); }
.principal__name { position: relative; margin-top: 6px; font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.25; }
.principal__inst { position: relative; margin-top: 6px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .inst-about { grid-template-columns: 1.7fr .8fr; gap: 72px; } .principal { position: sticky; top: 110px; } }

.vm { display: grid; gap: 22px; }
.vm__card { padding: 36px 32px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.vm__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm__card .vmo__icon { margin-bottom: 18px; }
.vm__card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--navy-900); margin-bottom: 14px; }
.vm__card p { color: var(--muted); }
.vm__card p + ul, .vm__quote + p { margin-top: 14px; }
.vm__card ul { display: grid; gap: 12px; }
.vm__card li { display: flex; gap: 12px; color: var(--muted); }
.vm__card li .ico { margin-top: .25em; color: var(--orange-600); stroke-width: 2.6; }
.vm__quote { padding: 14px 18px; border-left: 3px solid var(--orange-500); background: var(--warm); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--navy-800); }
.vm__quote span { display: block; margin-top: 4px; font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--muted); }
@media (min-width: 860px) { .vm { grid-template-columns: 1fr 1fr; } }

.hl { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.hl li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--tint); border: 1px solid transparent; font-weight: 600; color: var(--navy-900); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.hl li:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.hl__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--orange-600); color: #fff; }
.hl__ico .ico { stroke-width: 3; width: 18px; height: 18px; }

.contact-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 36px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, transform .35s var(--ease); }
.contact-list li:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.contact-list > li > .ico { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--orange-600); color: #fff; }
.contact-list span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-300); margin-bottom: 4px; }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--orange-300); }
.contact-list p { color: rgba(255, 255, 255, .9); }

.mini-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mini-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--navy-900); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.mini-card > span:nth-child(2) { flex: 1; }
.mini-card .ico { color: var(--orange-600); transition: transform .3s var(--ease); }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(194, 65, 12, .4); }
.mini-card:hover .ico { transform: translate(3px, -3px); }

/* ---------- trustees ---------- */
.trustee-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.trustee { width: min(100%, 340px); display: flex; }
.trustee__card { position: relative; width: 100%; padding: 40px 28px 34px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.trustee__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 108px; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.trustee__card:hover { box-shadow: var(--shadow-lg); }
.trustee__photo { position: relative; width: 168px; height: 168px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--orange-500), var(--shadow-md); background: var(--tint); }
.trustee__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.trustee__card:hover .trustee__photo img { transform: scale(1.1); }
.trustee__mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-head); font-size: 3.6rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); }
.trustee__name { position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--navy-900); }
.trustee__role { position: relative; margin-top: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); line-height: 1.5; }
.trustee__note { position: relative; margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* ---------- gallery ---------- */
.gal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--navy-900); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--tint); font-size: .76rem; transition: background .25s, color .25s; }
.chip:hover { border-color: var(--orange-500); transform: translateY(-2px); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip.is-active span { background: var(--orange-600); color: #fff; }
.gal-grid { columns: 2; column-gap: 14px; }
.gal-item { break-inside: avoid; margin-bottom: 14px; }
.gal-item.is-hidden { display: none; }
.gal-item.is-showing { animation: pop .5s var(--ease) backwards; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.gal-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--navy-900); cursor: zoom-in; box-shadow: var(--shadow-sm); transition: box-shadow .35s, transform .4s var(--ease); }
.gal-card img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.gal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gal-card:hover img { transform: scale(1.07); }
.gal-card__cap { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 36px 16px 14px; text-align: left; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(4, 17, 47, .88)); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .4s var(--ease); }
.gal-card__cap .ico { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 50%; background: var(--orange-600); }
.gal-card:hover .gal-card__cap, .gal-card:focus-visible .gal-card__cap { opacity: 1; transform: none; }
@media (hover: none) { .gal-card__cap { display: none; } }
@media (min-width: 700px) { .gal-grid { columns: 3; column-gap: 18px; } .gal-item { margin-bottom: 18px; } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 56px 12px 20px; background: rgba(4, 17, 47, .95); backdrop-filter: blur(10px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__fig { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 90px -30px #000; animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__fig figcaption { display: flex; justify-content: space-between; gap: 24px; width: 100%; max-width: 900px; color: rgba(255, 255, 255, .85); font-size: .92rem; }
#lbCount { color: var(--orange-300); font-weight: 700; font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange-600); border-color: var(--orange-600); }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; padding-inline: 8px; } .lightbox__nav { position: absolute; bottom: 14px; width: 44px; height: 44px; } .lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; } .lightbox__fig figcaption { padding-inline: 62px; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 56px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(194, 65, 12, .4); }
.info-card > .ico { width: 52px; height: 52px; padding: 14px; border-radius: 16px; background: var(--navy-900); color: #fff; transition: background .3s; }
.info-card:hover > .ico { background: var(--orange-600); }
.info-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy-900); }
.info-card p { color: var(--muted); }
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--orange-600); }
.contact__form { padding: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.form__title { font-family: var(--font-head); font-weight: 600; font-size: 1.8rem; color: var(--navy-900); margin-bottom: 22px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; color: var(--navy-900); }
.field label b { color: var(--orange-600); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--tint); font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4d0e8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(234, 88, 12, .15); }
.field.has-error input, .field.has-error textarea { border-color: #b42318; background: #fff6f5; }
.field__err { min-height: 0; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__status { font-size: .95rem; font-weight: 600; color: var(--navy-800); }
.field label .opt { font-weight: 400; color: var(--muted); }
.form__note { margin: 14px 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted, #5b6479); }
.form__note a { color: inherit; text-decoration: underline; }
.form button[type="submit"][aria-busy="true"] { opacity: .7; cursor: progress; }
.form__status.is-ok { color: #067647; }
.form__status.is-err { color: #b42318; }
.map { margin-top: clamp(40px, 6vw, 72px); background: var(--navy-900); line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 46vw, 460px); border: 0; display: block; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; }
  .w > span { transform: none; }
  .orbit__spin, .orbit__inner { animation: none; }
}
