@charset "UTF-8";
/* =====================================================================
   Government ITI Canning-I
   Public stylesheet — hand written, no framework
   ---------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout
   5.  Buttons & links
   6.  Top utility bar + accessibility toolbar
   7.  Masthead & navigation
   8.  Hero (video + fallback)
   9.  Notice ticker
   10. Quick access tiles
   11. Statistics strip
   12. Section furniture
   13. Cards
   14. Campus slider
   15. Notices / tabs
   16. Principal & about
   17. Call-to-action band
   18. Forms
   19. Tables & data
   20. Page header, breadcrumb, prose
   21. Gallery & lightbox
   22. Footer
   23. Utilities, reveal, back-to-top
   24. Accessibility modes
   25. Responsive
   26. Print
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------ */
:root {
  /* Brand — taken from the institute's own blue-and-white buildings */
  --navy-900: #06192f;
  --navy-800: #0a2544;
  --navy-700: #0f3157;
  --navy-600: #16406e;
  --blue-700: #11538f;
  --blue-600: #1668b3;
  --blue-500: #1f86d0;
  --blue-400: #4ea6e2;
  --blue-200: #b3daf5;
  --blue-100: #dceefb;
  --blue-50:  #eff7fd;

  --gold-700: #8a6408;
  --gold-600: #b4830c;
  --gold-500: #d9a21b;
  --gold-400: #edc154;
  --gold-100: #fbf0d4;

  --green-600: #17784f;
  --green-100: #dcf3e8;
  --red-600:   #b32424;
  --red-100:   #fbe4e4;

  /* Neutrals */
  --ink:       #14202d;
  --ink-soft:  #34465a;
  --muted:     #5e7285;
  --muted-2:   #8095a8;
  --line:      #dfe7ee;
  --line-soft: #edf2f7;
  --surface:   #ffffff;
  --surface-2: #f5f9fc;
  --surface-3: #eef4f9;

  /* Semantic */
  --bg:        var(--surface);
  --fg:        var(--ink);
  --accent:    var(--blue-600);
  --accent-ink:#ffffff;

  /* Type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans", Arial, sans-serif;
  --font-head: "Noto Serif", "Georgia", "Times New Roman", serif;
  --font-bn:   "Noto Sans Bengali", "Nirmala UI", var(--font-sans);

  --fs-base: 1rem;         /* changed by the accessibility toolbar */
  --lh-base: 1.7;

  /* Spacing scale */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.75rem; --sp-8: 3.5rem;
  --sp-9: 4.5rem;  --sp-10: 6rem;

  /* Radii & shadow */
  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-xl: 22px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(10, 37, 68, .06), 0 1px 3px rgba(10, 37, 68, .05);
  --sh-2: 0 2px 6px rgba(10, 37, 68, .07), 0 6px 16px rgba(10, 37, 68, .06);
  --sh-3: 0 4px 12px rgba(10, 37, 68, .09), 0 14px 34px rgba(10, 37, 68, .10);
  --sh-4: 0 10px 24px rgba(10, 37, 68, .12), 0 28px 60px rgba(10, 37, 68, .14);

  --container: 1240px;
  --container-narrow: 860px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .35s;
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;   /* fallback for older browsers */
  overflow-x: clip;     /* clips without creating a scroll container, so
                           position:sticky and smooth scrolling still work */
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--blue-200); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--navy-800); color: #fff;
  padding: .85rem 1.4rem; font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* Screen-reader-only */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Honeypot */
.hp-field { position: absolute !important; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.012em;
  color: var(--navy-800);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.18rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.22rem, 1.06rem + .65vw, 1.55rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; }
h5 { font-size: 1rem;   font-family: var(--font-sans); font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.03rem, .98rem + .3vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.75;
}

.bn { font-family: var(--font-bn); }

small, .text-sm { font-size: .875rem; }
.text-xs { font-size: .8rem; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }

/* [VERIFY] badge — only visible while EDITOR_MODE is on */
.verify-badge {
  background: var(--gold-100);
  border-bottom: 2px dotted var(--gold-600);
  padding: 0 .2em;
  border-radius: 3px 3px 0 0;
  color: inherit;
}
.verify-badge__tag {
  display: inline-block;
  margin-left: .35em;
  background: var(--gold-600);
  color: #fff;
  font-size: .62em;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .1em .45em;
  border-radius: var(--r-sm);
  vertical-align: middle;
  font-family: var(--font-sans);
  text-transform: uppercase;
}
.editor-note {
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  padding: .8rem 1rem;
  font-size: .9rem;
  color: var(--gold-700);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-4) 0;
}

/* ---------------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem); }
.section--tint  { background: var(--surface-2); }
.section--deep  { background: var(--navy-800); color: #dce8f2; }
.section--deep h2, .section--deep h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.flow-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr 1fr; align-items: center; }

/* ---------------------------------------------------------------------
   5. BUTTONS & LINKS
   ------------------------------------------------------------------ */
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }

.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-bd: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 .95rem/1.2 var(--font-sans);
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; flex: none; }

.btn--gold    { --btn-bg: var(--gold-500); --btn-bd: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); }
.btn--navy    { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--ghost   { --btn-bg: transparent; --btn-bd: currentColor; --btn-fg: var(--blue-700); }
.btn--ghost:hover { --btn-bg: var(--blue-50); }
.btn--on-dark { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.55); --btn-fg: #fff; backdrop-filter: blur(6px); }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.2); --btn-bd: #fff; }
.btn--sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--blue-700);
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 1.25rem; height: 1.25rem; vertical-align: middle; }

/* ---------------------------------------------------------------------
   6. TOP UTILITY BAR + ACCESSIBILITY TOOLBAR
   ------------------------------------------------------------------ */
.topbar {
  background: var(--navy-900);
  color: #b9cde0;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #cfe0ef; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__gov { display: flex; align-items: center; gap: .5rem; }
.topbar__gov strong { color: #fff; font-weight: 600; }

.topbar__tools { display: flex; align-items: center; gap: .3rem; }
.a11y-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #dbe8f3;
  width: 28px; height: 26px;
  border-radius: var(--r-sm);
  font: 600 .78rem/1 var(--font-sans);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.a11y-btn:hover, .a11y-btn[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.a11y-btn .icon { width: 15px; height: 15px; }
.topbar__divider { width: 1px; height: 18px; background: rgba(255,255,255,.18); margin-inline: .35rem; }
.topbar__social { display: flex; gap: .15rem; }

/* ---------------------------------------------------------------------
   7. MASTHEAD & NAVIGATION
   ------------------------------------------------------------------ */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); padding-block: .85rem;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark {
  width: 62px; height: 62px; flex: none;
  border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(.98rem, .88rem + .42vw, 1.24rem);
  line-height: 1.24;
  color: var(--navy-800);
  margin: 0;
  letter-spacing: -.01em;
}
.brand__bn { display: block; font-family: var(--font-bn); font-size: .8rem; color: var(--blue-700); line-height: 1.4; margin-top: .1rem; }
.brand__meta { display: block; font-size: .74rem; color: var(--muted); letter-spacing: .02em; margin-top: .15rem; }

.masthead__aside { display: flex; align-items: center; gap: .7rem; }
.masthead__emblems { display: flex; align-items: center; gap: .75rem; }
.masthead__emblem {
  height: 52px; width: auto; opacity: .95;
  border-radius: var(--r-sm);
}
.emblem-slot {
  height: 52px; min-width: 52px; padding: .3rem .6rem;
  border: 1px dashed var(--line); border-radius: var(--r-md);
  display: grid; place-items: center; text-align: center;
  font-size: .58rem; color: var(--muted-2); line-height: 1.25;
  background: var(--surface-2);
}

/* Search */
.searchbox { position: relative; }
.searchbox input[type="search"] {
  width: 200px; padding: .55rem .75rem .55rem 2.2rem;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font: inherit; font-size: .88rem; background: var(--surface-2);
  transition: width .25s var(--ease), border-color .2s, background .2s;
}
.searchbox input[type="search"]:focus { width: 250px; border-color: var(--blue-500); background: #fff; outline-offset: 1px; }
.searchbox .icon {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
  width: 1.05rem; height: 1.05rem; color: var(--muted); pointer-events: none;
}

/* Primary navigation */
.navbar {
  background: var(--navy-800);
  position: sticky; top: 0; z-index: 800;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow .25s var(--ease);
}
.navbar.is-stuck { box-shadow: var(--sh-3); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

.nav-toggle {
  display: none;
  background: transparent; border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; border-radius: var(--r-md);
  padding: .5rem .8rem; font: 600 .9rem var(--font-sans);
  align-items: center; gap: .5rem; cursor: pointer;
}

.nav { display: flex; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .3rem;
  padding: 0 .85rem; height: var(--header-h);
  color: #cddced; font-size: .9rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .18s, background .18s, border-color .18s;
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
  font-family: inherit;
}
.nav__link:hover, .nav__link:focus-visible { color: #fff; background: rgba(255,255,255,.07); }
.nav__item.is-active > .nav__link { color: #fff; border-bottom-color: var(--gold-500); background: rgba(255,255,255,.05); }
.nav__link .icon { width: .85rem; height: .85rem; opacity: .8; transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-4);
  padding: .5rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  border-top: 3px solid var(--gold-500);
  z-index: 5;
}
.nav__item.is-open > .nav__panel,
.nav__item:hover > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: .6rem .8rem; border-radius: var(--r-md);
  color: var(--ink-soft); font-size: .88rem; text-decoration: none;
  transition: background .15s, color .15s;
}
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--blue-50); color: var(--navy-800); }

.nav__cta { display: flex; align-items: center; gap: .5rem; padding-left: .5rem; }

/* Mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(6,25,47,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 900;
  backdrop-filter: blur(2px);
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 800px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
}
.hero__media video { opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__media video.is-ready { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,25,47,.93) 0%, rgba(6,25,47,.78) 38%, rgba(6,25,47,.36) 68%, rgba(6,25,47,.5) 100%),
    linear-gradient(to top, rgba(6,25,47,.85) 0%, rgba(6,25,47,0) 45%);
}
.hero__inner { position: relative; padding-block: clamp(4rem, 3rem + 6vw, 7rem); width: 100%; }
.hero__content { max-width: 47rem; color: #fff; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
  color: #e8f2fb;
  padding: .42rem 1rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 3px rgba(217,162,27,.28);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 1.35rem + 3.3vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.hero h1 .accent {
  color: var(--gold-400);
  font-style: italic;
}
.hero__sub {
  font-size: clamp(1rem, .95rem + .4vw, 1.16rem);
  color: #d5e4f1; max-width: 40rem; line-height: 1.72;
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__fact { color: #cfe0ef; }
.hero__fact b {
  display: block; font-family: var(--font-head);
  font-size: 1.65rem; color: #fff; line-height: 1.1;
}
.hero__fact span { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; opacity: .82; }

.hero__videobtn {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: clamp(5.5rem, 8vw, 7rem);
  z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(6,25,47,.5); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: var(--r-pill);
  padding: .5rem 1rem; font: 600 .8rem var(--font-sans);
  cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.hero__videobtn:hover { background: rgba(6,25,47,.78); transform: translateY(-2px); }
.hero__videobtn .icon { width: .95rem; height: .95rem; }
/* A class rule beats the browser's own [hidden] rule, so it has to be
   restated — otherwise the control shows on phones, where the background
   video deliberately never plays. */
.hero__videobtn[hidden] { display: none; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.75);
  display: grid; place-items: center; gap: .3rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.hero__scroll .icon { width: 1.1rem; height: 1.1rem; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.hero__credit {
  position: absolute; right: .75rem; bottom: .5rem; z-index: 3;
  font-size: .68rem; color: rgba(255,255,255,.55);
}
.hero__credit a { color: inherit; }

/* ---------------------------------------------------------------------
   9. NOTICE TICKER
   ------------------------------------------------------------------ */
.ticker {
  background: var(--navy-700);
  color: #fff;
  border-bottom: 3px solid var(--gold-500);
  position: relative; z-index: 4;
}
.ticker__inner { display: flex; align-items: stretch; gap: 0; min-height: 52px; }
.ticker__label {
  display: flex; align-items: center; gap: .5rem;
  background: var(--gold-500); color: var(--navy-900);
  padding: 0 1.1rem; font: 700 .82rem/1 var(--font-sans);
  letter-spacing: .05em; text-transform: uppercase; flex: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-right: 1.8rem;
}
.ticker__label .icon { width: 1rem; height: 1rem; }
.ticker__viewport { flex: 1; overflow: hidden; display: flex; align-items: center; min-width: 0; }
.ticker__track {
  display: flex; align-items: center; gap: 3rem;
  white-space: nowrap; will-change: transform;
  animation: ticker-scroll 46s linear infinite;
  padding-left: 1.2rem;
}
.ticker:hover .ticker__track, .ticker__track.is-paused { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; align-items: center; gap: .55rem; color: #e3edf6; text-decoration: none; font-size: .9rem; }
.ticker__item:hover { color: #fff; text-decoration: underline; }
.ticker__date { font-size: .74rem; color: var(--gold-400); font-weight: 600; letter-spacing: .04em; flex: none; }
.ticker__new {
  background: var(--red-600); color: #fff; font-size: .6rem; font-weight: 700;
  padding: .12rem .4rem; border-radius: var(--r-sm); letter-spacing: .08em; text-transform: uppercase;
}
.ticker__pause {
  flex: none; background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.18);
  color: #cddced; padding: 0 .9rem; cursor: pointer; display: grid; place-items: center;
}
.ticker__pause:hover { color: #fff; background: rgba(255,255,255,.08); }
.ticker__pause .icon { width: 1rem; height: 1rem; }

/* ---------------------------------------------------------------------
   10. QUICK ACCESS TILES
   ------------------------------------------------------------------ */
/* The tiles sit just below the notice ticker. They must not be pulled
   upwards: the ticker is only ~52px tall and a negative margin swallowed it. */
.quick { margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); position: relative; z-index: 5; }
.quick__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3);
}
.quick__tile {
  background: #fff; padding: 1.5rem 1rem; text-align: center;
  text-decoration: none; color: var(--navy-800);
  display: grid; gap: .55rem; justify-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  position: relative;
}
.quick__tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.quick__tile:hover { background: var(--blue-50); color: var(--blue-700); }
.quick__tile:hover::after { transform: scaleX(1); }
.quick__icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.quick__tile:hover .quick__icon { background: var(--blue-600); color: #fff; transform: translateY(-3px); }
.quick__icon .icon { width: 1.45rem; height: 1.45rem; }
.quick__label { font-size: .86rem; font-weight: 600; line-height: 1.3; }

/* ---------------------------------------------------------------------
   11. STATISTICS
   ------------------------------------------------------------------ */
.stats { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 340px at 12% 0%, rgba(31,134,208,.35), transparent 70%),
              radial-gradient(700px 300px at 88% 100%, rgba(217,162,27,.16), transparent 70%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-4) var(--sp-3); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1;
  color: #fff; display: block;
}
.stat__num .suffix { color: var(--gold-400); }
.stat__label { margin-top: .5rem; font-size: .85rem; color: #b9cde0; letter-spacing: .03em; }

/* ---------------------------------------------------------------------
   12. SECTION FURNITURE
   ------------------------------------------------------------------ */
.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 700 .76rem/1 var(--font-sans);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.section--deep .eyebrow { color: var(--gold-400); }
.section-head p { color: var(--muted); margin-top: -.3rem; }
.section--deep .section-head p { color: #b9cde0; }

.section-head__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-5); max-width: none; flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   13. CARDS
   ------------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--blue-200); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__title { margin: 0; font-size: 1.1rem; }
.card__title a { color: var(--navy-800); text-decoration: none; }
.card__title a:hover { color: var(--blue-600); }
.card__text { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: .3rem; }

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--blue-50); color: var(--blue-700);
  font: 600 .72rem/1 var(--font-sans); letter-spacing: .05em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: var(--r-sm);
}
.chip--gold  { background: var(--gold-100); color: var(--gold-700); }
.chip--green { background: var(--green-100); color: var(--green-600); }
.chip--red   { background: var(--red-100); color: var(--red-600); }
.chip--grey  { background: var(--surface-3); color: var(--muted); }

/* Trade card */
.trade-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: .75rem;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.trade-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--blue-500), var(--gold-500));
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.trade-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--blue-200); }
.trade-card:hover::before { transform: scaleY(1); }
.trade-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.trade-card:hover .trade-card__icon { background: var(--blue-600); color: #fff; }
.trade-card__icon .icon { width: 1.6rem; height: 1.6rem; }
.trade-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy-800); margin: 0; line-height: 1.3; }
.trade-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.trade-card__text { font-size: .89rem; color: var(--muted); margin: 0; flex: 1; }

/* Facility card */
.fac {
  display: flex; gap: var(--sp-4); padding: var(--sp-5);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow .25s var(--ease), border-color .25s;
}
.fac:hover { box-shadow: var(--sh-2); border-color: var(--blue-200); }
.fac__icon {
  width: 44px; height: 44px; flex: none; border-radius: var(--r-md);
  background: var(--gold-100); color: var(--gold-700);
  display: grid; place-items: center;
}
.fac__icon .icon { width: 1.35rem; height: 1.35rem; }
.fac h3 { font-size: 1.02rem; margin-bottom: .3rem; font-family: var(--font-sans); }
.fac p { font-size: .89rem; color: var(--muted); margin: 0; }

/* Staff card */
.staff-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); text-align: center; display: grid; gap: .45rem; justify-items: center;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.staff-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.staff-card__photo {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  background: var(--surface-3); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue-100);
  display: grid; place-items: center; color: var(--blue-400);
}
.staff-card__photo .icon { width: 2.4rem; height: 2.4rem; }
.staff-card__name { font-weight: 700; color: var(--navy-800); font-size: 1rem; }
.staff-card__desig { font-size: .86rem; color: var(--blue-700); font-weight: 600; }
.staff-card__dept { font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   14. CAMPUS SLIDER
   ------------------------------------------------------------------ */
.slider { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-4); background: var(--navy-900); }
.slider__viewport { position: relative; aspect-ratio: 16 / 8; }
@media (max-width: 720px) { .slider__viewport { aspect-ratio: 4 / 3; } }

.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.005); } to { transform: scale(1.075); } }
.slide__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,25,47,.88) 0%, rgba(6,25,47,.32) 42%, rgba(6,25,47,.05) 70%);
}
.slide__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.25rem, 1rem + 2.5vw, 3rem);
  padding-right: clamp(1.25rem, 8vw, 9rem);
  color: #fff;
}
.slide__caption h3 {
  color: #fff; margin-bottom: .4rem;
  font-size: clamp(1.15rem, .95rem + 1.2vw, 1.9rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.slide__caption p { color: #d8e6f3; font-size: clamp(.85rem, .8rem + .3vw, 1rem); max-width: 42rem; margin-bottom: .85rem; }

.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.slider__nav:hover { background: rgba(255,255,255,.3); }
.slider__nav--prev { left: clamp(.6rem, 1.6vw, 1.3rem); }
.slider__nav--next { right: clamp(.6rem, 1.6vw, 1.3rem); }
.slider__nav .icon { width: 1.3rem; height: 1.3rem; }

.slider__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  display: flex; align-items: center; gap: .8rem;
  padding: 0 clamp(.75rem, 2vw, 1.4rem) clamp(.75rem, 2vw, 1.2rem);
}
.slider__dots { display: flex; gap: .45rem; flex: 1; }
.slider__dot {
  width: 30px; height: 4px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.35); border: 0; cursor: pointer; padding: 0;
  position: relative; overflow: hidden;
  transition: background .2s;
}
.slider__dot:hover { background: rgba(255,255,255,.6); }
.slider__dot[aria-current="true"] { background: rgba(255,255,255,.45); width: 52px; }
.slider__dot[aria-current="true"]::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-500);
  transform-origin: left; transform: scaleX(0);
  animation: dot-fill var(--slide-dur, 6s) linear forwards;
}
.slider__dot.is-paused::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }

.slider__play {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(8px);
}
.slider__play:hover { background: rgba(255,255,255,.3); }
.slider__play .icon { width: .95rem; height: .95rem; }
.slider__count { color: #fff; font: 600 .8rem var(--font-sans); letter-spacing: .06em; flex: none; opacity: .85; }

/* ---------------------------------------------------------------------
   15. NOTICES & TABS
   ------------------------------------------------------------------ */
.tabs { display: flex; gap: .4rem; border-bottom: 2px solid var(--line); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.tab {
  background: none; border: 0; border-bottom: 3px solid transparent;
  margin-bottom: -2px; padding: .7rem 1.1rem; cursor: pointer;
  font: 600 .92rem var(--font-sans); color: var(--muted);
  transition: color .18s, border-color .18s;
}
.tab:hover { color: var(--navy-800); }
.tab[aria-selected="true"] { color: var(--blue-700); border-bottom-color: var(--blue-600); }
.tabpanel[hidden] { display: none; }

.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-item {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px dashed var(--line);
}
.notice-item:last-child { border-bottom: 0; }
.notice-item__date {
  flex: none; width: 58px; text-align: center;
  background: var(--blue-50); border-radius: var(--r-md);
  padding: .45rem .3rem; line-height: 1.15;
  border: 1px solid var(--blue-100);
}
.notice-item__day { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--navy-800); }
.notice-item__mon { display: block; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-700); font-weight: 700; }
.notice-item__body { min-width: 0; flex: 1; }
.notice-item__title { display: block; font-weight: 600; color: var(--navy-800); text-decoration: none; margin-bottom: .2rem; line-height: 1.45; }
.notice-item__title:hover { color: var(--blue-600); text-decoration: underline; }
.notice-item__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .78rem; color: var(--muted); }

.sidecard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); margin-bottom: var(--sp-5);
}
.sidecard__title {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  color: var(--navy-800); margin-bottom: var(--sp-4);
  padding-bottom: .7rem; border-bottom: 2px solid var(--line-soft);
}
.sidecard__title .icon { width: 1.15rem; height: 1.15rem; color: var(--blue-600); }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.link-list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .62rem .7rem; border-radius: var(--r-md);
  color: var(--ink-soft); text-decoration: none; font-size: .9rem;
  transition: background .15s, color .15s, padding-left .2s var(--ease);
}
.link-list a:hover { background: var(--blue-50); color: var(--blue-700); padding-left: 1rem; }
.link-list .icon { width: 1rem; height: 1rem; flex: none; color: var(--blue-500); }

/* ---------------------------------------------------------------------
   16. PRINCIPAL & ABOUT
   ------------------------------------------------------------------ */
.principal-card {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  box-shadow: var(--sh-2);
}
.principal-card__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); object-fit: cover;
  background: var(--surface-3); display: grid; place-items: center; color: var(--blue-300, var(--blue-400));
  border: 1px solid var(--line);
}
.principal-card__photo .icon { width: 4rem; height: 4rem; }
.principal-quote { position: relative; padding-left: 2.6rem; }
.principal-quote .icon {
  position: absolute; left: 0; top: .1rem;
  width: 1.9rem; height: 1.9rem; color: var(--blue-200);
}
.principal-quote p {
  font-family: var(--font-head); font-size: clamp(1rem, .95rem + .45vw, 1.2rem);
  line-height: 1.68; color: var(--ink-soft); font-style: italic;
}
.signature { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.signature strong { display: block; color: var(--navy-800); font-size: 1.02rem; }
.signature span { font-size: .86rem; color: var(--muted); }

.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.media-frame img { width: 100%; }
.media-frame--offset::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-xl); pointer-events: none;
}
.badge-float {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--gold-500); color: var(--navy-900);
  border-radius: var(--r-lg); padding: 1rem 1.3rem; box-shadow: var(--sh-3);
  text-align: center; line-height: 1.15;
}
.badge-float b { display: block; font-family: var(--font-head); font-size: 1.85rem; }
.badge-float span { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.tick-list .icon { width: 1.15rem; height: 1.15rem; flex: none; color: var(--green-600); margin-top: .22rem; }

/* ---------------------------------------------------------------------
   17. CTA BAND
   ------------------------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-6); align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .32;
  background-image: var(--cta-bg, none); background-size: cover; background-position: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,37,68,.96) 30%, rgba(10,37,68,.72) 100%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #c8dcec; max-width: 44rem; margin: 0; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   18. FORMS
   ------------------------------------------------------------------ */
.form-grid { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { display: grid; gap: .4rem; }
.field > label { font-weight: 600; font-size: .88rem; color: var(--navy-800); }
.field .hint { font-size: .8rem; color: var(--muted); }
.req { color: var(--red-600); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], input[type="date"], input[type="search"],
input[type="file"], select, textarea {
  width: 100%;
  padding: .72rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e7285' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.4rem; }

input:focus, select:focus, textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31,134,208,.16);
  outline: none;
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(179,36,36,.12);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }

.field-error { font-size: .82rem; color: var(--red-600); font-weight: 500; }

.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  border-left: 4px solid; font-size: .92rem; margin-bottom: var(--sp-5);
}
.alert .icon { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15rem; }
.alert--ok    { background: var(--green-100); border-color: var(--green-600); color: #10583a; }
.alert--error { background: var(--red-100);   border-color: var(--red-600);   color: #8d1d1d; }
.alert--info  { background: var(--blue-50);   border-color: var(--blue-500);  color: var(--navy-700); }
.alert--warn  { background: var(--gold-100);  border-color: var(--gold-500);  color: var(--gold-700); }
.alert strong { display: block; margin-bottom: .15rem; }
.alert a { color: inherit; }

/* ---------------------------------------------------------------------
   19. TABLES
   ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
table.data th, table.data td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data thead th {
  background: var(--surface-2); color: var(--navy-800);
  font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 2px solid var(--line); white-space: nowrap;
}
table.data tbody tr:hover { background: var(--blue-50); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }

.dl-row { display: flex; align-items: center; gap: var(--sp-4); padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.dl-row:last-child { border-bottom: 0; }
.dl-row__icon {
  width: 42px; height: 42px; flex: none; border-radius: var(--r-md);
  background: var(--red-100); color: var(--red-600); display: grid; place-items: center;
}
.dl-row__icon .icon { width: 1.25rem; height: 1.25rem; }
.dl-row__main { flex: 1; min-width: 0; }
.dl-row__title { font-weight: 600; color: var(--navy-800); }
.dl-row__meta { font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   20. PAGE HEADER / BREADCRUMB / PROSE
   ------------------------------------------------------------------ */
.page-head {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: #fff;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.25rem);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: var(--page-bg, none); background-size: cover; background-position: center 40%;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,25,47,.95) 20%, rgba(6,25,47,.6) 100%);
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .5rem; }
.page-head p { color: #c5daea; max-width: 46rem; margin: 0; }

.breadcrumb { margin-bottom: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .82rem; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; color: #a9c4da; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.4); }
.breadcrumb a { color: #d6e6f3; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gold-400); }

.prose { max-width: 62ch; }
.prose--wide { max-width: 78ch; }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); font-family: var(--font-sans); font-size: 1.12rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--sp-4); }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--blue-500); }
.prose blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-4) var(--sp-5);
  background: var(--blue-50); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-soft);
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-5); font-size: .92rem; }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); }
.prose img { border-radius: var(--r-md); margin-block: var(--sp-4); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.content-layout--left { grid-template-columns: 280px minmax(0, 1fr); }
/* Grid and flex children default to min-width:auto, which lets a wide child
   (a data table, a long word) push the whole column past the viewport.
   Resetting it lets the scrolling wrapper do its job. */
.content-layout > *, .grid > *, .flow-split > * { min-width: 0; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: .75rem; }
.acc__btn {
  width: 100%; text-align: left; background: #fff; border: 0;
  padding: 1.05rem 1.25rem; display: flex; align-items: center; gap: .9rem;
  font: 600 .98rem var(--font-sans); color: var(--navy-800); cursor: pointer;
  transition: background .18s;
}
.acc__btn:hover { background: var(--surface-2); }
.acc__btn .icon { width: 1.15rem; height: 1.15rem; margin-left: auto; color: var(--blue-600); transition: transform .25s var(--ease); flex: none; }
.acc__btn[aria-expanded="true"] { background: var(--blue-50); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc__num {
  width: 30px; height: 30px; flex: none; border-radius: var(--r-sm);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; font-size: .82rem; font-weight: 700;
}
.acc__panel { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--line-soft); }
.acc__panel[hidden] { display: none; }
.acc__panel > *:first-child { margin-top: 1rem; }

/* ---------------------------------------------------------------------
   21. GALLERY & LIGHTBOX
   ------------------------------------------------------------------ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sp-4); }
.gallery-item {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface-3); cursor: zoom-in;
  border: 0; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(6,25,47,.88));
  color: #fff; font-size: .85rem; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gallery-item:hover .gallery-item__cap, .gallery-item:focus-visible .gallery-item__cap { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,16,30,.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--sh-4); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 1.5rem; text-align: center; color: #cfe0ef; font-size: .9rem; padding-inline: 1.5rem; }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev  { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------------
   22. FOOTER
   ------------------------------------------------------------------ */
.footer { background: var(--navy-900); color: #a9c1d6; font-size: .9rem; }
.footer a { color: #cadcec; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__main { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); }
.footer h4 {
  color: #fff; font-size: .92rem; margin-bottom: 1.1rem;
  letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
  position: relative; padding-bottom: .65rem;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-500); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__brand { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.footer__brand img, .footer__brand .brand__mark { width: 54px; height: 54px; flex: none; }
.footer__brand strong { color: #fff; display: block; font-family: var(--font-head); line-height: 1.3; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer__contact .icon { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .22rem; color: var(--gold-500); }
.footer__social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; color: #cadcec;
  transition: background .18s, color .18s, transform .18s;
}
.footer__social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.footer__social .icon { width: 1.05rem; height: 1.05rem; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.1rem; font-size: .82rem;
}
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: .8rem var(--sp-5); align-items: center; justify-content: space-between; }
.footer__policies { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; margin: 0; padding: 0; }
.footer__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; color: #8aa5bd; }

/* ---------------------------------------------------------------------
   23. UTILITIES / REVEAL / BACK TO TOP
   ------------------------------------------------------------------ */
.mb-0 { margin-bottom: 0 !important; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }

/* Scroll reveal — only ever hides content when JS is confirmed running.
   Without JS the .js-reveal class is never added, so everything shows. */
html.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
html.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
html.js-reveal .reveal-d1.is-in { transition-delay: .08s; }
html.js-reveal .reveal-d2.is-in { transition-delay: .16s; }
html.js-reveal .reveal-d3.is-in { transition-delay: .24s; }

.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 700;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }

/* ---------------------------------------------------------------------
   24. ACCESSIBILITY MODES
   ------------------------------------------------------------------ */
html[data-fontscale="1"] { --fs-base: 1.075rem; }
html[data-fontscale="2"] { --fs-base: 1.15rem; }
html[data-fontscale="-1"] { --fs-base: .93rem; }

html[data-contrast="high"] {
  --ink: #000; --ink-soft: #000; --muted: #1a1a1a; --muted-2: #333;
  --line: #000; --line-soft: #555;
  --surface-2: #fff; --surface-3: #fff;
  --blue-50: #fff; --blue-100: #fff;
  --navy-800: #000; --navy-900: #000; --navy-700: #000;
  --blue-600: #00308f; --blue-700: #00308f;
}
html[data-contrast="high"] body { background: #fff; color: #000; }
html[data-contrast="high"] .hero__overlay,
html[data-contrast="high"] .slide__scrim,
html[data-contrast="high"] .page-head::after,
html[data-contrast="high"] .cta-band::after { background: rgba(0,0,0,.88); }
html[data-contrast="high"] .card,
html[data-contrast="high"] .trade-card,
html[data-contrast="high"] .fac,
html[data-contrast="high"] .sidecard,
html[data-contrast="high"] .acc { border-width: 2px; box-shadow: none; }
html[data-contrast="high"] a { text-decoration: underline; }
html[data-contrast="high"] .btn { border-width: 2px; }
html[data-contrast="high"] .stats::before,
html[data-contrast="high"] .page-head::before,
html[data-contrast="high"] .cta-band::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.js-reveal .reveal { opacity: 1; transform: none; }
  .slide.is-active img { animation: none; }
  .ticker__track { animation: none; }
}

/* ---------------------------------------------------------------------
   25. RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .content-layout, .content-layout--left { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}

@media (max-width: 980px) {
  :root { --header-h: 62px; }

  /* The closed drawer sits off the right edge. `clip` keeps it from adding
     horizontal scroll, and unlike `hidden` it does not turn the root into a
     scroll container, so the sticky navigation bar and smooth scrolling
     both keep working. */
  html { overflow-x: clip; }

  .nav-toggle { display: inline-flex; }
  .navbar__inner { min-height: var(--header-h); }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px);
    background: var(--navy-800); z-index: 950;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .32s var(--ease), visibility .32s;
    overflow-y: auto; padding: 1rem 0 3rem;
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
    display: block;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; padding: 0 .75rem; }
  .nav__item { width: 100%; }
  .nav__link {
    height: auto; padding: .9rem .85rem; width: 100%;
    justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
  }
  .nav__item.is-active > .nav__link { border-bottom-color: rgba(255,255,255,.08); border-left: 3px solid var(--gold-500); padding-left: .6rem; }
  .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0,0,0,.22); border-radius: var(--r-md);
    border-top: 0; margin: .3rem 0 .6rem; padding: .3rem; display: none;
  }
  .nav__item.is-open > .nav__panel { display: block; }
  .nav__panel a { color: #c3d6e8; }
  .nav__panel a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav__cta { padding: 1rem .85rem 0; flex-direction: column; align-items: stretch; }
  .nav__cta .btn { width: 100%; }

  .masthead__emblems { display: none; }
  .searchbox { display: none; }
  .brand__mark { width: 52px; height: 52px; }

  .flow-split, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.keep-2, .grid-4.keep-2 { grid-template-columns: repeat(2, 1fr); }
  .principal-card { grid-template-columns: 1fr; }
  .principal-card__photo { max-width: 220px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--sp-5); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding-inline: 1rem; }
  .quick { margin-top: 1.25rem; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); border-radius: 0; box-shadow: none; }
  .quick__tile { padding: 1.15rem .75rem; }
  .hero { min-height: 90svh; }
  .hero__facts { gap: var(--sp-5); }
  .hero__fact b { font-size: 1.35rem; }
  .hero__videobtn { bottom: auto; top: 1rem; right: 1rem; }
  .ticker__inner { flex-direction: column; align-items: stretch; }
  .ticker__label { clip-path: none; padding: .55rem 1rem; justify-content: center; }
  .ticker__pause { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head__row { flex-direction: column; align-items: flex-start; }
  .slider__nav { width: 38px; height: 38px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .grid-3.keep-2, .grid-4.keep-2 { grid-template-columns: 1fr; }
  .badge-float { right: 8px; bottom: -10px; padding: .75rem 1rem; }
}

@media (max-width: 420px) {
  .brand__name { font-size: .92rem; }
  .brand__mark { width: 44px; height: 44px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   26. PRINT
   ------------------------------------------------------------------ */
@media print {
  .topbar, .navbar, .nav, .ticker, .hero__media, .hero__videobtn, .hero__scroll,
  .to-top, .slider__nav, .slider__bar, .searchbox, .footer__social,
  .nav-toggle, .quick, .lightbox { display: none !important; }
  body { color: #000; background: #fff; font-size: 11.5pt; }
  .hero { min-height: auto; background: #fff; color: #000; }
  .hero__overlay { display: none; }
  .hero h1, .hero__sub, .hero__fact b, .hero__fact span { color: #000 !important; text-shadow: none; }
  .page-head, .section--deep, .stats, .cta-band, .footer { background: #fff !important; color: #000 !important; }
  .page-head::before, .page-head::after, .cta-band::before, .cta-band::after, .stats::before { display: none; }
  .page-head h1, .page-head p, .footer, .footer a, .stat__num, .stat__label { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .card, .trade-card, .sidecard, .acc { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .section { padding-block: 1rem; }
}
