/* ==========================================================================
   MAIST — Design system v2 (brand: navy #121F5A + orange #F86A00 from the official logo)
   1 Tokens · 2 Base · 3 Layout · 4 Header/Nav/Ticker · 5 Components · 6 Utilities
   Breakpoints (mobile-first): 480 · 640 · 768 · 1024 · 1200 (desktop nav) · 1440
   ========================================================================== */

/* 1. TOKENS */
:root {
  --navy-950: #0a1240;
  --navy-900: #121f5a;
  --navy-800: #1a2b72;
  --navy-700: #26398c;
  --navy-200: #c9d0ea;
  --navy-100: #e6eaf7;
  --navy-50: #f3f5fc;
  --orange-500: #f86a00;
  --orange-400: #ff8a33;
  --orange-600: #e25f00;
  --orange-700: #b14700;
  --orange-100: #ffeedf;
  --orange-50: #fff7f0;
  --white: #ffffff;
  --text: #161d42;
  --muted: #535c7a;
  --line: #e0e4f0;
  --line-strong: #c9cfe3;
  --on-dark: #ffffff;
  --on-dark-muted: #c3cae6;
  --danger: #b3261e;
  --focus: #f86a00;

  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5625rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  --fs-display: clamp(2.5rem, 1.35rem + 4.8vw, 5rem);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --section: clamp(3.5rem, 2.3rem + 5vw, 6.5rem);
  --gutter: clamp(1rem, 0.4rem + 3vw, 2.5rem);
  --container: 1240px;
  --narrow: 800px;
  --r-sm: 6px; --r: 12px; --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(18 31 90 / .06), 0 2px 8px rgb(18 31 90 / .05);
  --shadow: 0 18px 40px -18px rgb(18 31 90 / .35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.nav-open, body.lb-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy-900); margin: 0 0 .5em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); line-height: 1.2; } h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { color: var(--orange-700); }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
address { font-style: normal; }
button { font: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--orange-100); color: var(--navy-900); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--orange-500); color: var(--navy-950); padding: .75rem 1rem; font-weight: 700; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. LAYOUT */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--soft { background: var(--navy-50); }
.section--warm { background: var(--orange-50); }
.section--navy { background: var(--navy-900); color: var(--on-dark); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy a:not(.btn) { color: var(--orange-400); }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 760px; }
.section-head > * { margin: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lg); }
.section--navy .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.section-head--row { max-width: none; }
@media (min-width: 1024px) { .section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s6); } .section-head--row > div { max-width: 720px; display: grid; gap: var(--s3); } }
.section-head--row > div > * { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin: 0 0 var(--s2); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange-500); flex: none; }
.section--navy .eyebrow, .on-dark .eyebrow, .band .eyebrow { color: var(--orange-400); }

.grid { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); } }
.with-aside { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(3rem, 5vw, 5rem); } .with-aside__aside { position: sticky; top: calc(var(--nav-row, 56px) + 1.5rem); align-self: start; } }

/* 4. HEADER · NAV · TICKER */
.utility { background: var(--navy-950); color: var(--on-dark-muted); font-size: var(--fs-xs); }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.utility a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 38px; white-space: nowrap; }
.utility a:hover { color: var(--orange-400); text-decoration: underline; }
.utility svg { width: 14px; height: 14px; flex: none; }
.utility__left { display: flex; gap: var(--s5); min-width: 0; }
.utility__links { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.utility__links li { margin: 0; }
@media (max-width: 1023px) { .utility__left .u-md, .utility__links .u-md { display: none; } }
@media (max-width: 599px) { .utility__links { display: none; } .utility .container { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 50px; width: auto; }
@media (min-width: 480px) { .brand img { height: 56px; } }
.header-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-width: 48px; min-height: 48px; padding: 0 .9rem; border: 0; border-radius: var(--r-sm); background: var(--navy-900); color: var(--white); font-weight: 700; font-family: var(--font-head); cursor: pointer; }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; } .nav-toggle__bars span:nth-child(2) { top: 6px; } .nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 419px) { .nav-toggle__label { display: none; } }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { margin: 0; }
.site-nav a { text-decoration: none; }
.site-nav__cta, .site-nav__utility { display: none; }

@media (max-width: 1199px) {
  .site-nav { display: none; }
  .js .site-nav { display: block; position: fixed; z-index: 99; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); background: var(--white); overflow-y: auto; overscroll-behavior: contain; padding: var(--s3) var(--gutter) var(--s7); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; border-top: 3px solid var(--orange-500); }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .no-js .site-nav { display: block; width: 100%; padding-bottom: var(--s3); }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .nav-toggle, .no-js .site-nav__sub, .no-js .site-nav__sub-toggle { display: none; }
  .no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
  .no-js .site-nav__list > li { border: 0 !important; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__row { display: flex; align-items: stretch; }
  .site-nav__link { flex: 1; display: flex; align-items: center; min-height: 54px; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); }
  .site-nav__link[aria-current="page"], .site-nav__link.is-section { color: var(--orange-700); }
  .site-nav__sub-toggle { flex: none; width: 54px; min-height: 54px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
  .site-nav__sub-toggle svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
  .site-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .site-nav__sub { list-style: none; margin: 0; padding: 0 0 var(--s3) var(--s4); }
  .js .site-nav__sub[hidden] { display: none; }
  .site-nav__sub a { display: flex; align-items: center; min-height: 44px; color: var(--muted); }
  .site-nav__sub a:hover { color: var(--orange-700); }
  .site-nav__sub-desc { display: none; }
  .site-nav__cta { display: grid; gap: var(--s3); margin-top: var(--s5); }
  .site-nav__cta .btn { width: 100%; }
  .site-nav__utility { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s4); padding: 0; list-style: none; }
  .site-nav__utility a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
}
@media (min-width: 1200px) {
  :root { --brand-row: 92px; --nav-row: 56px; }
  html { scroll-padding-top: calc(var(--nav-row) + 1rem); }
  .site-header { top: calc(-1 * var(--brand-row)); box-shadow: none; }
  .site-header__inner { min-height: var(--brand-row); gap: 0 var(--s6); }
  .brand { order: 1; min-height: var(--brand-row); }
  .brand img { height: 66px; }
  .header-contact { order: 2; margin-left: auto; display: flex; gap: var(--s6); }
  .header-contact a { display: grid; grid-template-columns: 42px auto; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; text-decoration: none; color: var(--navy-900); }
  .header-contact__icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); display: grid; place-items: center; }
  .header-contact__icon svg { width: 19px; height: 19px; }
  .header-contact small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.2; }
  .header-contact strong { font-family: var(--font-head); font-size: var(--fs-sm); line-height: 1.25; white-space: nowrap; }
  .header-contact a:hover strong { color: var(--orange-700); }
  .header-actions { order: 3; }
  .nav-toggle { display: none; }
  .site-header__bar { background: var(--navy-900); }
  .site-nav { display: block; }
  .site-nav__list { display: flex; justify-content: space-between; }
  .site-nav__list > li { position: relative; }
  .site-nav__row { display: flex; align-items: center; }
  .site-nav__link { display: inline-flex; align-items: center; min-height: var(--nav-row); padding: 0 .5rem; color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: 1rem; white-space: nowrap; position: relative; }
  .site-nav__link::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--orange-500); transform: scaleY(0); transform-origin: bottom; transition: transform .2s var(--ease); }
  .site-nav__link:hover { color: var(--white); }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after, .site-nav__link.is-section::after { transform: none; }
  .site-nav__list > li:first-child .site-nav__link { padding-left: 0; } .site-nav__list > li:first-child .site-nav__link::after { left: 0; }
  .site-nav__list > li:last-child .site-nav__link { padding-right: 0; } .site-nav__list > li:last-child .site-nav__link::after { right: 0; }
  .site-nav__sub-toggle { width: 22px; height: 32px; margin-left: -.4rem; padding: 0; border: 0; background: transparent; color: var(--navy-200); cursor: pointer; display: grid; place-items: center; }
  .site-nav__sub-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
  .site-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .site-nav__sub { position: absolute; top: 100%; left: -.75rem; min-width: 280px; list-style: none; margin: 0; padding: var(--s3); background: var(--white); border-radius: 0 0 var(--r) var(--r); border-top: 4px solid var(--orange-500); box-shadow: var(--shadow); z-index: 10; }
  .site-nav__sub[hidden] { display: none; }
  .site-nav__list > li:nth-last-child(-n+2) .site-nav__sub { left: auto; right: -.75rem; }
  .site-nav__sub li { margin: 0; }
  .site-nav__sub a { display: block; padding: .6rem .8rem; border-radius: var(--r-sm); color: var(--navy-900); font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
  .site-nav__sub a:hover { background: var(--orange-50); color: var(--orange-700); }
  .site-nav__sub-desc { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
}
@media (min-width: 1200px) and (max-width: 1339px) { .site-nav__link { padding: 0 .38rem; font-size: .9375rem; } .header-contact__email { display: none !important; } }

/* Announcement ticker */
.ticker { background: var(--orange-50); border-bottom: 1px solid #f6dcc4; color: var(--navy-900); }
.ticker__inner { display: flex; align-items: stretch; min-height: 50px; }
h2.ticker__label { margin: 0 1rem 0 0; font: inherit; color: inherit; letter-spacing: 0; flex: none; display: flex; align-items: center; }
.ticker__label a { display: inline-flex; align-items: center; gap: .5rem; min-height: 34px; padding: 0 .9rem; border-radius: 999px; background: var(--navy-900); color: var(--white); text-decoration: none; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker__label a:hover { background: var(--navy-700); color: var(--white); }
.ticker__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 0 rgb(248 106 0 / .6); flex: none; }
@media (prefers-reduced-motion: no-preference) { .ticker__pulse { animation: pulse 2.2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(248 106 0 / 0); } 100% { box-shadow: 0 0 0 0 rgb(248 106 0 / 0); } }
.ticker__viewport { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ticker__track { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.ticker__item { flex: none; margin: 0; display: flex; align-items: center; scroll-snap-align: start; }
.ticker__item + .ticker__item::before, .ticker.is-marquee .ticker__item:last-child::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); margin: 0 1.25rem; flex: none; }
.ticker__link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.ticker__link:hover { color: var(--orange-700); text-decoration: underline; }
.ticker__cat { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-700); }
.ticker__controls { flex: none; display: flex; align-items: center; gap: .3rem; padding-left: .75rem; }
.ticker__btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy-900); border: 1px solid #f0cfae; cursor: pointer; }
.ticker__btn:hover { background: var(--orange-100); }
.ticker__btn svg { width: 14px; height: 14px; }
.ticker__btn[hidden] { display: none; }
.ticker__all { display: inline-flex; align-items: center; min-height: 44px; margin-left: .5rem; font-weight: 700; font-size: var(--fs-xs); white-space: nowrap; color: var(--orange-700); }
.ticker.is-marquee .ticker__viewport { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker.is-marquee .ticker__track { width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; will-change: transform; }
.ticker.is-marquee:hover .ticker__track, .ticker.is-marquee.is-paused .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 768px) and (max-width: 1199px) { .ticker__link { font-size: .9rem; } .ticker__item + .ticker__item::before, .ticker.is-marquee .ticker__item:last-child::after { margin: 0 .9rem; } .ticker__all { display: none; } }
@media (max-width: 767px) {
  .ticker__inner { flex-wrap: wrap; padding-block: .55rem .65rem; }
  h2.ticker__label { flex: 1 1 auto; margin: 0; }
  .ticker__controls { order: 2; padding: 0; }
  .ticker__all { display: none; }
  .ticker__viewport { order: 3; flex: 1 1 100%; margin-top: .35rem; }
  .ticker__link { white-space: normal; flex-direction: column; align-items: flex-start; gap: .1rem; min-height: 0; line-height: 1.4; padding: .1rem 0; }
  .ticker__item { width: min(85vw, 420px); padding-right: 1rem; }
  .ticker__item + .ticker__item::before { display: none; }
  .js .ticker .ticker__viewport { overflow: hidden; scroll-snap-type: none; align-items: flex-start; min-height: calc(.75rem * 1.4 + .1rem + 2 * .9375rem * 1.4 + .3rem); }
  .js .ticker .ticker__track { display: block; width: 100%; }
  .js .ticker .ticker__item { width: 100%; padding: 0; display: none; }
  .js .ticker:not(.is-ready) .ticker__item:first-child, .js .ticker .ticker__item.is-active { display: block; }
  .js .ticker .ticker__link { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .js .ticker .ticker__cat { display: block; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) { .ticker .ticker__item.is-active { animation: tick-in .35s var(--ease); } }
@keyframes tick-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 5. COMPONENTS */
.btn { --bg: var(--orange-500); --fg: var(--navy-950); --bd: var(--orange-500);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75rem 1.5rem; max-width: 100%;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; overflow-wrap: normal; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { --bg: var(--orange-400); --bd: var(--orange-400); color: var(--fg); transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--navy { --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900); }
.btn--navy:hover { --bg: var(--navy-700); --bd: var(--navy-700); }
.btn--outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900); }
.btn--light { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / .7); }
.btn--light:hover { --bg: var(--white); --fg: var(--navy-900); --bd: var(--white); }
.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 479px) { .btn-row--stack > .btn { flex: 1 1 100%; } }

.link-arrow { display: inline; padding-block: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); text-decoration: none; overflow-wrap: normal; line-height: 1.5; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .4em; color: var(--orange-600); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange-700); text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }
.section--navy .link-arrow, .on-dark .link-arrow, .band .link-arrow { color: var(--white); }

.badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; background: var(--navy-100); color: var(--navy-900); white-space: nowrap; }
.badge--orange { background: var(--orange-100); color: var(--orange-700); }
.badge--solid { background: var(--orange-500); color: var(--navy-950); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.badge--important { background: #fde4e1; color: var(--danger); }
.todo { display: inline-block; max-width: 100%; padding: .1rem .5rem; margin: .1rem 0; border: 1px dashed #e0a36b; border-radius: var(--r-sm); background: var(--orange-50); color: var(--orange-700); font-family: var(--font-body); font-size: max(.8em, .75rem); font-weight: 700; letter-spacing: .02em; line-height: 1.5; vertical-align: middle; overflow-wrap: anywhere; }
.section--navy .todo, .on-dark .todo { background: rgb(248 106 0 / .14); color: #ffc08f; border-color: rgb(255 160 90 / .6); }
.alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--navy-50); border-left: 4px solid var(--navy-700); font-size: var(--fs-sm); margin-bottom: var(--s5); }
.alert--orange { background: var(--orange-50); border-left-color: var(--orange-500); }
.alert p:last-child { margin: 0; }
.alert svg { width: 20px; height: 20px; margin-top: 2px; color: var(--navy-700); }

/* Photo */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy-100); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-950); overflow: clip; }
.hero__slides { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active, .no-js .hero__slide:first-child, .js .hero:not(.is-ready) .hero__slide:first-child { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 18 64 / .92) 0%, rgb(10 18 64 / .78) 38%, rgb(10 18 64 / .3) 75%, rgb(10 18 64 / .15) 100%), linear-gradient(0deg, rgb(10 18 64 / .75), transparent 45%); }
@media (max-width: 767px) { .hero::before { background: linear-gradient(0deg, rgb(10 18 64 / .96) 0%, rgb(10 18 64 / .84) 55%, rgb(10 18 64 / .5) 100%); } }
.hero__inner { display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, 80vh, 760px); padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(7rem, 5rem + 6vw, 10rem); }
.hero__content { max-width: 680px; }
.hero__pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .28); font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; color: var(--white); text-decoration: none; margin-bottom: var(--s5); }
.hero__pill span { background: var(--orange-500); color: var(--navy-950); border-radius: 999px; padding: .1rem .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero__pill:hover { color: var(--white); background: rgb(255 255 255 / .2); }
.hero h1 { color: var(--white); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.025em; margin-bottom: var(--s5); }
.hero h1 .hero__kicker { display: block; font-size: clamp(.875rem, .8rem + .3vw, 1.0625rem); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-400); line-height: 1.45; margin-bottom: var(--s4); }
.hero h1 .accent { color: var(--orange-500); }
.hero__lede { font-size: var(--fs-lg); color: #e3e7f6; max-width: 58ch; margin-bottom: var(--s6); }
.hero__caption { position: absolute; right: var(--gutter); bottom: clamp(6.5rem, 5rem + 4vw, 8.5rem); display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-sm); color: #e3e7f6; }
.hero__dots { display: flex; gap: .2rem; }
.hero__dot { width: 32px; height: 32px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hero__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .5); transition: background-color .2s, transform .2s; }
.hero__dot[aria-current="true"]::before { background: var(--orange-500); transform: scale(1.3); }
.no-js .hero__dots { display: none; }
@media (max-width: 767px) { .hero__caption { display: none; } }

/* Quick links overlapping hero */
.quick { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4.5rem, 3.5rem + 3vw, 6rem)); }
.quick__grid { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) { .quick__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }
.quick__grid li { margin: 0; }
.quick__card { display: grid; align-content: start; gap: .35rem; height: 100%; padding: var(--s5); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--text); border-bottom: 4px solid transparent; transition: border-color .2s, transform .2s var(--ease); }
.quick__card:hover { border-bottom-color: var(--orange-500); transform: translateY(-3px); color: var(--text); }
.quick__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-700); margin-bottom: .35rem; }
.quick__icon svg { width: 24px; height: 24px; }
.quick__card strong { font-family: var(--font-head); font-size: var(--fs-h4); color: var(--navy-900); line-height: 1.2; }
.quick__card span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
@media (max-width: 479px) { .quick__card { padding: var(--s4); } }

/* Stats band */
.stats { background: var(--navy-900); color: var(--white); }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: var(--s7) 0; gap: var(--s6) var(--s5); }
@media (min-width: 768px) { .stats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .stats__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stats__list li { margin: 0; padding-left: var(--s4); border-left: 3px solid var(--orange-500); }
.stats__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.05; color: var(--white); }
.stats__label { display: block; margin-top: .35rem; font-size: var(--fs-sm); color: var(--on-dark-muted); line-height: 1.4; }

/* About collage */
.collage { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.collage .photo:nth-child(1) { grid-column: 1 / 7; aspect-ratio: 16 / 10; }
.collage .photo:nth-child(2) { grid-column: 1 / 4; aspect-ratio: 4 / 3; }
.collage .photo:nth-child(3) { grid-column: 4 / 7; aspect-ratio: 4 / 3; }
.collage__badge { position: absolute; left: var(--s4); top: var(--s4); display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--orange-500); color: var(--navy-950); text-align: center; font-family: var(--font-head); line-height: 1.05; box-shadow: var(--shadow); }
.collage__badge b { display: block; font-size: 1.6rem; }
.collage__badge small { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.values { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values li { margin: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .6rem; align-items: start; }
.values li::before { content: ""; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b14700' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.values strong { display: block; font-family: var(--font-head); color: var(--navy-900); line-height: 1.3; }
.values span { font-size: var(--fs-sm); color: var(--muted); }
.vm { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); margin-top: var(--s5); }
@media (min-width: 640px) { .vm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm__card { padding: var(--s5); border-radius: var(--r); background: var(--navy-50); border-top: 4px solid var(--orange-500); }
.vm__card h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.vm__card p { margin: 0; font-size: var(--fs-sm); color: var(--text); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s6); padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip { min-height: 44px; padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy-900); font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.no-js .chips { display: none; }
@media (max-width: 767px) { .chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; } .chips::-webkit-scrollbar { display: none; } }

/* Program cards */
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy-100); overflow: hidden; margin: 0; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__media .badge { position: absolute; left: var(--s3); top: var(--s3); }
.pcard__body { display: flex; flex-direction: column; gap: .35rem; padding: var(--s4) var(--s5) var(--s5); flex: 1; }
.pcard h3 { font-size: var(--fs-h4); margin: 0; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard h3 a:focus-visible { outline: none; }
.pcard:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.pcard__dept { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: var(--s3); }
.pcard dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem var(--s4); margin: var(--s2) 0 0; font-size: var(--fs-sm); }
.pcard dt { color: var(--muted); }
.pcard dd { margin: 0; font-weight: 600; color: var(--navy-900); min-width: 0; }
.cat-block + .cat-block { margin-top: var(--s8); }
.cat-block[hidden] { display: none; }
.cat-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: 2px solid var(--line); }
.cat-block__head h2 { font-size: var(--fs-h3); margin: 0; }
.cat-block__head span { color: var(--muted); font-size: var(--fs-sm); }

/* Full-bleed photo band */
.band { position: relative; isolation: isolate; color: var(--white); overflow: clip; background: var(--navy-900); }
.band__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 18 64 / .95), rgb(10 18 64 / .82) 55%, rgb(10 18 64 / .6)); }
.band h2, .band h3 { color: var(--white); }
.band p { color: #e3e7f6; }
.band__inner { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.local-links { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .local-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.local-links li { margin: 0; }
.local-links a { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 60px; padding: .75rem 1.1rem; border-radius: var(--r); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); color: var(--white); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.local-links a::after { content: "→"; color: var(--orange-400); }
.local-links a:hover { background: rgb(255 255 255 / .18); color: var(--white); }
.pull { margin: 0; padding: var(--s5) var(--s6); border-left: 4px solid var(--orange-500); background: rgb(255 255 255 / .06); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-head); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.35; font-weight: 500; }
.pull cite { display: block; margin-top: var(--s3); font-family: var(--font-body); font-size: var(--fs-sm); font-style: normal; color: var(--on-dark-muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .steps--h { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps--h { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); } }
.steps li { counter-increment: step; margin: 0; padding: var(--s5); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-500); color: var(--navy-950); font-family: var(--font-head); font-weight: 800; margin-bottom: var(--s3); }
.steps h3 { font-size: var(--fs-h4); margin: 0 0 .3rem; }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Album cards */
.album { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-900); color: var(--white); text-decoration: none; isolation: isolate; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 18 64 / .92), rgb(10 18 64 / .05) 62%); }
.album:hover img { transform: scale(1.05); }
.album__text { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s5); display: grid; gap: .2rem; }
.album__text strong { font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.2; }
.album__text span { font-size: var(--fs-sm); color: #dfe4f5; }
.album:hover { color: var(--white); }
.album:hover strong { text-decoration: underline; text-decoration-color: var(--orange-500); text-underline-offset: .2em; }
.albums { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
.albums li { margin: 0; }
@media (min-width: 640px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); } .albums--feature > li:first-child { grid-column: span 2; grid-row: span 2; } .albums--feature > li:first-child .album { aspect-ratio: auto; height: 100%; } }

/* Research strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 3 * var(--s4)) / 4)); gap: var(--s4); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0 0 var(--s3); list-style: none; margin: 0; }
@media (max-width: 639px) { .strip { grid-auto-columns: 80%; } }
.strip li { margin: 0; scroll-snap-align: start; }
.strip .photo { aspect-ratio: 3 / 2; }

/* News */
.ncard { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.ncard[hidden] { display: none; }
.ncard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-100); margin: 0; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__body { padding: var(--s4) var(--s5) var(--s5); display: grid; gap: .45rem; }
.ncard h3 { font-size: var(--fs-h4); margin: 0; }
.ncard h3 a { color: var(--navy-900); text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.ncard:hover h3 a { color: var(--orange-700); }
.ncard h3 a:focus-visible { outline: none; }
.ncard:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.ncard p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.news-layout { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .news-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } }
.news-layout .grid { gap: var(--s4); }
.notice-panel { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); padding: var(--s5); box-shadow: var(--shadow-sm); }
.notice-panel__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s2); }
.notice-panel__head h3 { margin: 0; font-size: var(--fs-h3); }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list > li { margin: 0; border-top: 1px solid var(--line); }
.notice-list > li:first-child { border-top: 0; }
.notice-list > li[hidden] { display: none; }
.notice-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; text-decoration: none; color: var(--text); }
.notice-item:hover .notice-item__title { color: var(--orange-700); text-decoration: underline; }
.notice-date { display: grid; place-items: center; align-content: center; width: 56px; height: 60px; border-radius: 10px; background: var(--navy-900); color: var(--white); text-align: center; line-height: 1.05; }
.notice-date b { font-family: var(--font-head); font-size: 1.35rem; }
.notice-date small { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--on-dark-muted); }
.notice-date--none { background: var(--orange-100); color: var(--orange-700); }
.notice-date--none svg { width: 22px; height: 22px; }
.notice-item__title { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); line-height: 1.35; margin-bottom: .35rem; }
.notice-item__meta { display: flex; flex-wrap: wrap; gap: .35rem; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-900); overflow: clip; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 18 64 / .95), rgb(10 18 64 / .84) 50%, rgb(10 18 64 / .6)); }
.page-hero--plain::before { background: radial-gradient(60% 120% at 100% 0%, rgb(248 106 0 / .25), transparent 60%); }
.page-hero__inner { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(2.75rem, 2rem + 4vw, 5rem); }
.page-hero h1 { color: var(--white); max-width: 24ch; margin-bottom: var(--s4); }
.page-hero__lede { font-size: var(--fs-lg); color: #e3e7f6; max-width: 62ch; margin: 0; }
.page-hero .btn-row { margin-top: var(--s6); }
.page-hero .meta-line { color: var(--on-dark-muted); margin-top: var(--s4); }
.page-hero .eyebrow { color: var(--orange-400); }
.breadcrumbs { margin-bottom: var(--s5); font-size: var(--fs-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark-muted); min-width: 0; }
.breadcrumbs li + li::before { content: "›"; color: var(--orange-400); }
.breadcrumbs a { color: var(--white); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { color: var(--orange-400); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--orange-400); overflow-wrap: anywhere; }

/* TOC + aside */
.toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: var(--s5); }
.toc h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-700); margin-bottom: var(--s2); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; border-top: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 40px; font-size: var(--fs-sm); text-decoration: none; color: var(--navy-900); }
.toc a:hover { color: var(--orange-700); text-decoration: underline; }
.aside-box { border-radius: var(--r); background: var(--navy-900); color: var(--white); padding: var(--s5); margin-top: var(--s5); }
.aside-box h2 { color: var(--white); font-size: var(--fs-h4); }
.aside-box p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.aside-box a:not(.btn) { color: var(--orange-400); }
.aside-box .btn-row .btn { flex: 1 1 100%; }
@media (max-width: 1023px) { .toc { display: none; } .aside-box { margin-top: 0; } }

/* Prose */
.prose h2 { margin-top: var(--s8); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.prose > section:first-child h2, .prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s6); }
.prose ul li::marker { color: var(--orange-500); }
.lead { font-size: var(--fs-lg); color: var(--navy-900); }
.kv { display: grid; margin: 0 0 var(--s5); border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .kv > div { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s5); } }
.kv dt { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.kv dd { margin: 0; min-width: 0; }
.kv small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: .2rem; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: 0 0 var(--s5); }
.pill-list li { margin: 0; padding: .45rem .9rem; border-radius: var(--r-sm); background: var(--navy-50); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.check-list li { margin: 0; padding-left: 2rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b14700' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.figure-poster { margin: 0 0 var(--s6); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }

/* Tables */
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin: 0 0 var(--s5); }
.table-caption { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); margin: 0 0 var(--s2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); }
.table-caption span { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.data { width: 100%; min-width: 520px; font-size: var(--fs-sm); line-height: 1.45; }
.data th, .data td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.data tbody tr:nth-child(even) { background: var(--navy-50); }
.data tbody tr:last-child > * { border-bottom: 0; }
.data tfoot > tr > * { font-weight: 700; background: var(--orange-50); border-top: 2px solid var(--line); }
.data .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data th[scope="row"] { font-weight: 600; color: var(--navy-900); }
.data a { overflow-wrap: normal; }
.scroll-hint { display: none; font-size: var(--fs-xs); color: var(--muted); margin: -.75rem 0 var(--s5); }
@media (max-width: 599px) {
  .scroll-hint { display: block; }
  .data--stack { min-width: 0; }
  .data--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data--stack tr { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
  .data--stack th, .data--stack td { display: block; padding: .1rem 0; border: 0; }
  .data--stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); font-size: var(--fs-xs); }
}

/* FAQ */
.faq { display: grid; gap: var(--s3); }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 0 var(--s5); }
.faq details[open] { border-color: var(--orange-500); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; min-height: 56px; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-700); font-size: 1.25rem; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 var(--s5); color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Forms */
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--navy-900); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1px solid #aeb6d0; border-radius: var(--r-sm); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--navy-700); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 700; }
.field__error:empty { display: none; }
.search-bar { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--s6); padding: var(--s5); background: var(--navy-50); border-radius: var(--r); }
@media (min-width: 768px) { .search-bar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; } }
.results-count { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s3); }

/* Contact */
.contact-grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-card { padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); min-width: 0; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-700); margin-bottom: var(--s3); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.contact-card p { margin: 0 0 .35rem; }
.contact-card a { font-weight: 700; }
.contact-card small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.map-facade { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--navy-900); isolation: isolate; }
.map-facade > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .35; }
@media (max-width: 639px) { .map-facade { aspect-ratio: 4 / 5; } }
.map-facade iframe { width: 100%; height: 100%; border: 0; }
.map-facade__cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s4); padding: var(--s5); text-align: center; color: var(--white); }
.map-facade__cover p { margin: 0; color: #e3e7f6; font-size: var(--fs-sm); max-width: 40ch; }

/* Departments */
.dept-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .dept-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .dept-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dept-list li { margin: 0; }
.dept-list a { display: grid; gap: .25rem; height: 100%; padding: var(--s5); border-radius: var(--r); border: 1px solid var(--line); border-left: 4px solid var(--orange-500); background: var(--white); text-decoration: none; color: var(--text); }
.dept-list a:hover { box-shadow: var(--shadow-sm); }
.dept-list strong { font-family: var(--font-head); font-size: var(--fs-h4); color: var(--navy-900); }
.dept-list span { font-size: var(--fs-sm); color: var(--muted); }

/* Feature list */
.feature-list { display: grid; gap: var(--s4); list-style: none; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-list li { margin: 0; padding: var(--s5); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); }
.feature-list__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-100); color: var(--orange-700); display: grid; place-items: center; }
.feature-list__icon svg { width: 24px; height: 24px; }
.feature-list h3 { font-size: var(--fs-h4); margin: .2rem 0 .3rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.empty { padding: var(--s6); border: 1px dashed #e0a36b; border-radius: var(--r); background: var(--orange-50); }
.empty h2, .empty h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.empty p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s3); }
.empty p:last-child { margin: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.share > span { font-family: var(--font-head); font-weight: 700; margin-right: var(--s2); }
.affil { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .affil { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.affil__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s4); align-items: center; padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.affil__seal { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--orange-400); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .75rem; text-align: center; line-height: 1.1; }
.affil__item strong { display: block; font-family: var(--font-head); color: var(--navy-900); line-height: 1.3; }
.affil__item span { font-size: var(--fs-sm); color: var(--muted); }
.affil__item a { display: inline-block; padding-block: .25rem; }

/* Gallery + lightbox */
.gallery { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery li { margin: 0; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--navy-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.album-section + .album-section { margin-top: var(--s8); }
.album-section__head { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.album-section__head h2 { font-size: var(--fs-h3); margin: 0; }
.album-section__head p { margin: 0; color: var(--muted); max-width: 70ch; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 10 36 / .97); color: var(--white); }
.lightbox::backdrop { background: rgb(6 10 36 / .9); }
.lightbox__stage { position: absolute; inset: 60px 64px 76px; display: grid; place-items: center; margin: 0; }
@media (max-width: 639px) { .lightbox__stage { inset: 60px 8px 120px; } }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; padding-inline: 72px; font-size: var(--fs-sm); color: #d5dbf2; margin: 0; }
@media (max-width: 639px) { .lightbox__caption { padding-inline: 16px; bottom: 72px; } }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--orange-500); color: var(--navy-950); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange-400); text-decoration: underline; }
.footer-cta { background: var(--orange-500); color: var(--navy-950); }
.footer-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding-block: var(--s6); }
.footer-cta h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.footer-cta p { margin: .25rem 0 0; color: var(--navy-900); }
.footer-cta .btn { --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900); }
.footer-cta .btn:hover { --bg: var(--navy-950); --bd: var(--navy-950); color: var(--white); }
.footer-cta .btn--ghost-dark { --bg: transparent; --fg: var(--navy-950); --bd: var(--navy-950); }
.footer-cta .btn--ghost-dark:hover { --bg: var(--navy-950); --fg: var(--white); }
.site-footer__top { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); padding-block: var(--s8) var(--s7); }
@media (min-width: 640px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.site-footer h2 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-400); margin-bottom: var(--s4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-logo { display: inline-block; margin-bottom: var(--s4); }
.footer-logo img { width: 220px; height: auto; }
.site-footer address p { margin: 0 0 .5rem; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.social { display: flex; gap: var(--s2); margin-top: var(--s4); }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); }
.social a:hover { background: var(--orange-500); color: var(--navy-950); }
.social svg { width: 18px; height: 18px; }

/* 6. UTILITIES */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }
.muted { color: var(--muted); }
.article-body { font-size: var(--fs-lg); }
.article-body p { max-width: 68ch; }
.related { margin-top: var(--s8); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .utility, .site-header, .ticker, .site-footer, .share, .aside-box, .toc, .skip-link { display: none !important; } .page-hero, .hero { background: #fff; color: #000; } .page-hero h1 { color: #000; } }

/* Hero pause control + compact program cards (home) + generic card */
.hero__pause { width: 32px; height: 32px; border-radius: 50%; background: rgb(255 255 255 / .15); color: var(--white); }
.hero__pause::before { content: none; }
.hero__pause:hover { background: var(--orange-500); color: var(--navy-950); }
.no-js .hero__pause { display: none; }
@media (max-width: 639px) {
  .pcard--compact { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; }
  .pcard--compact .pcard__media { aspect-ratio: auto; height: 100%; min-height: 104px; }
  .pcard--compact .pcard__media .badge { left: 6px; top: 6px; font-size: .75rem; padding: .1rem .45rem; }
  .pcard--compact .pcard__body { padding: var(--s3) var(--s4); }
  .pcard--compact .pcard__meta { padding-top: var(--s2); }
  #home-programs { gap: var(--s3); }
}
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card h3 { font-size: var(--fs-h4); }
.card ul { margin: 0; }

/* --- fixes from visual review --- */
.hero__pill { flex-wrap: wrap; row-gap: .25rem; }
.hero__pill span { white-space: nowrap; }
@media (max-width: 479px) { .hero__pill { font-size: var(--fs-xs); } }
.header-actions .header-cta { display: none; }
@media (min-width: 560px) { .header-actions .header-cta { display: inline-flex; white-space: nowrap; } }
@media (max-width: 479px) { .quick__card > span:last-child { display: none; } .quick__card > .quick__icon { display: grid; width: 40px; height: 40px; } }
.lightbox__stage img { max-height: calc(100vh - 150px); max-width: calc(100vw - 140px); }
@media (max-width: 639px) { .lightbox__stage img { max-height: calc(100vh - 200px); max-width: calc(100vw - 16px); } }
.site-footer .footer-cta h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -.01em; text-transform: none; }
.site-footer .btn, .site-footer .btn:hover { color: var(--fg); text-decoration: none; }
.stats__value { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); }

/* Course tables (timetable & schemes) — no horizontal scroll at 360px */
.data--courses { min-width: 0; table-layout: auto; }
.data--courses td.code span { white-space: nowrap; }
.data--courses td.code { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); color: var(--navy-700, var(--navy-900)); }
.data--courses th[scope="row"] { font-weight: 600; }
.data--courses th[scope="row"] a { color: var(--navy-900); text-decoration-color: var(--orange-500); text-underline-offset: 3px; }
.data--courses th[scope="row"] a:hover { color: var(--orange-700); }
.data--courses small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); margin-top: .15rem; }
.data--courses .pdf-ico { display: inline-block; width: .95em; height: .95em; margin-left: .35em; vertical-align: -.1em; color: var(--orange-700); }
.data--courses tfoot th { text-align: right; }
@media (max-width: 599px) {
  .data--courses th, .data--courses td { padding: .65rem .55rem; }
  .data--courses thead th { letter-spacing: .02em; }
}
.sem-grid { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .sem-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sem-grid .table-wrap { margin: 0; }
.tt-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: var(--s5); display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.tt-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); }
.tt-card__head h3 { margin: 0; font-size: var(--fs-h4); }
.tt-card__meta { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tt-card__links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: var(--fs-sm); }
.scheme-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .scheme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scheme-list a { display: grid; gap: .2rem; padding: var(--s4) var(--s5); border: 1px solid var(--line); border-left: 4px solid var(--orange-500); border-radius: var(--r-sm); background: var(--white); text-decoration: none; color: var(--text); min-height: 56px; }
.scheme-list a:hover, .scheme-list a:focus-visible { border-color: var(--navy-900); border-left-color: var(--orange-500); background: var(--navy-50); }
.scheme-list strong { font-family: var(--font-head); color: var(--navy-900); }
.scheme-list span { font-size: var(--fs-sm); color: var(--muted); }
.navttc-grid { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .navttc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .navttc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncourse { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.ncourse h3 { margin: 0; font-size: var(--fs-h4); }
.ncourse p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.ncourse dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem var(--s4); margin: 0; font-size: var(--fs-sm); }
.ncourse dt { font-weight: 700; color: var(--navy-900); }
.ncourse dd { margin: 0; }
.ncourse--stipend { border-top: 4px solid var(--orange-500); }
.article-body table { width: 100%; }
@media (max-width: 599px) {
  .tt-card { padding: var(--s3); }
  .data--courses th, .data--courses td { padding: .6rem .4rem; }
  .data--courses td.code { font-size: .75rem; }
  .data--courses th[scope="row"] { overflow-wrap: anywhere; hyphens: auto; }
}
.data--mini { min-width: 0; }
.data--mini thead th { white-space: normal; } @media (max-width: 599px) { .data--mini th, .data--mini td { padding: .6rem .4rem; font-size: .8125rem; } }
.data--mini thead th.num { white-space: normal; }
.badge--lab { font-size: .75rem; padding: .05rem .45rem; vertical-align: .1em; background: var(--navy-50); color: var(--navy-900); border-color: transparent; }
@media (min-width: 768px) { .search-bar--single { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.tt-card[hidden], .cat-block[hidden], tr[hidden], .plan-results[hidden], .plan-results li[hidden] { display: none !important; }
.plan-results { margin-top: var(--s5); } .plan-results h2 { font-size: var(--fs-h4); margin-bottom: var(--s4); }
/* Text-only cards (photos are shown once per site) */
.pcard--nomedia, .ncard--nomedia { border-top: 4px solid var(--orange-500); }
.pcard--nomedia .pcard__body, .ncard--nomedia .ncard__body { padding-top: var(--s5); }
