/* ============================================================
   SVNGMC Yavatmal — Modern Theme
   Design: glassmorphism + gradient mesh + bento + scroll reveal
   ============================================================ */

/* Digits/phone punctuation: normal system font everywhere; letters stay Raleway */
@font-face {
  font-family: 'SiteNums';
  src: local('Segoe UI'), local('Arial'), local('Helvetica Neue'), local('Helvetica');
  unicode-range: U+0030-0039, U+002B, U+002D, U+002F, U+0028, U+0029, U+002E, U+002C;
}

:root {
  --bg: #f5f8f9;
  --surface: #ffffff;
  --ink: #222324;
  --ink-2: #656565;
  --muted: #656565;
  --line: #cecece;
  --font-sans: 'SiteNums', 'Raleway', Arial, Helvetica, sans-serif;

  --primary: #02af7d;
  --primary-2: #13b1cd;
  --primary-ink: #242424;
  --accent: #02af7d;
  --accent-2: #13b1cd;
  --danger: #c54041;
  --header-top: #0a2f2a;
  --header-nav: #02af7d;
  --header-nav-hover: rgba(255, 255, 255, .16);
  --header-nav-active: #fff;
  --header-announce: #08352f;
  --header-announce-label: #062824;
  --header-soft: #fff;
  --header-ink: #17324b;
  --header-link: #029e72;

  --grad-hero: radial-gradient(1200px 600px at 10% 10%, rgba(2, 175, 125, 0.35) 0%, transparent 60%),
               radial-gradient(900px 600px at 90% 20%, rgba(19, 177, 205, 0.28) 0%, transparent 55%),
               radial-gradient(800px 500px at 50% 100%, rgba(34, 35, 36, 0.45) 0%, transparent 60%),
               linear-gradient(135deg, #222324 0%, #242424 55%, #02af7d 100%);
  --grad-primary: linear-gradient(135deg, #02af7d 0%, #13b1cd 100%);
  --grad-accent: linear-gradient(135deg, #02af7d 0%, #13b1cd 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f5f8f9 100%);

  --shadow-sm: 0 1px 2px rgba(10,31,26,.06), 0 1px 1px rgba(10,31,26,.04);
  --shadow-md: 0 10px 30px -12px rgba(10,31,26,.18);
  --shadow-lg: 0 30px 60px -20px rgba(10,31,26,.25);
  --shadow-glow: 0 20px 60px -20px rgba(59,130,246,.55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --t: .35s cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
  /* background:
    radial-gradient(900px 500px at 100% 0%, #3b82f614, transparent 60%),
    radial-gradient(700px 400px at 0% 30%, #ec489914, transparent 60%),
    var(--bg); */
    background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary-2); }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Placeholders ---------- */
.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  text-transform: uppercase;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    repeating-linear-gradient(45deg, #02af7d 0 14px, #13b1cd 14px 28px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), var(--shadow-md);
  overflow: hidden;
  min-height: 120px;
  isolation: isolate;
}
.placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx,30%) var(--my,30%), rgba(255,255,255,.25), transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.placeholder::after {
  content: attr(data-w) " × " attr(data-h);
  position: absolute; bottom: 10px; right: 12px;
  font-size: 10px; opacity: .85;
  background: rgba(0,0,0,.35);
  padding: 3px 8px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Site header shell ---------- */
.site-header {
  position: relative;
  background: #fff;
  box-shadow: 0 8px 24px -18px rgba(8, 41, 38, .4);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--header-top);
  color: #d9f5ec;
  font-size: 12.5px;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0; gap: 14px;
}
.topbar__left {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
  min-width: 0;
}
.topbar__label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8fd9c0;
}
.topbar__contact {
  display: inline-flex; align-items: center; gap: 7px;
  color: #d9f5ec; font-weight: 500; margin: 0; text-decoration: none;
}
.topbar__contact svg {
  width: 13px; height: 13px; flex: 0 0 auto; stroke-width: 2;
}
.topbar__contact:hover { color: #fff; }
.topbar__helpline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9f5ec;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__helpline strong {
  font-weight: 700;
  color: #7ee0c8;
  letter-spacing: .02em;
}
.topbar__helpline:hover,
.topbar__helpline:hover strong { color: #fff; }
.topbar__right {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end;
  gap: 8px 12px;
}
.topbar__right a {
  color: #d9f5ec; margin-left: 0; font-weight: 500; text-decoration: none;
}
.topbar__right a:hover { color: #fff; }
.topbar__skip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.topbar__tools {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.16);
}
.topbar__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 30;
}
.topbar__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  background: rgba(0,0,0,.16);
  color: #d9f5ec;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.topbar__lang-toggle svg {
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.topbar__lang.is-open .topbar__lang-toggle,
.topbar__lang-toggle:hover,
.topbar__lang-toggle:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.14);
  outline: none;
}
.topbar__lang.is-open .topbar__lang-toggle svg {
  transform: rotate(180deg);
}
.topbar__lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #d5e9e3;
  border-radius: 8px;
  box-shadow: 0 14px 30px -14px rgba(8, 41, 38, .45);
  display: none;
  z-index: 40;
}
.topbar__lang.is-open .topbar__lang-menu {
  display: block;
}
.topbar__lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #17324b !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0 !important;
}
.topbar__lang-menu a:hover {
  background: #e7f7f1;
  color: var(--header-link) !important;
}
.topbar__lang-menu a.is-active {
  background: #e7f7f1;
  color: var(--header-link) !important;
}
.topbar__tool {
  min-width: 30px; height: 26px;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 999px;
  background: transparent;
  color: #d9f5ec;
  font: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  padding: 0 8px;
  transition: background var(--t), color var(--t);
}
.topbar__tool:hover,
.topbar__tool:focus-visible {
  background: rgba(255,255,255,.14);
  color: #fff;
  outline: none;
}
.topbar__tool[aria-pressed="true"] {
  background: #fff;
  color: var(--header-top);
}
.topbar__theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.16);
  color: #d9f5ec;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
}
.topbar__theme:hover { color: #fff; background: rgba(255,255,255,.12); }
.topbar__theme[aria-pressed="true"] {
  background: #fff;
  color: var(--header-top);
}
.topbar__logout-form { display: inline; margin: 0; }
.topbar__logout-form button {
  border: 0; background: transparent; color: #d9f5ec;
  font: inherit; font-weight: 500; cursor: pointer; padding: 0;
}
.topbar__logout-form button:hover { color: #fff; }
html[data-font-scale="0.7"] { --text-scale: 0.7; }
html[data-font-scale="0.85"] { --text-scale: 0.85; }
html[data-font-scale="1"] { --text-scale: 1; }
html[data-font-scale="1.3"] { --text-scale: 1.3; }
html[data-font-scale="1.6"] { --text-scale: 1.6; }

/* Scale all page text (px + rem + inline) across every section */
html[data-font-scale] body {
  zoom: var(--text-scale, 1);
}
@supports not (zoom: 1) {
  html[data-font-scale="0.7"] { font-size: 70%; }
  html[data-font-scale="0.85"] { font-size: 85%; }
  html[data-font-scale="1"] { font-size: 100%; }
  html[data-font-scale="1.3"] { font-size: 130%; }
  html[data-font-scale="1.6"] { font-size: 160%; }
  html[data-font-scale] body {
    font-size: calc(1rem * var(--text-scale, 1));
  }
}

/* ---------- Branding bar ---------- */
.brandbar {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  background: var(--header-soft);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}
.brandbar::before { display: none; content: none; }
.brandbar::after { display: none; }
.brandbar__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  min-height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  max-width: 640px;
  padding: 10px 0;
}
.brand:hover { color: inherit; }

/* Original wide logo (no border, no crop) */
.brand__logo {
  width: 200px;
  height: 62px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  overflow: visible;
  position: relative;
  padding: 0;
  z-index: 1;
  box-shadow: none;
}
.brand__logo img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  transform: none;
}
.brand__logo--sm {
  width: 138px;
  height: 42px;
  border: 0;
  background: transparent;
  overflow: visible;
  position: relative;
  padding: 0;
}
.brand__logo--sm img {
  position: static;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: contain;
  max-width: 100%;
}

.brand__text {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.brand__text strong {
  display: grid;
  gap: 2px;
  font-family: var(--font-sans);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 800;
  color: #0a1628;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.brand__text strong span {
  display: block;
  white-space: nowrap;
}
.brand__text em {
  font-style: normal;
  font-size: clamp(12px, 1.05vw, 14px);
  color: var(--primary-2);
  font-weight: 600;
  line-height: 1.35;
}
.brandbar__aside {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  margin-right: 0;
  align-self: stretch;
}
/* Ribbon: previous look with top/bottom breathing room */
.brand-ribbon {
  display: flex;
  align-items: stretch;
  min-height: 68px;
  height: auto;
  align-self: center;
}
.brand-ribbon__years {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 18px 10px 12px;
  min-width: 84px;
  text-align: center;
  color: #fff;
  background: var(--primary);
  clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  line-height: 1;
}
.brand-ribbon__years em {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .01em;
}
.brand-ribbon__years span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-ribbon__copy {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 14px;
  margin-left: -2px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  border-left: 0;
  background: transparent;
}
.brand-ribbon__copy strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-ribbon__copy span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-2);
  white-space: nowrap;
}
.brand-badge { display: none; }

/* Portrait fills brandbar height — no top/bottom gap */
.brand-portrait {
  position: relative;
  right: auto;
  top: auto;
  bottom: auto;
  width: 130px;
  min-height: 96px;
  align-self: stretch;
  flex: 0 0 auto;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
.brand-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  filter: grayscale(1) contrast(1.03);
  opacity: .95;
}
.brandbar__aside .nav-toggle {
  align-self: center;
  margin-left: 8px;
}

/* ---------- Primary nav bar ---------- */
.navbar-shell {
  min-height: 46px;
}
.navbar {
  position: relative;
  background: var(--header-nav);
}
.navbar.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  box-shadow: 0 8px 24px -18px rgba(8, 41, 38, .55);
  animation: navbar-slide-in .28s ease-out both;
}

@keyframes navbar-slide-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .navbar.is-fixed { animation: none; }
}
.navbar__inner {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-height: 44px;
}
.nav {
  flex: 1;
  min-width: 0;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
}
.nav li { flex: 0 0 auto; }
.nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-height: 46px;
  padding: 0 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
}
.nav > ul > li > a:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.nav > ul > li > a.active {
  color: #000;
  background: var(--header-nav-active);
  box-shadow: none;
}
.has-sub { position: relative; }
.nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid #d7e5e3; border-radius: 0 0 10px 10px;
  padding: 8px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 36px -20px rgba(8, 41, 38, .4);
  z-index: 120;
}
.has-sub--align-end .submenu { left: auto; right: 0; }
.has-sub.is-open > a {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.has-sub.is-open .submenu { display: flex; }
.nav .submenu li {
  width: 100%;
  text-align: left;
}
.nav .submenu a {
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 9px 12px;
  white-space: normal;
  text-align: left;
  color: #17324b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.nav .submenu a:hover {
  background: #e7f7f1;
  color: #0b6b4f;
}

.nav-toggle {
  display: none;
  background: var(--header-nav);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: none;
  cursor: pointer;
}
.nav__close,
.nav-backdrop { display: none; }

.navbar__search {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: auto;
}
.navbar__search-btn {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.navbar__search-btn:hover,
.navbar__search-btn[aria-expanded="true"] {
  background: rgba(0, 0, 0, .18);
}
.navbar__search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d7e5e3;
  border-radius: 10px;
  box-shadow: 0 16px 30px -18px rgba(8, 41, 38, .4);
  z-index: 130;
  width: min(320px, 78vw);
}
.navbar__search-form[hidden] { display: none !important; }
.navbar__search-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d7e5e3;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
}
.navbar__search-form button {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--header-nav);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Announcements ticker (Grant GMC style) ---------- */
.announce {
  background: var(--header-announce);
  color: #fff;
  border-top: 0;
}
.announce__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  min-height: 40px;
}
.announce .container.announce__inner {
  width: min(1200px, 92%);
  max-width: min(1200px, 92%);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}
.announce__label {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: var(--header-announce-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.12);
}
.announce__viewport {
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--header-announce);
  min-width: 0;
}
.announce__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding-left: 10px;
  animation: announceScroll 45s linear infinite;
}
.announce__track:hover { animation-play-state: paused; }
.announce__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}
.announce__item:hover,
.announce__item:hover .announce__text { color: #9af0d4; }
.announce__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
  opacity: .95;
}
.announce__dot { display: none; }
.announce__new {
  width: 48px;
  height: 24px;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  image-rendering: auto;
}
.announce__text {
  color: inherit;
}
.announce__item--empty {
  pointer-events: none;
  opacity: .85;
}
@keyframes announceScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Download / Important Forms page ---------- */
.forms-hero {
  position: relative;
  overflow: hidden;
  min-height: min(52vh, 420px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 280px at 12% 70%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, #0b8f6a 0%, #11a877 42%, #18b986 100%);
}
.forms-hero__deco {
  position: absolute;
  left: max(2%, 24px);
  bottom: 8%;
  width: min(280px, 34vw);
  opacity: .9;
  pointer-events: none;
}
.forms-hero__deco svg { width: 100%; height: auto; display: block; }
.forms-hero__inner {
  position: relative;
  z-index: 1;
  padding: 64px 16px 72px;
}
.forms-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.forms-hero__rule {
  display: block;
  width: 120px;
  height: 2px;
  margin: 18px auto 16px;
  background: rgba(255,255,255,.85);
}
.forms-hero p {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.95);
}
.forms-hero__scroll {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 34px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.forms-hero__scroll:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
  transform: translateY(2px);
}
.forms-list-wrap {
  background: #fff;
  padding: 56px 0 80px;
}
.forms-list-wrap h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #1a2740;
}
.forms-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 0 1.4em;
  list-style: decimal;
  font-variant-numeric: lining-nums tabular-nums;
}
.forms-list li {
  margin: 0 0 12px;
  padding-left: .35em;
  color: #24344d;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}
.forms-list a {
  color: #0b5ea8;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-bottom: 0;
  cursor: pointer;
}
.forms-list a:hover {
  color: #0b8f6a;
}
.forms-list span { color: #24344d; }
@media (max-width: 760px) {
  .forms-hero { min-height: 340px; }
  .forms-hero__deco { width: 160px; opacity: .55; }
  .forms-list { max-width: 100%; }
}

/* Dark mode (base tokens + header shell) */
html[data-theme="dark"] {
  --bg: #0a1614;
  --surface: #122420;
  --ink: #e8f5f1;
  --ink-2: #b7cdc6;
  --muted: #9eb5ae;
  --line: #2a403b;
  --header-soft: #16332d;
  --header-ink: #e8f5f1;
  --grad-soft: linear-gradient(180deg, #122420 0%, #0a1614 100%);
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(2, 175, 125, .12), transparent 60%),
    radial-gradient(700px 400px at 0% 30%, rgba(19, 177, 205, .1), transparent 60%),
    var(--bg);
  color: var(--ink);
}
html[data-theme="dark"] a { color: #5eead4; }
html[data-theme="dark"] a:hover { color: #99f6e4; }
html[data-theme="dark"] .brandbar {
  background: #10221e;
  border-top-color: #02af7d;
  border-bottom-color: #02af7d;
}
html[data-theme="dark"] .brand__text strong { color: #f4fffb; }
html[data-theme="dark"] .brand__text em { color: #5eead4; }
html[data-theme="dark"] .brand-ribbon__years { background: #053b35; }
html[data-theme="dark"] .brand-ribbon__copy {
  background: #10221e;
  border-color: #02af7d;
}
html[data-theme="dark"] .brand-ribbon__copy strong { color: #5eead4; }
html[data-theme="dark"] .brand__text span { color: #5eead4; }
html[data-theme="dark"] .topbar__lang-menu {
  background: #122420;
  border-color: #2a403b;
}
html[data-theme="dark"] .topbar__lang-menu a {
  color: #e8f5f1 !important;
}
html[data-theme="dark"] .topbar__lang-menu a:hover,
html[data-theme="dark"] .topbar__lang-menu a.is-active {
  background: #1a3530;
  color: #5eead4 !important;
}
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .portal-card,
html[data-theme="dark"] .section--alt {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .content-card h3,
html[data-theme="dark"] .content-card p,
html[data-theme="dark"] .portal-card h3,
html[data-theme="dark"] .portal-card p {
  color: #e8f5f1;
}
html[data-theme="dark"] .content-card p,
html[data-theme="dark"] .portal-card p {
  color: #b7cdc6;
}

/* ---------- Legacy sticky header class (kept for JS) ---------- */
.header.scrolled { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,.4), transparent 60%);
  background-size: 600px 600px;
  opacity: .5;
  animation: drift 30s linear infinite;
}
@keyframes drift { to { background-position: 600px 600px, -600px 400px, 300px -300px; } }

.hero__slides { position: relative; min-height: 840px; }
.hero__slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transform: scale(1.03);
  transition: opacity 1s ease, transform 1.4s ease;
  pointer-events: none;
}
.hero__slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  opacity: .32;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,0) 14px 28px);
  box-shadow: none;
}
img.hero__img {
  object-fit: cover;
  object-position: center center;
  background: none;
}
.hero__img::after { display:none; }
.hero__overlay {
  position: relative; z-index: 2;
  width: 100%;
  padding: 80px 0 110px;
}
.hero__overlay .container { max-width: 820px; text-align: left; }
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -.025em;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #fff 0%, #dbe5ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: #dbe5ff; margin: 0 0 32px; max-width: 600px;
}

/* ---------- Right Quick Shortcuts ---------- */
.quick-shortcuts {
  position: fixed;
  right: 14px;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 70;
}
.quick-shortcut {
  --qs-pad: 12px;
  --shortcut-color: #0ea5e9;
  --shortcut-color-dark: #0369a1;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding-inline: 12px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--shortcut-color) 0%, var(--shortcut-color-dark) 100%);
  border: 2px solid rgba(255, 255, 255, .72);
  box-shadow:
    0 8px 20px -8px var(--shortcut-color),
    0 0 0 3px color-mix(in srgb, var(--shortcut-color) 24%, transparent);
  transition: width var(--t), transform var(--t), box-shadow var(--t), filter var(--t), gap var(--t);
}
.quick-shortcut:nth-child(1) {
  --shortcut-color: #ff4d6d;
  --shortcut-color-dark: #c9184a;
}
.quick-shortcut:nth-child(2) {
  --shortcut-color: #8b5cf6;
  --shortcut-color-dark: #6d28d9;
}
.quick-shortcut:nth-child(3) {
  --shortcut-color: #f59e0b;
  --shortcut-color-dark: #ea580c;
}
.quick-shortcut:hover,
.quick-shortcut:focus-visible {
  color: #ffffff;
  width: 148px;
  gap: 8px;
  transform: translateX(-6px) scale(1.06);
  box-shadow:
    0 16px 32px -10px var(--shortcut-color-dark),
    0 0 0 5px color-mix(in srgb, var(--shortcut-color) 32%, transparent);
  filter: brightness(1.12) saturate(1.18);
  outline: none;
}
.quick-shortcut svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.quick-shortcut__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: max-width var(--t), opacity var(--t);
}
.quick-shortcut:hover .quick-shortcut__label,
.quick-shortcut:focus-visible .quick-shortcut__label {
  max-width: 110px;
  opacity: 1;
}

/* Hero floating badge cards */
.hero__overlay .container::after {
  content: "";
  display: block;
  margin-top: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}

.hero__dots {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero__dots button {
  width: 30px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,.3); border: 0; cursor: pointer;
  transition: all var(--t);
}
.hero__dots button.active { background: var(--accent); width: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  letter-spacing: .02em;
  border: 0; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.btn--primary {
  background: var(--grad-accent); color: #ffffff;
  box-shadow: 0 14px 30px -10px rgba(236,72,153,.6);
}
.btn--primary:hover { transform: translateY(-2px); color: #ffffff; }
.btn--outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 15px; }

/* ---------- Stats (overlapping floating card) ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-60px);
  position: relative; z-index: 10;
  border: 1px solid var(--line);
}
.stat { text-align: center; padding: 10px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat h3 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3vw, 44px);
  margin: 0 0 4px;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em;
}
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 36px 0 48px; }
.section--alt {
  background:
    radial-gradient(600px 300px at 0% 0%, #3b82f610, transparent 60%),
    radial-gradient(600px 300px at 100% 100%, #ec489910, transparent 60%),
    #eef2fb;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--primary); text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(59,130,246,.1);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; width: fit-content; margin-inline: auto; }
h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 20px; color: var(--ink);
}
h2.center { text-align: center; margin-bottom: 40px; }
.section p { color: var(--ink-2); }

/* ---------- Grid-2 ---------- */
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; align-items: center;
}
.grid-2--reverse > div:first-child { order: 2; }
.about__img, .dean__img {
  min-height: 320px; border-radius: var(--r-lg);
}
.about__img img,
.dean__img img,
.about__img,
.dean__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dean__img { border-radius: 50% 30% 50% 30% / 40% 50% 40% 50%; }

/* ---------- Cards (Quick Access) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: -2px;
  background: var(--grad-primary);
  z-index: -1; opacity: 0;
  transition: opacity var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 20px -8px rgba(30,58,138,.5);
}
.card h4 { font-size: 16px; margin: 0; line-height: 1.3; }
.card span { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: auto; }

/* ---------- Highlighted Links (screenshot style) ---------- */
.highlight-links {
  position: relative;
  padding: 86px 0 92px;
  color: #ffffff;
  background:
    radial-gradient(860px 340px at 12% 18%, rgba(19, 177, 205, .3), transparent 62%),
    radial-gradient(920px 360px at 86% 86%, rgba(2, 175, 125, .26), transparent 62%),
    linear-gradient(125deg, #0a2f3a 0%, #105562 52%, #1a6f75 100%);
  overflow: hidden;
}
.highlight-links::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0));
  filter: blur(3px);
  opacity: .65;
}
.highlight-links::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .18;
  pointer-events: none;
}
.highlight-links .container {
  position: relative;
  z-index: 1;
}
.highlight-links__title {
  margin-bottom: 34px;
  color: #ffffff;
}
.highlight-links__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.hl-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  min-height: 210px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  box-shadow: 0 26px 34px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  color: #ffffff;
  text-decoration: none;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
}
.hl-item:hover {
  color: #ffffff;
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .12));
  border-color: rgba(255, 255, 255, .42);
  box-shadow: 0 30px 40px -28px rgba(0, 0, 0, .65);
}
.hl-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--hl-icon-bg, rgba(255, 255, 255, .2));
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.hl-item__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}
.hl-item h4 {
  margin: 0;
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.3;
  color: #ffffff;
  min-height: 48px;
}
.hl-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #ffffff;
  background: rgba(5, 30, 35, .4);
  border: 1px solid rgba(255, 255, 255, .34);
}
.hl-item__btn::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
}
.hl-item--blood { --hl-icon-bg: rgba(239, 68, 68, .24); }
.hl-item--charter { --hl-icon-bg: rgba(34, 197, 94, .24); }
.hl-item--icc { --hl-icon-bg: rgba(14, 165, 233, .24); }
.hl-item--rti { --hl-icon-bg: rgba(244, 114, 182, .22); }
.hl-item--muhs { --hl-icon-bg: rgba(250, 204, 21, .26); }
.hl-item--blood .hl-item__icon { color: #ffd2d2; }
.hl-item--charter .hl-item__icon { color: #d6ffe4; }
.hl-item--icc .hl-item__icon { color: #d4f4ff; }
.hl-item--rti .hl-item__icon { color: #ffe0f0; }
.hl-item--muhs .hl-item__icon { color: #fff4c4; }

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex; gap: 4px;
  background: #fff; padding: 6px;
  border-radius: 999px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin: 0 auto 28px; left: 50%; position: relative; transform: translateX(-50%);
}
.tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--ink-2);
  transition: all var(--t);
}
.tab.active { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-md); }

.tab-panel { display: none; max-width: 880px; margin: 0 auto; }
.tab-panel.active { display: block; animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: grid; grid-template-columns: auto 130px 1fr;
  align-items: center; gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  transition: all var(--t);
}
.news-list li:hover { transform: translateX(4px); border-color: var(--primary-2); box-shadow: var(--shadow-md); }
.news-list .badge {
  background: var(--grad-accent); color: #ffffff;
  font-size: 10px; font-weight: 800; padding: 4px 8px;
  border-radius: 6px; letter-spacing: .1em;
}
.news-list time { color: var(--muted); font-size: 13px; font-weight: 600; }
.news-list a { color: var(--ink); font-weight: 600; }
.news-list a:hover { color: var(--primary); }
.news-list li:not(:has(.badge)) { grid-template-columns: 130px 1fr; }

/* ---------- Latest Updates (card columns) ---------- */
.latest-updates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.updates-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  border: 1px solid #d9e3e3;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(34, 35, 36, 0.1);
  padding: 0;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.updates-card__head {
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(90deg, #02af7d 0%, #13b1cd 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.updates-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.updates-scroll::-webkit-scrollbar { display: none; width: 0; }
.updates-card .updates-readmore {
  margin: 14px auto 16px;
}
.updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.updates-list.is-marquee {
  animation: updatesMarquee 16s linear infinite;
  will-change: transform;
}
.updates-list.is-marquee.is-paused {
  animation-play-state: paused;
}
@keyframes updatesMarquee {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-1 * var(--marquee-distance, 0px))); }
}
.updates-item {
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(2, 175, 125, 0.75);
}
.updates-meta {
  font-size: 13px;
  color: #656565;
  margin-bottom: 6px;
}
.updates-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ff0178;
  margin-right: 6px;
}
.updates-link {
  color: #02af7d;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.32;
}
.updates-link:hover { color: #02af7d; }
.updates-readmore {
  align-self: center;
  margin-top: 12px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid #02af7d;
  color: #02af7d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  background: #fff;
}
.updates-readmore::before {
  content: "▣";
  margin-right: 8px;
  font-size: 0.88em;
}

/* ---------- Departments ---------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.dept {
  background: #fff; border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--line);
  display: block;
  color: var(--ink);
  transition: transform var(--t), box-shadow var(--t);
}
.dept:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept__img { border-radius: 0; min-height: 160px; }
img.dept__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.dept h4 { margin: 0; padding: 18px 20px; font-size: 15px; }

/* ---------- Authorities ---------- */
.authorities-section {
  background: #fbfaf7;
}
.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 38px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.authority-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 232px;
  padding: 26px 18px 22px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(249,244,241,.96)),
    #faf6f3;
  border: 1px solid #eee7e1;
  border-radius: 24px 4px 28px 4px;
  box-shadow: 0 4px 5px rgba(39, 34, 28, .2);
  transition: transform var(--t), box-shadow var(--t);
}
.authority-card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 56%;
  z-index: -1;
  opacity: .7;
  background:
    linear-gradient(60deg, transparent 42%, #ead9c8 43% 44%, transparent 45% 65%, #ead9c8 66% 67%, transparent 68%),
    linear-gradient(-60deg, transparent 42%, #ead9c8 43% 44%, transparent 45% 65%, #ead9c8 66% 67%, transparent 68%);
  background-size: 42px 48px;
}
.authority-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(39, 34, 28, .14);
}
.authority-card--lead {
  grid-column: 2 / 4;
  grid-row: 1;
  max-width: 260px;
  width: 100%;
  justify-self: center;
}
.authority-card:not(.authority-card--lead) { grid-row: 2; }
.authority-card__photo {
  width: 116px;
  height: 136px;
  margin: 0 auto 12px;
  overflow: hidden;
  background: #eef5f3;
}
.authority-card__photo,
.authority-card__photo img { border-radius: 4px; }
.authority-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.authority-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.3;
  color: #202b32;
}
.authority-card p {
  margin: 0;
  color: #0b75b5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 960px) {
  .authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }
  .authority-card--lead {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .authority-card:not(.authority-card--lead) { grid-row: auto; }
}
@media (max-width: 760px) {
  .authority-grid { grid-template-columns: 1fr; max-width: 280px; }
  .authority-card--lead { grid-column: auto; }
}

/* Grant-style department catalog */
.dept-catalog {
  --dept-navy: #0b3d6e;
  --dept-navy-2: #145a9c;
  --dept-chip: #eaf4fc;
  --dept-chip-border: #b7d4ef;
  padding: 36px 0 64px;
  background:
    linear-gradient(#ffffff 0 0) padding-box,
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(11, 61, 110, .045) 23px, rgba(11, 61, 110, .045) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(11, 61, 110, .045) 23px, rgba(11, 61, 110, .045) 24px);
  background-color: #f7fbfe;
}
.dept-catalog__head {
  text-align: center;
  margin-bottom: 28px;
}
.dept-catalog__head h1 {
  margin: 0;
  color: var(--dept-navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--dept-navy-2);
}
.dept-catalog__section {
  margin-bottom: 34px;
}
.dept-catalog__section > h2 {
  margin: 0 0 18px;
  color: var(--dept-navy);
  font-size: 1.2rem;
  font-weight: 800;
}
.dept-catalog__phase {
  margin-bottom: 22px;
}
.dept-catalog__phase h3 {
  margin: 0 0 12px;
  color: #24527a;
  font-size: .98rem;
  font-weight: 700;
}
.dept-catalog__grid {
  display: grid;
  gap: 14px;
}
.dept-catalog__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dept-catalog__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dept-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 16px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--dept-chip-border);
  background: linear-gradient(180deg, #f7fbff 0%, #dceefb 100%);
  color: var(--dept-navy);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dept-chip:hover {
  transform: translateY(-2px);
  color: var(--dept-navy);
  border-color: #7fb2de;
  box-shadow: 0 10px 22px -14px rgba(11, 61, 110, .45);
}

/* Department detail (Grant/JJ overview layout) */
.dept-page {
  --dept-navy: #163a56;
  --dept-navy-2: #1f5678;
  --dept-soft: #e8f1f8;
  --dept-line: #d8e3ee;
  --dept-card-shadow: 0 10px 28px rgba(22, 58, 86, .08);
  background: #f3f6f9;
  padding: 18px 0 56px;
}
.dept-tabs {
  background: transparent;
  border: 0;
  margin-bottom: 16px;
}
.dept-tabs__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}
.dept-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d5dee8;
  background: #fff;
  color: #2a3b4c;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.dept-tabs__item:hover {
  border-color: #9eb6cb;
  color: var(--dept-navy);
}
.dept-tabs__item.is-active {
  background: #e8f2fb;
  border-color: #b7cfe3;
  color: var(--dept-navy);
}
.dept-tabs__badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

/* Hero: full-bleed background image */
.dept-welcome {
  position: relative;
  display: block;
  margin-bottom: 20px;
  border-radius: 22px;
  border: 1px solid #d4e4f2;
  overflow: hidden;
  box-shadow: var(--dept-card-shadow);
  min-height: 360px;
  background: #d5e4f0;
}
.dept-welcome__bg {
  position: absolute;
  inset: 0;
  background-color: #d5e4f0;
  background-image:
    linear-gradient(105deg, rgba(232, 241, 248, .94) 0%, rgba(232, 241, 248, .78) 34%, rgba(232, 241, 248, .28) 58%, rgba(232, 241, 248, .08) 100%),
    var(--dept-hero-image, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.dept-welcome__copy {
  position: relative;
  z-index: 1;
  padding: 44px 40px;
  max-width: 560px;
}
.dept-welcome__copy h1 {
  margin: 0 0 18px;
  color: #14293c;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 14ch;
}
.dept-welcome__quote {
  margin: 0 0 8px;
  position: relative;
  padding-left: 28px;
  max-width: 48ch;
}
.dept-welcome__quote-mark {
  position: absolute;
  left: 0;
  top: -6px;
  color: rgba(140, 170, 195, .85);
  font-size: 42px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}
.dept-welcome__quote p {
  margin: 0;
  color: #4d5f70;
  font-size: 15px;
  line-height: 1.65;
}
.dept-welcome__more {
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  margin: 8px 0 22px 28px;
  color: #2f7fbf;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.dept-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.dept-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.dept-btn--primary {
  background: #1a4d6d;
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 77, 109, .28);
}
.dept-btn--primary:hover {
  background: #143d59;
  color: #fff;
}
.dept-btn--ghost {
  background: #fff;
  border-color: #cfd8e3;
  color: #243746;
}
.dept-btn--ghost:hover {
  border-color: #9bb6d1;
  color: var(--dept-navy);
}

/* Lower: left = stats+vm, right = announce+links */
.dept-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, .78fr);
  gap: 16px;
  align-items: start;
}
.dept-lower__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.dept-lower__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.dept-stats { margin: 0; }
.dept-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dept-stat {
  background: #fff;
  border: 1px solid var(--dept-line);
  border-radius: 16px;
  padding: 22px 12px 18px;
  text-align: center;
  box-shadow: var(--dept-card-shadow);
}
.dept-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #e8f1f8;
  position: relative;
}
.dept-stat__icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #1f5678;
  border-radius: 3px;
}
.dept-stat__icon--users::before { border-radius: 50%; }
.dept-stat__icon--grad::before { border-radius: 2px 2px 8px 8px; width: 17px; }
.dept-stat__icon--book::before { border-left-width: 4px; width: 13px; }
.dept-stat strong {
  display: block;
  font-size: 1.7rem;
  color: #163a56;
  line-height: 1.05;
  font-weight: 800;
}
.dept-stat span:last-child {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8a96a3;
  text-transform: uppercase;
}

.dept-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dept-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid var(--dept-line);
  border-radius: 16px;
  padding: 20px 20px 24px;
  margin: 0;
  min-height: 150px;
  box-shadow: var(--dept-card-shadow);
}
.dept-panel h2 {
  margin: 10px 0 10px;
  color: var(--dept-navy);
  font-size: 1.1rem;
  font-weight: 800;
}
.dept-panel p {
  margin: 0;
  color: #5a6b7b;
  line-height: 1.6;
  font-size: 14.5px;
}
.dept-panel__icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e4eef7;
  position: relative;
}
.dept-panel__icon--vision::before,
.dept-panel__icon--mission::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid #1f5678;
  border-radius: 50%;
}
.dept-panel__icon--vision::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 4px;
  height: 4px;
  background: #1f5678;
  border-radius: 50%;
}
.dept-panel__icon--mission::after {
  content: "";
  position: absolute;
  inset: 13px;
  background: #1f5678;
  border-radius: 50%;
}

.dept-side-card {
  background: #fff;
  border: 1px solid var(--dept-line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--dept-card-shadow);
}
.dept-side-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 8px;
  background: transparent;
  border: 0;
}
.dept-side-card__head h3 {
  margin: 0;
  color: var(--dept-navy);
  font-size: .98rem;
  font-weight: 800;
}
.dept-side-card__glyph {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}
.dept-side-card__glyph--bell::before {
  content: "";
  position: absolute;
  inset: 2px 3px 1px;
  border: 2px solid #1f5678;
  border-radius: 8px 8px 4px 4px;
}
.dept-side-card__glyph--link::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #1f5678;
  border-radius: 999px;
  transform: rotate(-35deg);
}
.dept-side-card ul {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px;
}
.dept-side-card li { border-top: 1px solid #e8eef5; }
.dept-side-card li:first-child { border-top: 0; }
.dept-side-card__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  color: #2a3b4c;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
}
.dept-side-card__links a:hover {
  color: var(--dept-navy);
  background: #f4f8fb;
}

.dept-announce {
  position: relative;
  min-height: 64px;
  padding: 8px 14px 16px;
}
.dept-announce__item {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #d9e4ef;
  background: #f7fafc;
  color: #4d5f70;
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  text-decoration: none;
}
.dept-announce__item.is-active {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dept-announce__item:hover { color: #4d5f70; }
.dept-announce__arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  position: relative;
}
.dept-announce__arrow::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #2f7fbf;
  border-bottom: 2px solid #2f7fbf;
  transform: rotate(45deg);
}
.dept-announce__dots { display: none; }

/* Department about modal */
html.dept-modal-open {
  overflow: hidden;
}
.dept-modal[hidden] {
  display: none !important;
}
.dept-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dept-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 48, .45);
  backdrop-filter: blur(2px);
}
.dept-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 36, 56, .28);
  outline: none;
}
.dept-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e6edf3;
}
.dept-modal__head h2 {
  margin: 0;
  color: #163a56;
  font-size: 1.2rem;
  font-weight: 800;
}
.dept-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f3f6f9;
  color: #445466;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.dept-modal__close:hover {
  background: #e8eef4;
  color: #163a56;
}
.dept-modal__body {
  padding: 18px 22px 26px;
}
.dept-modal__body h3 {
  margin: 0 0 14px;
  color: #163a56;
  font-size: 1.05rem;
  font-weight: 800;
}
.dept-modal__block {
  margin: 0;
  padding: 4px 0 4px 16px;
  border-left: 4px solid #1f7a8a;
}
.dept-modal__block strong {
  display: block;
  margin-bottom: 8px;
  color: #243746;
  font-size: 15px;
}
.dept-modal__block p {
  margin: 0;
  color: #5a6b7b;
  line-height: 1.65;
  font-size: 14.5px;
}
.dept-btn--ghost {
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 980px) {
  .dept-catalog__grid--3,
  .dept-catalog__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dept-lower,
  .dept-vm,
  .dept-stats__grid {
    grid-template-columns: 1fr;
  }
  .dept-welcome__copy h1 { max-width: none; }
}
@media (max-width: 560px) {
  .dept-catalog__grid--3,
  .dept-catalog__grid--4 { grid-template-columns: 1fr; }
  .dept-stats__grid { grid-template-columns: 1fr 1fr; }
  .dept-welcome__copy { padding: 24px 20px; }
  .dept-tabs__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
}
/* ---------- Gallery (bento style) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery .placeholder { border-radius: var(--r-md); min-height: 100%; }
.gallery .placeholder:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .placeholder:nth-child(4) { grid-column: span 2; }
.gallery .placeholder:nth-child(6) { grid-column: span 2; }

/* ---------- Home Google Reviews ---------- */
.google-reviews {
  background:
    radial-gradient(720px 340px at 12% 14%, rgba(2, 175, 125, .1), transparent 62%),
    radial-gradient(660px 320px at 88% 86%, rgba(19, 177, 205, .1), transparent 62%),
    #f8fcfb;
  border-top: 1px solid #d8e9e6;
  border-bottom: 1px solid #d8e9e6;
  padding-top: 72px;
  padding-bottom: 74px;
}
.google-reviews__box {
  border: 2px dashed rgba(19, 177, 205, .55);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  padding: 34px 28px 30px;
  box-shadow: 0 18px 40px -28px rgba(34, 35, 36, .28);
}
.google-reviews__head {
  text-align: center;
  margin-bottom: 28px;
}
.google-reviews__head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 34px);
}
.google-reviews__head p {
  margin: 0;
  color: #5d6767;
  font-size: 16px;
}
.google-reviews__carousel {
  position: relative;
}
.google-reviews__slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.google-reviews__nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d5e4e3;
  background: #fff;
  color: #0f5161;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -16px rgba(34, 35, 36, .35);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  flex-shrink: 0;
}
.google-reviews__nav svg {
  width: 20px;
  height: 20px;
}
.google-reviews__nav:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #13b1cd;
  box-shadow: 0 14px 28px -16px rgba(34, 35, 36, .4);
}
.google-reviews__nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.google-reviews__layout {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.google-reviews__summary,
.google-reviews__card {
  background: #fff;
  border: 1px solid #d5e4e3;
  border-radius: 18px;
  box-shadow: 0 14px 28px -20px rgba(34, 35, 36, .35);
}
.google-reviews__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px 20px;
}
.google-reviews__google-logo {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
.google-reviews__google-logo svg {
  width: 100%;
  height: 100%;
}
.google-reviews__rating {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: #1f2a2a;
  margin-bottom: 8px;
}
.google-reviews__stars {
  display: flex;
  gap: 3px;
  justify-content: center;
}
.google-reviews__stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbc04;
}
.google-reviews__stars--sm svg {
  width: 14px;
  height: 14px;
}
.google-reviews__count {
  margin: 10px 0 16px;
  color: #5d6767;
  font-size: 14px;
}
.google-reviews__write {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 10px 14px;
}
.google-reviews__viewport {
  overflow: hidden;
  min-width: 0;
}
.google-reviews__track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.google-reviews__card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.google-reviews__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.google-reviews__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  background: linear-gradient(135deg, #02af7d 0%, #13b1cd 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin: 0;
}
.google-reviews__card-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}
.google-reviews__card-head > div span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #5d6767;
}
.google-reviews__text {
  margin: 0;
  color: #394343;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.google-reviews__ago {
  font-size: 12px;
  color: #7a8484;
}
.google-reviews__footer {
  margin-top: 26px;
  text-align: center;
}

/* ---------- Home Grievance Portal ---------- */
.grievance-section {
  background:
    radial-gradient(840px 380px at 10% 12%, rgba(50, 197, 183, .28), transparent 64%),
    radial-gradient(760px 340px at 88% 90%, rgba(67, 130, 247, .2), transparent 64%),
    linear-gradient(132deg, #0a2e39 0%, #0f5161 56%, #1c7675 100%);
  color: #eaf9f5;
  padding-top: 78px;
  padding-bottom: 78px;
}
.grievance {
  display: block;
}
.grievance__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.grievance .eyebrow {
  background: rgba(172, 255, 241, .16);
  color: #d9fff7;
}
.grievance h2 {
  color: #ffffff;
  margin-bottom: 10px;
}
.grievance__content p {
  color: #d9f2ec;
  margin-bottom: 18px;
  font-size: 16px;
}
.grievance__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.grievance-btn-ghost {
  border: 1px solid rgba(172, 255, 241, .72);
  color: #d8fff5;
  background: rgba(10, 35, 40, .32);
}
.grievance-btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
}
.grievance__cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.grievance-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid rgba(183, 255, 244, .32);
  background: rgba(255, 255, 255, .14);
  color: #f4fffb;
  box-shadow: 0 20px 30px -24px rgba(0, 0, 0, .5);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.grievance-card:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .22);
  border-color: rgba(204, 255, 238, .72);
  transform: translateY(-3px);
}
.grievance-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(8, 34, 40, .42);
  border: 1px solid rgba(180, 255, 243, .4);
}
.grievance-card__icon svg {
  width: 18px;
  height: 18px;
}
.grievance-card h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.grievance-card p {
  margin: 0;
  font-size: 13px;
  color: #d2f0e8;
  line-height: 1.45;
}
.grievance-card span {
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #d8fff5;
  text-transform: uppercase;
}

/* ---------- Contact Page ---------- */
.contact-page {
  background: linear-gradient(180deg, #f5f9f9 0%, #ecf4f3 100%);
}
.contact-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(740px 280px at 15% 20%, rgba(19, 177, 205, .2), transparent 60%),
    radial-gradient(720px 260px at 85% 90%, rgba(2, 175, 125, .2), transparent 62%),
    linear-gradient(125deg, #103b44 0%, #0a5d61 56%, #167b73 100%);
  color: #eafff8;
  padding: 68px 0 74px;
}
.contact-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  color: #ffffff;
}
.contact-hero p {
  margin: 0;
  font-size: 18px;
  max-width: 820px;
  color: #d9f4ec;
}
.contact-wrap {
  padding: 42px 0 78px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: start;
}
.contact-card {
  background: #ffffff;
  border: 1px solid #d8e3e2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 28px -24px rgba(34, 35, 36, .45);
}
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #132626;
}
.contact-lead {
  margin: 0 0 18px;
  color: #4b5d5b;
  font-size: 15px;
}
.contact-list {
  display: grid;
  gap: 10px;
}
.contact-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d8e5e3;
  background: #f7fcfb;
}
.contact-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #02af7d 0%, #13b1cd 100%);
  color: #ffffff;
}
.contact-item__icon svg {
  width: 18px;
  height: 18px;
}
.contact-item strong {
  display: block;
  font-size: 16px;
  color: #152c2c;
  margin-bottom: 3px;
}
.contact-item p {
  margin: 0;
  color: #5a6968;
  font-size: 14px;
  line-height: 1.45;
}
.contact-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-directory {
  margin-top: 16px;
  border: 1px solid #d8e5e3;
  border-radius: 14px;
  overflow: hidden;
}
.contact-directory table {
  width: 100%;
  border-collapse: collapse;
}
.contact-directory th,
.contact-directory td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e4efee;
  font-size: 14px;
}
.contact-directory th {
  background: #f0f8f6;
  color: #1f3938;
  font-weight: 700;
}
.contact-directory tr:last-child td { border-bottom: 0; }
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d8e5e3;
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
.contact-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #eaf8f4;
  border: 1px solid #cbe8e0;
  color: #21554d;
  font-size: 14px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 40px 0 80px;
}
.cta__inner {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: meshShift 14s ease infinite;
  color: #fff;
  border-radius: var(--r-xl);
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
@keyframes meshShift { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
.cta__inner h2 { color: #fff; margin: 0 0 10px; }
.cta__inner p { color: #dbe5ff; margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background:
    radial-gradient(600px 260px at 15% 10%, rgba(0, 208, 164, .08), transparent 60%),
    linear-gradient(180deg, #053b35 0%, #032e2a 100%);
  color: #cfe5de;
  padding: 82px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 64px;
  padding-bottom: 58px;
}
.footer__links-wrap {
  border-right: 1px solid rgba(255,255,255,.2);
  padding-right: 50px;
}
.footer__links-title,
.footer__about-title {
  color: #00d0a4;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}
.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}
.footer__about-title {
  text-align: left;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 15px; }
.footer a { color: #d8ebe5; font-size: 15px; line-height: 1.45; }
.footer a:hover { color: #ffffff; }
.footer__about p {
  margin: 0 0 30px;
  color: #d4e6e1;
  font-size: 16px;
  line-height: 1.8;
  max-width: 420px;
}
.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 226px;
  padding: 16px 30px;
  border: 1px solid #00b18a;
  border-radius: 999px;
  color: #00d0a4;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 16px 36px -28px rgba(0, 209, 164, .6);
}
.footer__cta:hover {
  color: #ffffff;
  background: rgba(0, 209, 164, .08);
}
.footer__app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px;
  background: #121212;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
}
.footer__app:hover {
  color: #ffffff;
  background: #1d1d1d;
}
.footer__policies {
  margin-top: 22px;
}
.footer__policies h6 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9fd9c9;
}
.footer__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer__policy-links a {
  color: #d7ebe4;
  font-size: 13px;
  font-weight: 600;
}
.footer__policy-links a:hover { color: #00d0a4; }
.visitor-counter {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #d7ebe4;
  cursor: default;
  font: inherit;
}
.visitor-counter__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d0a4;
  box-shadow: 0 0 0 0 rgba(0, 208, 164, .55);
  animation: visitorPulse 1.8s ease-out infinite;
}
.visitor-counter__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9fd9c9;
}
.visitor-counter__value {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
}
@keyframes visitorPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 208, 164, .55); }
  70% { box-shadow: 0 0 0 10px rgba(0, 208, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 208, 164, 0); }
}
.home-video { background: #f3faf8; }
.home-video__head,
.home-reach__content {
  max-width: 720px;
  margin-bottom: 28px;
}
.home-video__head h2,
.home-reach__content h2 { margin-top: 8px; }
.home-video__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-video__card {
  background: #fff;
  border: 1px solid #d9e6e4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.home-video__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f1c22;
}
.home-video__embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.home-video__body { padding: 16px 18px 18px; }
.home-video__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink);
}
.home-video__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.home-reach {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf9 100%);
}
.home-reach__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}
.home-reach__address {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 3px solid #02af7d;
  background: #eef8f5;
  color: #2d4550;
  font-weight: 600;
}
.home-reach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-reach__map {
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d9e6e4;
  box-shadow: var(--shadow-md);
  background: #dfe9e7;
}
.home-reach__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .visitor-counter__pulse { animation: none; }
  .hero__slide { transition: none; }
  .announce__track { animation: none; }
}
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text span { color: #b9c3e0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; font-size: 13px;
}
.footer__bottom-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.footer__bottom-row span {
  color: #00d0a4;
  font-size: 14px;
}
.footer__bottom-row span:last-child {
  color: #bcd7d1;
  text-align: right;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-size: 20px;
  box-shadow: var(--shadow-glow);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: all var(--t);
  z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .navbar__inner { min-height: 0; padding: 0; }
  .navbar { background: #fff; border-bottom: 1px solid #e2e8f0; }
  .navbar__search { margin-left: 0; padding: 6px 0; }
  .navbar__search-btn { color: var(--header-nav); width: 42px; height: 42px; }
  .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(10,18,48,.5);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
    z-index: 80;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(360px, 92vw);
    height: 100vh; height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px -20px rgba(10,18,48,.35);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
    overflow-y: auto;
    z-index: 90;
    padding: 70px 0 24px;
    max-height: none;
  }
  .nav.open { transform: translateX(0); }
  .nav__close {
    display: grid;
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; border-radius: 12px;
    border: 0; background: #eef2fb; color: var(--ink);
    font-size: 22px; cursor: pointer;
    place-items: center;
  }
  .nav ul { flex-direction: column; padding: 12px; gap: 2px; align-items: stretch; }
  .nav > ul > li > a {
    padding: 12px 16px;
    font-size: 15px;
    display: block;
    min-height: 0;
    color: #1f2937;
  }
  .nav > ul > li > a.active {
    background: var(--header-nav-active);
    color: #fff;
  }
  .nav .submenu {
    position: static; display: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line);
    border-radius: 0; padding: 4px 0 4px 12px;
    margin: 4px 0 4px 12px;
    background: transparent;
  }
  .has-sub:hover .submenu { display: none; }
  .has-sub.open .submenu { display: flex; }
  .has-sub.is-open > a { background: #e7f7f1; color: var(--header-link); }
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .topbar { font-size: 12px; }
  .topbar__inner { padding: 0; gap: 12px; }
  .topbar__left { gap: 8px 12px; }
  .topbar__right { gap: 6px 10px; }
  .brand__logo { width: 170px; height: 52px; }
  .brandbar__inner { padding: 0; gap: 14px; }
  .brand-portrait { width: 100px; }
  .brand-ribbon__years em { font-size: 18px; }
  .brand-ribbon__copy strong { font-size: 11px; }
  .brand-ribbon__copy span { font-size: 9px; }
  .nav > ul > li > a {
    font-size: 11.5px;
    padding: 0 7px;
  }
}

@media (max-width: 960px) {
  .brandbar {
    min-height: 0;
    background: #eef8f5;
  }
  .brandbar__inner {
    padding: 12px 0;
    gap: 12px;
    min-height: 0;
  }
  .brandbar__aside { margin-right: 0; }
  .brandbar__inner { padding-right: 0; }
  .brand__logo { width: 150px; height: 46px; }
  .brand__text strong { font-size: 14px; }
  .brand__text strong span { white-space: normal; }
  .brand__text em { font-size: 11px; }
  .brand-portrait { display: none; }
  .brand-ribbon { display: none; }
  .brand-portrait { display: none; }
  .brandbar::before { display: none; }
  .topbar__label,
  .topbar__skip,
  .topbar__theme span,
  .topbar__contact span { display: none; }

  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .grid-2--reverse > div:first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .placeholder:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .google-reviews { padding-top: 64px; padding-bottom: 66px; }
  .google-reviews__layout { grid-template-columns: 1fr; }
  .google-reviews__summary { max-width: 320px; margin: 0 auto; width: 100%; }
  .google-reviews__card { flex-basis: calc((100% - 16px) / 2); }
  .home-video__grid { grid-template-columns: 1fr; }
  .home-reach__grid { grid-template-columns: 1fr; }
  .grievance__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grievance-section { padding-top: 66px; padding-bottom: 66px; }
  .quick-shortcuts {
    right: 10px;
    top: auto;
    bottom: 88px;
    transform: none;
    gap: 8px;
  }
  .quick-shortcut {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__links-wrap { border-right: 0; padding-right: 0; }
  .footer__links-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom-row { grid-template-columns: 1fr; justify-items: start; }
  .cta__inner { padding: 40px 26px; }
  .topbar__tools { order: -1; }
  .hero__overlay { padding: 60px 0 90px; }
  .hero__slides { min-height: 840px; }

  .highlight-links { padding: 72px 0 78px; }
  .highlight-links__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hl-item {
    min-height: 188px;
    padding: 16px;
  }
  .hl-item h4 {
    min-height: auto;
    font-size: 16px;
  }

  .latest-updates__grid { grid-template-columns: 1fr; gap: 16px; }
  .updates-card { min-height: 0; }
  .updates-scroll { max-height: 320px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; transform: translateY(-40px); padding: 16px; }
  .google-reviews__box { padding: 26px 16px 22px; }
  .google-reviews__card { flex-basis: 100%; }
  .hero__img { opacity: .28; }
  .quick-shortcut {
    width: 38px;
    height: 38px;
  }
  .contact-wrap { padding: 30px 0 64px; }
  .contact-card { padding: 16px; }
  .contact-item { grid-template-columns: 1fr; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .contact-directory th,
  .contact-directory td { padding: 10px 9px; font-size: 13px; }
  .grievance__actions { flex-direction: column; }
  .grievance__actions .btn {
    justify-content: center;
    width: 100%;
  }
  .grievance__cards { grid-template-columns: 1fr; }
  .footer__links-grid { grid-template-columns: 1fr; }
  .footer__about-title { font-size: 24px; }
  .footer__cta { width: 100%; }
  .footer__app { width: 100%; justify-content: center; }
  .news-list li { grid-template-columns: 1fr !important; gap: 6px; padding: 14px 16px; }
  .tabs { width: 100%; overflow-x: auto; }

  .highlight-links { padding: 60px 0 66px; }
  .highlight-links__title { margin-bottom: 24px; }
  .highlight-links__grid { grid-template-columns: 1fr; gap: 10px; }
  .hl-item {
    min-height: 0;
    padding: 14px;
  }
  .hl-item__icon { width: 48px; height: 48px; }
  .hl-item__icon svg { width: 22px; height: 22px; }
  .hl-item h4 { font-size: 15px; }
  .hl-item__btn { font-size: 11px; padding: 7px 12px; }

  .updates-card { border-radius: 10px; }
  .updates-card__head { font-size: 13px; padding: 12px 12px; }
  .updates-scroll { max-height: 280px; padding: 6px 12px 0; }
  .updates-meta { font-size: 12px; }
  .updates-link { font-size: 15px; }
  .updates-readmore { font-size: 12px; padding: 9px 20px; margin-bottom: 14px; }
}

@media (min-width: 961px) {
  .updates-link { font-size: clamp(13px, 0.82vw, 17px); }
}

/* ---------- Decorative section shapes ---------- */
.section--shapes { position: relative; overflow: hidden; }
.section--shapes > .container { position: relative; z-index: 2; }
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape--tl { top: -80px; left: -80px; }
.shape--tr { top: -100px; right: -80px; }
.shape--bl { bottom: -80px; left: -60px; }
.shape--br { bottom: -120px; right: -80px; }
.shape--blob {
  width: 380px; height: 380px;
  background: var(--grad-primary);
  filter: blur(70px);
  opacity: .18;
  border-radius: 50% 40% 60% 40% / 50% 60% 40% 50%;
  animation: blob 14s ease-in-out infinite alternate;
}
.shape--ring {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px dashed rgba(30,58,138,.28);
  opacity: .6;
  animation: spin 60s linear infinite;
}
.shape--ring::after {
  content: ""; position: absolute; inset: 30px;
  border-radius: 50%;
  border: 1.5px dashed rgba(236,72,153,.32);
}
.shape--dots {
  width: 220px; height: 220px;
  background-image: radial-gradient(rgba(30,58,138,.4) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
@keyframes blob {
  0% { transform: translate(0,0) rotate(0deg); border-radius: 50% 40% 60% 40% / 50% 60% 40% 50%; }
  100% { transform: translate(20px,-30px) rotate(20deg); border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Modern card icons (override) ---------- */
.card { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(236,72,153,.14));
  color: var(--primary);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(30,58,138,.12);
  transition: all var(--t);
}
.card__icon::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad-primary);
  opacity: 0; transition: opacity var(--t);
}
.card__icon svg {
  width: 26px; height: 26px;
  position: relative; z-index: 1;
  transition: color var(--t), transform var(--t);
}
.card:hover .card__icon { box-shadow: 0 14px 26px -10px rgba(30,58,138,.45); }
.card:hover .card__icon::before { opacity: 1; }
.card:hover .card__icon svg { color: #fff; transform: scale(1.08); }
.card h4 { font-size: 16px; margin: 0; line-height: 1.35; font-weight: 700; }
.card span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  margin-top: auto;
}
.card span svg { width: 16px; height: 16px; transition: transform var(--t); }
.card:hover span svg { transform: translateX(4px); }

.nav__close { display: none; }
@media (max-width: 960px) { .nav__close { display: grid; } }

/* ---------- Committee page ---------- */
.committee-page {
  padding: 36px 0 64px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(11, 61, 110, .04) 23px, rgba(11, 61, 110, .04) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(11, 61, 110, .04) 23px, rgba(11, 61, 110, .04) 24px),
    #f7fbfe;
}
.committee-page__head {
  text-align: center;
  margin-bottom: 28px;
}
.committee-page__head h1 {
  margin: 0;
  display: inline-block;
  color: #0b3d6e;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 3px solid #145a9c;
}
.committee-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
}
.committee-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.committee-table th,
.committee-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}
.committee-table th {
  font-size: 13px;
  font-weight: 800;
  color: #17324b;
  border-bottom: 1px solid #c8d4dc;
}
.committee-table th:last-child,
.committee-table td:last-child {
  text-align: right;
  width: 120px;
}
.committee-table tbody tr {
  background: rgba(255, 255, 255, .72);
}
.committee-table tbody tr:nth-child(even) {
  background: #eef2f5;
}
.committee-table td {
  font-size: 15px;
  color: #243746;
  border-bottom: 1px solid #e4ebf0;
}
.committee-table a {
  color: #1d6eae;
  font-weight: 700;
  text-decoration: underline;
}
.committee-table a:hover {
  color: #0b3d6e;
}

/* ---------- Grievance PDF page ---------- */
.grievance-page {
  padding: 36px 0 64px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(11, 61, 110, .04) 23px, rgba(11, 61, 110, .04) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(11, 61, 110, .04) 23px, rgba(11, 61, 110, .04) 24px),
    #f7fbfe;
}
.grievance-page__head {
  text-align: center;
  margin-bottom: 24px;
}
.grievance-page__head h1 {
  margin: 0;
  display: inline-block;
  color: #0b3d6e;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 3px solid #145a9c;
}
.grievance-page__viewer {
  background: #fff;
  border: 1px solid #d5e0ea;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 61, 110, .08);
  min-height: 720px;
}
.grievance-page__viewer iframe {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  min-height: 640px;
  border: 0;
  background: #525659;
}
.grievance-page__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 18px;
}
.grievance-page__link {
  color: #1d6eae;
  font-weight: 700;
  text-decoration: underline;
  font-size: 15px;
}
.grievance-page__link:hover {
  color: #0b3d6e;
}
.grievance-page__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 8px;
  background: #4b5563;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.grievance-page__download:hover {
  background: #374151;
  color: #fff;
}

/* legacy numbered list (unused on new page, keep safe) */
.committee-list-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 24px;
  text-align: center;
}
.committee-list-panel__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: .06em;
  color: #17324b;
  text-transform: uppercase;
}
.committee-list-panel__rule {
  width: min(100%, 520px);
  height: 1px;
  margin: 18px auto 28px;
  background: #c8d4dc;
}
.committee-list {
  margin: 0 auto;
  padding-left: 1.4rem;
  max-width: 420px;
  text-align: left;
  list-style: decimal;
  color: #17324b;
  font-size: 17px;
  line-height: 1.65;
}
.committee-list li { margin-bottom: 10px; }
.committee-list a {
  color: #0d8f6a;
  text-decoration: none;
  font-weight: 500;
}
.committee-list a:hover { color: #02af7d; text-decoration: underline; }

/* ---------- PDF viewer ---------- */
.pdf-viewer {
  background: #fff;
  border: 1px solid #dbe6e6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pdf-viewer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid #e4ecec;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}
.pdf-viewer__title {
  margin: 0;
  font-size: 20px;
  color: #17324b;
}
.pdf-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pdf-viewer__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #b8d9cf;
  background: #e9f8f3;
  color: #0b7a5c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.pdf-viewer__link:hover {
  background: #d8f2e8;
  color: #056b4f;
}
.pdf-viewer__frame-wrap {
  position: relative;
  background: #525659;
  min-height: 72vh;
}
.pdf-viewer__frame {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  border: 0;
  background: #525659;
}

/* ---------- Institute dashboard tables ---------- */
.institute-dashboard {
  display: grid;
  gap: 28px;
}
.institute-dashboard__note {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px dashed #9ec9bb;
  background: #f3fbf8;
  color: #356052;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.institute-dashboard__cms {
  display: grid;
  gap: 28px;
}
.institute-dashboard__cms .cms-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.institute-dashboard__cms .cms-content > h2 {
  margin: 28px 0 0;
  padding: 16px 18px;
  font-size: 18px;
  color: #17324b;
  border: 1px solid #dbe6e6;
  border-bottom: 1px solid #e4ecec;
  border-radius: 18px 18px 0 0;
  background: #f9fcfc;
}
.institute-dashboard__cms .cms-content > h2:first-child {
  margin-top: 0;
}
.institute-dashboard__cms .cms-content > h2 + table {
  margin: 0 0 28px;
  border-radius: 0 0 18px 18px;
  border-top: 0;
  box-shadow: var(--shadow-sm);
}
.institute-dashboard__cms .cms-content > table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dbe6e6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  margin: 0 0 28px;
}
.institute-dashboard__cms .cms-content > table:last-child,
.institute-dashboard__cms .cms-content > h2 + table:last-child {
  margin-bottom: 0;
}
.institute-dashboard__cms .cms-content th,
.institute-dashboard__cms .cms-content td {
  border: 1px solid #e4ecec;
  padding: 10px 14px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.institute-dashboard__cms .cms-content th {
  background: #f3f7f7;
  color: #17324b;
  font-weight: 700;
}
.institute-dashboard__cms .cms-content td:first-child,
.institute-dashboard__cms .cms-content th:first-child {
  text-align: left;
  font-weight: 600;
}
.institute-dashboard__cms .cms-content tbody td:not(:first-child) {
  color: #c0392b;
  font-weight: 600;
  text-align: center;
}
.institute-dashboard__table-wrap {
  background: #fff;
  border: 1px solid #dbe6e6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.institute-dashboard__table-title {
  margin: 0;
  padding: 16px 18px;
  font-size: 18px;
  color: #17324b;
  border-bottom: 1px solid #e4ecec;
  background: #f9fcfc;
}
.institute-dashboard__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.institute-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.institute-dashboard__table th,
.institute-dashboard__table td {
  padding: 10px 14px;
  border: 1px solid #e4ecec;
  text-align: center;
  white-space: nowrap;
}
.institute-dashboard__table th {
  background: #f3f7f7;
  color: #17324b;
  font-weight: 700;
}
.institute-dashboard__table td:first-child,
.institute-dashboard__table th:first-child {
  text-align: left;
  font-weight: 600;
}
.institute-dashboard__table tbody td:not(:first-child) {
  color: #c0392b;
  font-weight: 600;
}

/* ---------- Facility carousel & content ---------- */
.facility-page {
  display: grid;
  gap: 24px;
}
.facility-carousel {
  position: relative;
  background: #0d1418;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dbe6e6;
  box-shadow: var(--shadow-sm);
}
.facility-carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  background: #111;
}
.facility-carousel__track {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}
.facility-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.facility-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.facility-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.facility-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(13, 20, 24, .92);
}
.facility-carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.facility-carousel__btn:hover { background: rgba(0, 0, 0, .55); }
.facility-carousel__btn:focus-visible {
  outline: 2px solid #13b1cd;
  outline-offset: 2px;
}
.facility-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.facility-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
}
.facility-carousel__dot.is-active { background: #13b1cd; }
.facility-carousel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.facility-page__content h2,
.facility-page__content h3 {
  color: #17324b;
}
.facility-page__content h3 { margin-top: 20px; }
.facility-page__disclaimer {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 13px;
  color: #66737d;
  font-style: italic;
}
.facility-pdf-links {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}
.facility-pdf-links a {
  color: #0d8f6a;
  text-decoration: none;
  font-weight: 600;
}
.facility-pdf-links a:hover { text-decoration: underline; }

/* CMS rich text (lists, tables) */
.cms-content {
  color: #243b4a;
  line-height: 1.7;
}
.cms-content > *:first-child { margin-top: 0; }
.cms-content > *:last-child { margin-bottom: 0; }
.cms-content p { margin: 0 0 12px; }
.cms-content h1,
.cms-content h5,
.cms-content h6,
.cms-content h2,
.cms-content h3,
.cms-content h4 {
  color: #17324b;
  margin: 18px 0 10px;
  line-height: 1.3;
}
.cms-content ul,
.cms-content ol {
  margin: 0 0 14px;
  padding-left: 1.35rem;
  display: grid;
  gap: 6px;
}
.cms-content li { margin: 0; }
.cms-content a {
  color: #0d8f6a;
  font-weight: 600;
  text-decoration: none;
}
.cms-content a:hover { text-decoration: underline; }
.cms-content blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid #13b1cd;
  background: rgba(19, 177, 205, .06);
  color: #3a4f5c;
}
.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #dbe6e6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cms-content th,
.cms-content td {
  border: 1px solid #e4ecec;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.cms-content thead th,
.cms-content th {
  background: #f3f7f7;
  color: #17324b;
  font-weight: 700;
}
.cms-content tbody tr:nth-child(even) td {
  background: #f8fbfc;
}
.cms-content hr {
  border: 0;
  border-top: 1px solid #d7e2e8;
  margin: 18px 0;
}

@media (max-width: 960px) {
  .pdf-viewer__frame-wrap,
  .pdf-viewer__frame {
    min-height: 420px;
    height: 58vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .facility-carousel__slide { transition: none; }
}

/* Structured doc pages */
.structured-page {
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
}
.structured-page__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.structured-page__stat {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
  border: 1px solid #cfe6df;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.structured-page__stat strong {
  display: block;
  color: #0b6f57;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}
.structured-page__stat span {
  display: block;
  margin-top: 6px;
  color: #5f6f79;
  font-size: 13px;
}
.structured-page__sections {
  display: grid;
  gap: 16px;
}
.structured-page__card {
  background: #fff;
  border: 1px solid #d9e3e3;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.structured-page__card h2 {
  margin: 0 0 10px;
  color: #17324b;
  font-size: clamp(18px, 2vw, 22px);
}
.structured-page__card p {
  margin: 0 0 10px;
  color: #5a6670;
  font-size: 14px;
  line-height: 1.65;
}
.structured-page__list {
  margin: 0;
  padding-left: 18px;
  color: #5a6670;
  font-size: 14px;
  line-height: 1.7;
}
.structured-page__defs {
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.structured-page__defs > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 8px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8efef;
}
.structured-page__defs dt {
  margin: 0;
  color: #17324b;
  font-weight: 700;
  font-size: 13px;
}
.structured-page__defs dd {
  margin: 0;
  color: #5a6670;
  font-size: 14px;
}
.structured-page__actions {
  margin: 14px 0 0;
}
.structured-page__links {
  margin-top: 2px;
}
.structured-page__table-wrap {
  overflow: hidden;
}
.structured-page__table-scroll {
  overflow-x: auto;
}
.structured-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.structured-page__table th,
.structured-page__table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e4ecec;
  color: #44515a;
}
.structured-page__table th {
  background: #f3f7f7;
  color: #17324b;
  font-weight: 700;
}
.structured-page__map {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9e3e3;
  min-height: 320px;
}
.structured-page__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}
.structured-page__note {
  margin: 0;
  color: #66737d;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .structured-page__defs > div {
    grid-template-columns: 1fr;
  }
  .structured-page__map iframe {
    height: 280px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .facility-carousel__slide { transition: none; }
}

/* ============================================================
   Dark mode — full page content / sections
   ============================================================ */
html[data-theme="dark"] .page-hero-lite,
html[data-theme="dark"] .contact-hero,
html[data-theme="dark"] .mandatory-hero {
  background:
    linear-gradient(135deg, rgba(8, 27, 45, .96) 0%, rgba(10, 58, 76, .92) 42%, rgba(13, 140, 108, .88) 100%);
  color: #fff;
}
html[data-theme="dark"] .page-hero-lite h1,
html[data-theme="dark"] .contact-hero h1,
html[data-theme="dark"] .mandatory-hero h1 { color: #fff; }
html[data-theme="dark"] .page-hero-lite p,
html[data-theme="dark"] .contact-hero p,
html[data-theme="dark"] .mandatory-hero p { color: rgba(255,255,255,.88); }

html[data-theme="dark"] .content-wrap,
html[data-theme="dark"] .contact-page,
html[data-theme="dark"] .mandatory-page,
html[data-theme="dark"] .committee-page,
html[data-theme="dark"] .grievance-page,
html[data-theme="dark"] .forms-list-wrap,
html[data-theme="dark"] .dept-page,
html[data-theme="dark"] .dept-catalog {
  background: transparent;
  color: var(--ink);
}

html[data-theme="dark"] .institute-shell,
html[data-theme="dark"] .institute-panel,
html[data-theme="dark"] .institute-sidecard,
html[data-theme="dark"] .institute-lead,
html[data-theme="dark"] .institute-media,
html[data-theme="dark"] .institute-metric,
html[data-theme="dark"] .institute-duo > * {
  color: var(--ink);
}
html[data-theme="dark"] .institute-panel,
html[data-theme="dark"] .institute-sidecard,
html[data-theme="dark"] .institute-metric {
  background: #122420;
  border-color: #2a403b;
  box-shadow: none;
}
html[data-theme="dark"] .institute-panel h2,
html[data-theme="dark"] .institute-panel h3,
html[data-theme="dark"] .institute-sidecard h3,
html[data-theme="dark"] .institute-metric strong {
  color: #f2fffb;
}
html[data-theme="dark"] .institute-panel p,
html[data-theme="dark"] .institute-sidecard p,
html[data-theme="dark"] .institute-list li,
html[data-theme="dark"] .institute-metric span,
html[data-theme="dark"] .eyebrow {
  color: #b7cdc6;
}
html[data-theme="dark"] .institute-chiplist span {
  background: #1a3530;
  border-color: #2f4d46;
  color: #d7efe8;
}

html[data-theme="dark"] .structured-page__stat,
html[data-theme="dark"] .structured-page__card,
html[data-theme="dark"] .structured-page__table-wrap {
  background: #122420;
  border-color: #2a403b;
  box-shadow: none;
}
html[data-theme="dark"] .structured-page__stat strong,
html[data-theme="dark"] .structured-page__card h2,
html[data-theme="dark"] .structured-page__defs dt,
html[data-theme="dark"] .structured-page__table th {
  color: #f2fffb;
}
html[data-theme="dark"] .structured-page__stat span,
html[data-theme="dark"] .structured-page__card p,
html[data-theme="dark"] .structured-page__list,
html[data-theme="dark"] .structured-page__defs dd,
html[data-theme="dark"] .structured-page__table td,
html[data-theme="dark"] .structured-page__note {
  color: #b7cdc6;
}
html[data-theme="dark"] .structured-page__stat {
  background: linear-gradient(180deg, #16332d 0%, #122420 100%);
}
html[data-theme="dark"] .structured-page__table th {
  background: #1a3530;
}
html[data-theme="dark"] .structured-page__defs > div {
  border-bottom-color: #2a403b;
}
html[data-theme="dark"] .structured-page__map {
  border-color: #2a403b;
}

html[data-theme="dark"] .content-card--link,
html[data-theme="dark"] a.content-card {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .content-card--link h3,
html[data-theme="dark"] a.content-card h3 { color: #f2fffb; }
html[data-theme="dark"] .content-card--link p,
html[data-theme="dark"] a.content-card p { color: #b7cdc6; }
html[data-theme="dark"] .content-card--link:hover,
html[data-theme="dark"] a.content-card:hover {
  border-color: #02af7d;
  background: #16332d;
}

html[data-theme="dark"] .btn--outline {
  border-color: #3d6a60;
  color: #9af0d4;
  background: transparent;
}
html[data-theme="dark"] .btn--outline:hover {
  background: #1a3530;
  color: #fff;
  border-color: #5eead4;
}

html[data-theme="dark"] .pdf-viewer,
html[data-theme="dark"] .grievance-page__viewer,
html[data-theme="dark"] .committee-table-wrap,
html[data-theme="dark"] .committee-list-panel {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .pdf-viewer__head {
  background: #16332d;
  border-bottom-color: #2a403b;
}
html[data-theme="dark"] .pdf-viewer__title,
html[data-theme="dark"] .committee-list-panel__title,
html[data-theme="dark"] .committee-page__head h1,
html[data-theme="dark"] .grievance-page__head h1,
html[data-theme="dark"] .forms-list-wrap h2 {
  color: #f2fffb;
}
html[data-theme="dark"] .pdf-viewer__link,
html[data-theme="dark"] .grievance-page__link,
html[data-theme="dark"] .committee-table a,
html[data-theme="dark"] .committee-list a,
html[data-theme="dark"] .forms-list a,
html[data-theme="dark"] .facility-pdf-links a {
  color: #5eead4;
}
html[data-theme="dark"] .pdf-viewer__link:hover,
html[data-theme="dark"] .grievance-page__link:hover,
html[data-theme="dark"] .committee-table a:hover,
html[data-theme="dark"] .committee-list a:hover,
html[data-theme="dark"] .forms-list a:hover {
  color: #99f6e4;
}
html[data-theme="dark"] .committee-table th {
  background: #1a3530;
  color: #f2fffb;
  border-color: #2a403b;
}
html[data-theme="dark"] .committee-table td {
  color: #d7efe8;
  border-color: #2a403b;
}
html[data-theme="dark"] .committee-table tbody tr:nth-child(even) {
  background: #16332d;
}
html[data-theme="dark"] .committee-list-panel__rule {
  background: #2a403b;
}
html[data-theme="dark"] .forms-list li,
html[data-theme="dark"] .forms-list span {
  color: #d7efe8;
}
html[data-theme="dark"] .grievance-page__download {
  background: linear-gradient(135deg, #02af7d 0%, #13b1cd 100%);
  color: #fff;
}

html[data-theme="dark"] .cms-content,
html[data-theme="dark"] .cms-body-block,
html[data-theme="dark"] .cms-empty-block {
  color: #d7efe8;
}
html[data-theme="dark"] .cms-content h2,
html[data-theme="dark"] .cms-content h3,
html[data-theme="dark"] .cms-content h4,
html[data-theme="dark"] .facility-page__content h2,
html[data-theme="dark"] .facility-page__content h3 {
  color: #f2fffb;
}
html[data-theme="dark"] .cms-content p,
html[data-theme="dark"] .cms-content li,
html[data-theme="dark"] .facility-page__content p,
html[data-theme="dark"] .facility-page__disclaimer {
  color: #b7cdc6;
}
html[data-theme="dark"] .cms-content a { color: #5eead4; }
html[data-theme="dark"] .cms-content th {
  background: #1a3530;
  color: #f2fffb;
  border-color: #2a403b;
}
html[data-theme="dark"] .cms-content td {
  color: #d7efe8;
  border-color: #2a403b;
  background: #122420;
}
html[data-theme="dark"] .cms-content tbody tr:nth-child(even) td {
  background: #16332d;
}
html[data-theme="dark"] .cms-content blockquote {
  border-left-color: #02af7d;
  color: #b7cdc6;
  background: #16332d;
}
html[data-theme="dark"] .cms-content hr {
  border-top-color: #2a403b;
}

html[data-theme="dark"] .institute-dashboard__note {
  color: #b7cdc6;
  background: #16332d;
  border-color: #2a403b;
}
html[data-theme="dark"] .institute-dashboard__cms .cms-content > h2,
html[data-theme="dark"] .institute-dashboard__table-title {
  color: #f2fffb;
}
html[data-theme="dark"] .institute-dashboard__cms .cms-content th,
html[data-theme="dark"] .institute-dashboard__table th {
  background: #1a3530;
  color: #f2fffb;
  border-color: #2a403b;
}
html[data-theme="dark"] .institute-dashboard__cms .cms-content td,
html[data-theme="dark"] .institute-dashboard__table td {
  border-color: #2a403b;
  color: #d7efe8;
  background: #122420;
}

html[data-theme="dark"] .facility-page__content.institute-panel,
html[data-theme="dark"] .facility-carousel {
  background: #122420;
  border-color: #2a403b;
}
html[data-theme="dark"] .facility-carousel__btn {
  background: rgba(0,0,0,.55);
  color: #fff;
}

html[data-theme="dark"] .dept-catalog__head h1,
html[data-theme="dark"] .dept-catalog__section > h2,
html[data-theme="dark"] .dept-catalog__phase h3 {
  color: #f2fffb;
}
html[data-theme="dark"] .dept-chip {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .dept-chip:hover {
  background: #16332d;
  border-color: #02af7d;
  color: #fff;
}
html[data-theme="dark"] .dept-welcome__copy h1,
html[data-theme="dark"] .dept-welcome__quote p {
  color: #fff;
}
html[data-theme="dark"] .dept-panel,
html[data-theme="dark"] .dept-side-card,
html[data-theme="dark"] .dept-stat {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .dept-panel h2,
html[data-theme="dark"] .dept-side-card__head h3,
html[data-theme="dark"] .dept-stat strong,
html[data-theme="dark"] .dept-modal__head h2,
html[data-theme="dark"] .dept-modal__body h3 {
  color: #f2fffb;
}
html[data-theme="dark"] .dept-panel p,
html[data-theme="dark"] .dept-stat span:last-child,
html[data-theme="dark"] .dept-announce__item,
html[data-theme="dark"] .dept-modal__block p,
html[data-theme="dark"] .dept-modal__block strong {
  color: #b7cdc6;
}
html[data-theme="dark"] .dept-side-card li {
  border-top-color: #2a403b;
}
html[data-theme="dark"] .dept-side-card__links a {
  color: #5eead4;
}
html[data-theme="dark"] .dept-side-card__links a:hover { color: #99f6e4; }
html[data-theme="dark"] .dept-announce__item:hover { color: #d7efe8; }
html[data-theme="dark"] .dept-modal__dialog {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .dept-modal__head {
  border-bottom-color: #2a403b;
}
html[data-theme="dark"] .dept-modal__close {
  color: #d7efe8;
}
html[data-theme="dark"] .dept-btn--ghost {
  border-color: #3d6a60;
  color: #9af0d4;
  background: transparent;
}

html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-directory,
html[data-theme="dark"] .contact-map,
html[data-theme="dark"] .contact-note {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .contact-card h3,
html[data-theme="dark"] .contact-item strong {
  color: #f2fffb;
}
html[data-theme="dark"] .contact-lead,
html[data-theme="dark"] .contact-item p,
html[data-theme="dark"] .contact-note {
  color: #b7cdc6;
}
html[data-theme="dark"] .contact-item {
  background: #16332d;
  border-color: #2a403b;
}
html[data-theme="dark"] .contact-directory th {
  background: #1a3530;
  color: #f2fffb;
  border-color: #2a403b;
}
html[data-theme="dark"] .contact-directory td {
  color: #d7efe8;
  border-color: #2a403b;
}

html[data-theme="dark"] .grievance-section,
html[data-theme="dark"] .grievance-card {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .grievance h2,
html[data-theme="dark"] .grievance-card h4 {
  color: #f2fffb;
}
html[data-theme="dark"] .grievance__content p,
html[data-theme="dark"] .grievance-card p {
  color: #b7cdc6;
}
html[data-theme="dark"] .grievance-card span {
  color: #5eead4;
}

html[data-theme="dark"] .camp-form-wrap {
  background:
    radial-gradient(600px 220px at 10% 0%, #16332d 0%, transparent 65%),
    #122420;
  border-color: #2a403b;
}
html[data-theme="dark"] .camp-form-title { color: #f2fffb; }
html[data-theme="dark"] .camp-form-subtitle,
html[data-theme="dark"] .camp-field { color: #9eb5ae; }
html[data-theme="dark"] .camp-field input {
  background: #0f1f1c;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] .camp-field input::placeholder { color: #6f8780; }

html[data-theme="dark"] .footer {
  background: #081411;
  border-top-color: #1e3530;
}
html[data-theme="dark"] .footer a { color: #c6e4db; }
html[data-theme="dark"] .footer a:hover { color: #fff; }
html[data-theme="dark"] .footer__about p,
html[data-theme="dark"] .footer__bottom-row span {
  color: #9eb5ae;
}

html[data-theme="dark"] .section h2,
html[data-theme="dark"] .section h3,
html[data-theme="dark"] .bento h3,
html[data-theme="dark"] .news-card h3,
html[data-theme="dark"] .notice-card h3 {
  color: #f2fffb;
}
html[data-theme="dark"] .section p,
html[data-theme="dark"] .bento p,
html[data-theme="dark"] .news-card p,
html[data-theme="dark"] .notice-card p {
  color: #b7cdc6;
}
html[data-theme="dark"] .bento,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .notice-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .home-card {
  background: #122420;
  border-color: #2a403b;
  color: #e8f5f1;
}

html[data-theme="dark"] details,
html[data-theme="dark"] summary {
  color: #e8f5f1;
}
html[data-theme="dark"] details {
  border-color: #2a403b;
}

html[data-theme="dark"] table {
  color: #d7efe8;
}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #0f1f1c;
  border-color: #2a403b;
  color: #e8f5f1;
}
html[data-theme="dark"] ::placeholder {
  color: #6f8780;
}

/* Dynamic content modules */
.content-tabs{display:flex;gap:.6rem;overflow-x:auto;margin-bottom:1.5rem;padding:.5rem;border-bottom:1px solid #dbe5e4;position:sticky;top:0;background:#fff;z-index:3}.content-tabs a{white-space:nowrap;padding:.7rem 1rem;border-radius:.5rem;color:#176f5b;font-weight:700}.content-tabs a:hover,.content-tabs a:focus-visible{background:#e8f5f1;outline:3px solid #f1a33c;outline-offset:2px}.tab-section{scroll-margin-top:6rem;margin-bottom:1.5rem}.faculty-grid,.scheme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.faculty-card img,.faculty-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:.5rem}.faculty-placeholder{display:grid;place-items:center;background:#dcece7;font-size:3rem;color:#176f5b}.notice-section{margin:2rem 0}.notice-list{display:grid;gap:1rem}.notice-list time{display:block;color:#5a6670;margin:.4rem 0}.notice-list a+a{margin-left:1rem}.scheme-card img{width:100%;height:150px;object-fit:cover;border-radius:.5rem}.about-essential{padding-bottom:0}:focus-visible{outline:3px solid #f1a33c!important;outline-offset:3px}@media(max-width:640px){.content-tabs{position:static}.faculty-grid,.scheme-grid{grid-template-columns:1fr}}
