/* ==========================================================================
   NOVA University – main stylesheet

   Approach
   --------
   * Mobile-first: every rule outside a media query is the phone layout.
     Larger screens are layered on with min-width breakpoints:
        640px  (sm – large phones / small tablets)
        768px  (md – tablets)
        1024px (lg – laptops / desktops)
        1280px (xl – wide desktops)
   * Layout uses CSS Grid for page/card grids and Flexbox for components.
   * Colour system (60-30-10): cream/white surfaces (60%), navy #032b44 /
     navy-dark #021f32 blocks and text (30%), amber #fbbf24 accents (10%).
   * Two font families only: Space Grotesk (headings) + Inter (body).
   ========================================================================== */

/* ---------- Design tokens ---------------------------------------------- */
:root {
  --navy: #032b44;
  --navy-dark: #021f32;
  --blue: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --bg: #fefefa;
  --white: #ffffff;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --header-h: 5rem;
}

/* ---------- Reset & base ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--slate-200);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--navy);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

strong {
  font-weight: 700;
}

kbd {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
}

h1 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  line-height: 1.7;
}

/* ---------- Accessibility ------------------------------------------------ */
/* "Skip to main content" link – only visible when focused with the keyboard */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--amber-400);
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* Visually hidden but still read by screen readers */
.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;
}

/* Visible focus ring for keyboard users (mouse clicks don't show it) */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
/* Amber ring on dark backgrounds so it stays visible */
.announce :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.stats :focus-visible,
.cta :focus-visible,
.page-header :focus-visible,
.section-navy :focus-visible,
.calc-summary :focus-visible,
.hq-card :focus-visible,
.modal-header :focus-visible,
.pd-banner :focus-visible,
.btn-navy:focus-visible,
.btn-navy-gold:focus-visible,
.filter-tab.active:focus-visible,
.option-btn.active:focus-visible {
  outline-color: var(--amber-400);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Icons -------------------------------------------------------- */
.ic {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.ic-3 { width: 0.75rem; height: 0.75rem; }
.ic-35 { width: 0.875rem; height: 0.875rem; }
.ic-4 { width: 1rem; height: 1rem; }
.ic-5 { width: 1.25rem; height: 1.25rem; }
.ic-6 { width: 1.5rem; height: 1.5rem; }
.ic-7 { width: 1.75rem; height: 1.75rem; }
.ic-8 { width: 2rem; height: 2rem; }
.ic-10 { width: 2.5rem; height: 2.5rem; }
.ic-12 { width: 3rem; height: 3rem; }

/* ---------- Utilities ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container-md { max-width: 56rem; }
.container-sm { max-width: 64rem; }

.hidden { display: none !important; }
.text-center { text-align: center; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.25rem; }
.gap-15 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.625; }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-900 { color: var(--slate-900); }
.text-blue { color: var(--blue); }
.text-blue-700 { color: var(--blue-700); }
.text-blue-400 { color: var(--blue-400); }
.text-amber { color: var(--amber-400); }
.text-amber-600 { color: var(--amber-600); }
.text-emerald { color: var(--emerald-600); }
.text-emerald-400 { color: var(--emerald-400); }
.text-white { color: var(--white); }

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-15 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* ---------- Grids -------------------------------------------------------- */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-gap-4 { gap: 1rem; }
.grid-gap-6 { gap: 1.5rem; }
.grid-gap-2 { gap: 0.5rem; }
.grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-12 {
  grid-template-columns: 1fr;
}
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex { display: flex !important; }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-xs { font-size: 0.75rem; padding: 0.5rem 1rem; }
.btn-lg { padding: 0.875rem 1.75rem; }
.btn-xl { padding: 0.875rem 2rem; }
.btn-block { width: 100%; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn-navy-gold {
  background: var(--navy);
  color: var(--amber-400);
  box-shadow: var(--shadow-sm);
}
.btn-navy-gold:hover { background: var(--blue-700); }

.btn-amber {
  background: var(--amber-500);
  color: var(--slate-950);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}
.btn-amber:hover { background: var(--amber-400); }

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

.btn-soft {
  background: var(--slate-100);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.75rem;
}
.btn-soft:hover { background: var(--navy); color: var(--white); }
.btn-soft:hover .ic { color: var(--amber-400); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.75rem;
}
.btn-link:hover { text-decoration: underline; }
.btn-link .ic { transition: transform 0.15s; }
.btn-link:hover .ic-slide { transform: translateX(0.25rem); }

/* ---------- Badges / chips ----------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.eyebrow-amber {
  color: var(--amber-800);
  background: var(--amber-50);
  border-color: var(--amber-100);
}
.eyebrow-dark {
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.3);
}

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
}
.tag-navy {
  background: rgba(3, 43, 68, 0.9);
  color: var(--amber-400);
  border: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(12px);
}
.tag-white {
  background: rgba(255, 255, 255, 0.9);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: var(--shadow-xs);
}
.tag-emerald {
  background: var(--emerald-700);
  color: var(--white);
  font-size: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.625rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}
.pill-blue { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-200); }
.pill-blue-solid { background: var(--blue-100); color: var(--blue-800); font-size: 0.75rem; padding: 0.25rem 0.75rem; }
.pill-emerald { background: var(--emerald-50); color: var(--emerald-700); border-color: var(--emerald-200); }
.pill-amber { background: var(--amber-100); color: var(--amber-800); font-size: 0.625rem; }
.pill-amber-solid { background: var(--amber-400); color: var(--slate-950); font-size: 0.625rem; padding: 0.25rem 0.625rem; }

.dept-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-800);
  background: var(--blue-100);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
}

.chip {
  display: inline-block;
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}
.chip-emerald {
  background: var(--emerald-50);
  color: var(--emerald-800);
  border-color: rgba(167, 243, 208, 0.6);
  padding: 0.375rem 0.75rem;
}

/* Filter tabs (Programs faculties / News categories / FAQ) */
.filter-tab {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-600);
  transition: background-color 0.15s, color 0.15s;
}
.filter-tab:hover { background: var(--slate-200); }
.filter-tab.active {
  background: var(--navy);
  color: var(--amber-400);
  box-shadow: var(--shadow-sm);
}
.filter-tab-outline {
  background: var(--white);
  border: 1px solid var(--slate-200);
}
.filter-tab-outline:hover { background: var(--slate-100); }
.filter-tab-outline.active { border-color: var(--navy); }

.scroll-x {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------- Forms -------------------------------------------------------- */
.form-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 0.25rem;
}
.form-label .ic { color: var(--blue); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow 0.15s, background-color 0.15s;
}
.input-xs { font-size: 0.75rem; }
.input:focus,
.select:focus,
.textarea:focus {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}
.textarea { resize: vertical; }
.input.invalid,
.textarea.invalid,
.select.invalid { border-color: #dc2626; }
.field-error {
  color: #b91c1c;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}
.field-error:empty { display: none; }

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.input-wrap {
  position: relative;
}
.input-wrap .ic-lead {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}
.input-wrap .input { padding-left: 2.5rem; }
.input-wrap .btn-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  display: flex;
}
.input-wrap .btn-clear:hover { color: var(--slate-600); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  color: var(--amber-800);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
}
.notice .ic { color: var(--amber-600); margin-top: 0.125rem; }

.success-box {
  text-align: center;
  padding: 2rem 0;
}
.success-box .success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: var(--emerald-100);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.success-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}
.success-box p {
  font-size: 0.875rem;
  color: var(--slate-600);
  max-width: 28rem;
  margin: 1rem auto 0;
}
.success-box .ref-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--slate-600);
  max-width: 28rem;
  margin: 1rem auto 0;
}
.success-box .ref-box p { margin: 0.25rem 0 0; font-size: inherit; max-width: none; line-height: 1.5; }
.success-box .ref-box p:first-child { margin-top: 0; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  background: var(--navy-dark);
  color: var(--slate-200);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--slate-800);
}
.announce .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0;
}
.announce-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber-400);
  font-weight: 600;
  font-size: 0.6875rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.announce-text { color: var(--slate-300); }
.announce-link {
  color: var(--amber-400);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  transition: color 0.15s;
}
.announce-link:hover { color: var(--amber-300); }
.announce-right {
  display: none;
  align-items: center;
  gap: 1.5rem;
  color: var(--slate-400);
}
.announce-right a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.15s;
}
.announce-right a:hover { color: var(--amber-400); }
.announce-right .sep { color: var(--slate-600); }
.announce-status { color: var(--slate-300); font-weight: 500; }
.announce-status span { color: var(--emerald-400); font-weight: 600; }

@media (min-width: 640px) {
  .announce .container { flex-direction: row; }
  .announce-left { text-align: left; justify-content: flex-start; }
}
@media (min-width: 1280px) {
  .announce-right { display: flex; }
}
.announce-right a,
.announce-status { white-space: nowrap; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 254, 250, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-xs);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
  transition: color 0.15s;
}
.brand:hover .brand-name { color: var(--blue-700); }
.brand-name span {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--blue);
  margin-left: 0.125rem;
}
.brand-tagline {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 0.125rem;
}

.nav-links {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.125rem;
}
.nav-link {
  white-space: nowrap;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.15s;
}
.nav-link:hover {
  color: var(--blue);
  background: rgba(241, 245, 249, 0.7);
}
.nav-link.active {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 700;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.btn-search {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: background-color 0.15s;
}
.btn-search:hover { background: var(--slate-200); }
.btn-search kbd {
  display: none;
  background: var(--white);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  color: var(--slate-500);
  border: 1px solid var(--slate-300);
}
.btn-apply .ic { color: var(--amber-400); }
.btn-apply:active { transform: scale(0.98); }

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--slate-600);
  display: flex;
}
.icon-btn:hover { color: var(--slate-900); background: var(--slate-100); }

.mobile-menu {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.5rem 1rem 1.5rem;
  animation: slideDown 0.2s ease-out;
}
.mobile-menu.open { display: block; }
.mobile-menu-links > * + * { margin-top: 0.25rem; }
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: background-color 0.15s;
}
.mobile-link:hover { background: var(--slate-100); }
.mobile-link .ic { color: var(--slate-400); }
.mobile-link.active {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.mobile-link.active .ic { color: var(--white); }
.mobile-menu-footer {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--slate-100);
}
.mobile-menu-footer .btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Laptop (1024–1279px): compact desktop navbar so all 7 links fit on one row */
@media (min-width: 1024px) {
  .nav-links,
  .nav-actions { display: flex; }
  .nav-mobile-actions,
  .mobile-menu { display: none !important; }
  .brand-tagline { display: none; }
  .nav-link {
    font-size: 0.8125rem;
    padding: 0.5rem 0.5625rem;
  }
  .btn-search { padding: 0.5rem; }
  .btn-search span,
  .btn-search kbd { display: none; }
  .btn-apply { padding: 0.625rem 0.875rem; }
  .btn-apply .xl-only { display: none; }
}
/* Desktop (1280px+): normal link size, search label and full "Apply Now" */
@media (min-width: 1280px) {
  .navbar-inner { gap: 1rem; }
  .nav-actions { gap: 0.75rem; }
  .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  .btn-search { padding: 0.5rem 0.75rem; }
  .btn-search span { display: inline-block; }
  .btn-apply { padding: 0.625rem 1.25rem; }
  .btn-apply .xl-only { display: inline; }
}
/* Wide desktop (1440px+): add the brand tagline and keyboard-shortcut hint */
@media (min-width: 1440px) {
  .nav-links { gap: 0.25rem; }
  .brand-tagline {
    display: block;
    white-space: nowrap;
  }
  .nav-link { padding: 0.5rem 0.875rem; }
  .btn-search kbd { display: inline-block; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-dark);
  color: var(--slate-300);
  border-top: 1px solid var(--slate-800);
  padding: 4rem 0 3rem;
}
.footer .container > * + * { margin-top: 3rem; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.footer-brand > * + * { margin-top: 1rem; }
.footer-brand .brand-logo { width: 2.5rem; height: 2.5rem; }
.footer-brand .brand-name { font-size: 1.5rem; color: var(--white); }
.footer-brand .brand-name span { color: var(--blue-400); margin-left: 0.25rem; }
.footer-brand p {
  color: var(--slate-400);
  font-size: 0.75rem;
  line-height: 1.625;
  max-width: 24rem;
}
.footer-contact {
  font-size: 0.75rem;
  color: var(--slate-400);
  padding-top: 0.5rem;
}
.footer-contact > * + * { margin-top: 0.5rem; }
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact .ic { color: var(--amber-400); }
.footer h3 {
  color: var(--amber-400);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-list {
  font-size: 0.75rem;
  color: var(--slate-400);
}
.footer-list > * + * { margin-top: 0.5rem; }
.footer-list a { transition: color 0.15s; }
.footer-list a:hover { color: var(--white); }
.footer-news p {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}
.footer-news form > * + * { margin-top: 0.5rem; }
.footer-news input {
  width: 100%;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-lg);
  outline: none;
}
.footer-news input::placeholder { color: var(--slate-500); }
.footer-news input:focus { border-color: var(--amber-400); }
.footer-news button {
  width: 100%;
  padding: 0.5rem;
  background: var(--amber-500);
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: background-color 0.15s;
}
.footer-news button:hover { background: var(--amber-400); }
.footer-subscribed {
  padding: 0.75rem;
  background: rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-lg);
  color: var(--emerald-300);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-subscribed .ic { color: var(--emerald-400); }

.footer-safety {
  padding: 1rem;
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 41, 59, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}
.footer-safety > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-safety .ic-shield { color: var(--amber-400); }
.footer-safety .right { gap: 1rem; color: var(--slate-400); }
.footer-safety .right span { display: flex; align-items: center; gap: 0.25rem; }
.footer-safety .right .ic { color: var(--blue-400); }
.footer-safety .right a { text-decoration: underline; }
.footer-safety .right a:hover { color: var(--amber-400); }

.footer-bottom {
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}
.footer-bottom div { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--slate-300); }

@media (min-width: 640px) {
  .footer-safety,
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2 / span 2; }
}

/* ==========================================================================
   SECTIONS / PAGE HEADERS
   ========================================================================== */
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }
.section-xs { padding: 3rem 0; }
.section-white { background: var(--white); }
.section-gray { background: rgba(241, 245, 249, 0.8); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section-light { background: var(--slate-50); border-top: 1px solid var(--slate-200); }
.section-navy { background: var(--navy); color: var(--white); }
.border-b { border-bottom: 1px solid var(--slate-200); }

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}
.section-head-sm { margin-bottom: 3rem; }
.section-head h2,
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 0.5rem;
  line-height: 1.2;
}
.section-head p {
  color: var(--slate-600);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.section-head .with-icon,
.section-title.with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-head .with-icon { justify-content: center; }

.section-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-row-sm { margin-bottom: 2rem; }
.section-row h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 0.75rem;
  line-height: 1.2;
}
.section-row h2.with-icon { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.section-row p { color: var(--slate-600); font-size: 0.875rem; margin-top: 0.25rem; }
@media (min-width: 640px) {
  .section-head h2,
  .section-row h2:not(.with-icon) { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .section-row { flex-direction: row; align-items: flex-end; }
}

.page-header {
  background: var(--navy-dark);
  color: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--slate-800);
}
.page-header .container > * + * { margin-top: 1rem; }
.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
}
.page-header p {
  color: var(--slate-300);
  font-size: 1rem;
  max-width: 42rem;
}
@media (min-width: 640px) {
  .page-header h1 { font-size: 3rem; }
}

/* ==========================================================================
   HOME – HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 620px;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-dark), rgba(2, 31, 50, 0.9), transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero-content > div { max-width: 48rem; }
.hero-content > div > * + * { margin-top: 1.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-300);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-badge .ic { color: var(--amber-400); }
.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--white);
}
.hero h1 .gradient {
  background: linear-gradient(to right, var(--amber-400), var(--amber-200), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.625;
  max-width: 42rem;
}
.hero-actions {
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-actions .btn-amber:hover { box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.25); }
.hero-badges {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--slate-300);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3.75rem; }
  .hero-lead { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: 700px; }
  .hero h1 { font-size: 4.5rem; }
}

/* Stats strip */
.stats {
  background: var(--navy);
  border-top: 1px solid var(--slate-800);
  border-bottom: 1px solid var(--slate-800);
  padding: 2.5rem 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat {
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--slate-800);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--amber-400);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  line-height: 1.4;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat-value { font-size: 2.25rem; }
}

/* About overview (home) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-copy > * + * { margin-top: 1.5rem; }
.about-copy h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}
.about-copy > p { color: var(--slate-600); font-size: 1rem; }
.check-list { font-size: 0.875rem; color: var(--slate-700); }
.check-list > * + * { margin-top: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-list .ic {
  color: var(--emerald-600);
  margin-top: 0.125rem;
}
.about-media { position: relative; }
.about-media-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-200);
}
.about-media-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.about-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent 50%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.about-media-overlay .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber-400);
}
.about-media-overlay .quote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}
.about-media-overlay .cite {
  font-size: 0.75rem;
  color: var(--slate-300);
  margin-top: 0.25rem;
}
.float-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.float-badge .pct {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}
.float-badge .t { font-size: 0.75rem; font-weight: 700; color: var(--slate-900); }
.float-badge .s { font-size: 0.6875rem; color: var(--slate-500); }
@media (min-width: 640px) {
  .about-copy h2 { font-size: 2.25rem; }
  .float-badge { display: flex; }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Feature pillars */
.pillar {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar > * + * { margin-top: 1rem; }
.pillar:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon.blue { background: var(--blue-100); color: var(--blue-700); }
.pillar-icon.amber { background: var(--amber-100); color: var(--amber-700); }
.pillar-icon.emerald { background: var(--emerald-100); color: var(--emerald-700); }
.pillar-icon.blue-solid { background: var(--blue); color: var(--amber-400); }
.pillar-icon.amber-solid { background: var(--amber-500); color: var(--slate-950); }
.pillar-icon.emerald-solid { background: var(--emerald-600); color: var(--white); }
.pillar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}
.pillar p,
.pillar ul {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.625;
}
.pillar ul > * + * { margin-top: 0.25rem; }
.pillar-blue { background: rgba(239, 246, 255, 0.5); border-color: var(--blue-100); }
.pillar-amber { background: rgba(255, 251, 235, 0.5); border-color: var(--amber-100); }
.pillar-emerald { background: rgba(236, 253, 245, 0.5); border-color: var(--emerald-100); }
.pillar-blue > * + *,
.pillar-amber > * + *,
.pillar-emerald > * + * { margin-top: 0.75rem; }

/* CTA banner */
.cta {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta .container {
  max-width: 64rem;
  text-align: center;
}
.cta .container > * + * { margin-top: 1.5rem; }
.cta .kicker {
  color: var(--amber-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.cta h2 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
}
.cta p {
  color: var(--slate-300);
  font-size: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cta .btn-glass { border-color: rgba(255, 255, 255, 0.2); backdrop-filter: none; }
@media (min-width: 640px) {
  .cta h2 { font-size: 3rem; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-img {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-img .tag-tl { position: absolute; top: 0.75rem; left: 0.75rem; }
.card-img .tag-br { position: absolute; bottom: 0.75rem; right: 0.75rem; }
.card-body { padding: 1.25rem; }
.card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  transition: color 0.15s;
  line-height: 1.4;
}
.card:hover .card-body h3 { color: var(--blue-700); }
.card-body .desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-top: 0.5rem;
  line-height: 1.625;
}
.card-footer { padding: 0.5rem 1.25rem 1.25rem; }

/* Program card */
.program-card:hover { border-color: var(--blue-300); }
.program-card .card-img { height: 11rem; }
.program-metrics {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-600);
}
.program-metrics div {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.program-metrics .ic { color: var(--blue); }
.program-metrics .tuition { grid-column: span 2 / span 2; }
.program-metrics .tuition .ic { color: var(--emerald-600); }
.program-metrics .tuition span { font-weight: 600; color: var(--slate-800); }

/* News card */
.news-card .card-img { height: 12rem; }
.news-card .card-img .tag-navy { background: var(--navy); backdrop-filter: none; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}
.news-meta span { display: flex; align-items: center; gap: 0.25rem; }
.news-meta .ic { color: var(--slate-400); }
.news-card .card-body h3 { font-size: 1rem; line-height: 1.375; }
.news-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  margin-top: 0.5rem;
}
.news-author {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.news-author .ic { color: var(--slate-400); }
.news-read {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
}
.news-read:hover { color: var(--blue-800); }

/* Event card */
.event-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-date {
  width: 100%;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  text-align: center;
  border: 1px solid var(--slate-800);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.event-date .lbl {
  color: var(--amber-400);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-date .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.event-date .my {
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 500;
}
.event-body { flex: 1; }
.event-body > * + * { margin-top: 0.5rem; }
.event-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  transition: color 0.15s;
}
.event-body h3:hover { color: var(--blue-700); }
.event-body .desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.625;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  padding-top: 0.25rem;
}
.event-meta span { display: flex; align-items: center; gap: 0.375rem; }
.event-meta .ic-time { color: var(--blue); }
.event-meta .ic-loc { color: var(--amber-600); }
.event-meta .ic-user { color: var(--slate-400); }
.event-rsvp {
  flex-shrink: 0;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--slate-100);
}
.event-rsvp .btn {
  width: 100%;
  font-size: 0.75rem;
  border-radius: var(--radius-lg);
}
.event-rsvp .btn.registered {
  background: var(--emerald-100);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-300);
  box-shadow: none;
}
.event-rsvp .btn.registered .ic { color: var(--emerald-600); }
@media (min-width: 768px) {
  .event-card { flex-direction: row; align-items: center; }
  .event-date {
    width: 7rem;
    flex-direction: column;
    justify-content: center;
  }
  .event-rsvp {
    width: auto;
    padding-top: 0;
    border-top: 0;
  }
  .event-rsvp .btn { width: auto; }
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  animation: fadeIn 0.2s ease-out;
}
.modal-backdrop.top {
  align-items: flex-start;
  padding-top: 4rem;
  background: rgba(15, 23, 42, 0.6);
}
.modal {
  background: var(--white);
  width: 100%;
  max-width: 36rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  position: relative;
  margin: 2rem 0;
}
.modal-cream { background: var(--bg); }
.modal-lg { max-width: 42rem; }
.modal-xl { max-width: 48rem; }
.modal-md { max-width: 32rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--slate-500);
  padding: 0.25rem;
  border-radius: var(--radius);
  display: flex;
  transition: color 0.15s;
  z-index: 2;
}
.modal-close:hover { color: var(--slate-600); }
.modal-close-text {
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--slate-100);
  padding: 0.25rem 0.625rem;
}
.modal-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  position: relative;
}
.modal-header .modal-close:hover { color: var(--white); }
.modal-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-header-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber-400);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-header h3 { font-size: 1.25rem; font-weight: 700; }
.modal-header p { font-size: 0.75rem; color: var(--slate-300); line-height: 1.4; }
.modal-body { padding: 1.5rem; }
.modal-body > * + * { margin-top: 1rem; }
.modal-body h3.title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
}
.modal-body .meta { font-size: 0.75rem; color: var(--slate-500); }
.modal-body .article-img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.modal-body .article {
  font-size: 0.875rem;
  color: var(--slate-700);
  white-space: pre-line;
  line-height: 1.625;
}

/* Program detail modal */
.modal-scroll {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.pd-banner {
  position: relative;
  height: 12rem;
  background: var(--slate-900);
  color: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}
.pd-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.pd-banner-text {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--slate-950), rgba(15, 23, 42, 0.6), transparent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pd-banner-text .faculty {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--amber-400);
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.75rem;
  width: fit-content;
  margin-bottom: 0.5rem;
}
.pd-banner-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.pd-banner-text p { color: var(--slate-300); font-size: 0.75rem; margin-top: 0.25rem; }
.pd-banner .modal-close {
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  padding: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.pd-banner .modal-close:hover { background: var(--slate-900); }
.pd-metrics {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
  font-size: 0.75rem;
  padding: 0.75rem;
  font-weight: 500;
  color: var(--slate-700);
  flex-shrink: 0;
}
.pd-metrics > div { padding: 0.25rem; }
.pd-metrics > div + div { border-left: 1px solid var(--slate-200); }
.pd-metrics .k {
  display: block;
  color: var(--slate-500);
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 700;
}
.pd-metrics .v {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-top: 0.125rem;
}
.pd-metrics .v .ic { color: var(--blue); }
.pd-metrics .v.green { color: var(--emerald-700); }
.pd-metrics .v.green .ic { color: var(--emerald-600); }
.pd-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.875rem;
  color: var(--slate-700);
}
.pd-body > * + * { margin-top: 1.5rem; }
.pd-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pd-body .overview { color: var(--slate-600); line-height: 1.625; }
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.course {
  padding: 0.75rem;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.course .num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.req-list { font-size: 0.75rem; color: var(--slate-600); }
.req-list > * + * { margin-top: 0.375rem; }
.req-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.req-list .dot { color: var(--amber-500); font-weight: 700; }
.pd-footer {
  padding: 1rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.pd-footer .btn-text {
  padding: 0.5rem 1rem;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.875rem;
}
.pd-footer .btn-text:hover { color: var(--slate-900); }
@media (min-width: 640px) {
  .pd-banner { height: 14rem; }
  .pd-banner-text h2 { font-size: 1.875rem; }
  .pd-banner-text p { font-size: 0.875rem; }
  .pd-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Quick search modal */
.search-modal {
  max-width: 42rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--slate-200);
  background: rgba(248, 250, 252, 0.5);
}
.search-bar .ic-search { color: var(--slate-400); }
.search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--slate-800);
  font-weight: 500;
  font-size: 1rem;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--slate-400); }
.search-bar .btn-clear-text {
  font-size: 0.75rem;
  color: var(--slate-400);
  background: rgba(226, 232, 240, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}
.search-bar .btn-clear-text:hover { color: var(--slate-600); }
.search-bar .icon-btn { color: var(--slate-400); padding: 0.25rem; }
.search-results {
  overflow-y: auto;
  padding: 1rem;
}
.search-results > * + * { margin-top: 1.5rem; }
.search-empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--slate-500);
}
.search-empty .ic-big {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  color: rgba(59, 130, 246, 0.4);
}
.search-empty p { font-size: 0.875rem; font-weight: 500; }
.search-empty .strong { color: var(--slate-700); }
.search-empty .hint { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.25rem; }
.search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.search-tags button {
  font-size: 0.75rem;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  transition: all 0.15s;
}
.search-tags button:hover { background: var(--blue-50); color: var(--blue); }
.search-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.search-group > * + * { margin-top: 0.5rem; }
.search-group .search-group-title + * { margin-top: 0; }
.search-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
  text-align: left;
}
.search-item h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--slate-900);
  font-size: 0.875rem;
}
.search-item p { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; line-height: 1.4; }
.search-item .ic { color: var(--slate-300); margin-top: 0.25rem; transition: color 0.15s; }
.search-item.blue:hover { background: rgba(239, 246, 255, 0.8); border-color: var(--blue-100); }
.search-item.blue:hover h3, .search-item.blue:hover .ic { color: var(--blue-700); }
.search-item.emerald:hover { background: rgba(236, 253, 245, 0.8); border-color: var(--emerald-100); }
.search-item.emerald:hover h3, .search-item.emerald:hover .ic { color: var(--emerald-700); }
.search-item.amber:hover { background: rgba(255, 251, 235, 0.8); border-color: var(--amber-100); }
.search-item.amber:hover h3, .search-item.amber:hover .ic { color: var(--amber-700); }
.search-footer {
  padding: 0.75rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  font-size: 0.75rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-footer kbd {
  background: var(--white);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.timeline {
  position: relative;
  border-left: 2px solid rgba(37, 99, 235, 0.3);
  margin-left: 1rem;
}
.timeline > * + * { margin-top: 3rem; }
.timeline-item {
  position: relative;
  padding-left: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -0.8125rem;
  top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--navy);
  border: 4px solid var(--amber-400);
  transition: transform 0.15s;
}
.timeline-item:hover .timeline-dot { transform: scale(1.25); }
.timeline-year {
  font-family: var(--font-display);
  color: var(--amber-700);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.timeline-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s;
}
.timeline-card:hover { box-shadow: var(--shadow-md); }
.timeline-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.timeline-card p { font-size: 0.75rem; color: var(--slate-600); margin-top: 0.25rem; }
@media (min-width: 768px) {
  .timeline { margin-left: 8rem; }
  .timeline-year {
    position: absolute;
    left: -8rem;
    top: 0;
    margin-bottom: 0;
  }
}

.leader-card {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s;
}
.leader-card:hover { box-shadow: var(--shadow-md); }
.leader-card .photo {
  height: 16rem;
  overflow: hidden;
  background: var(--slate-200);
}
.leader-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .body { padding: 1.25rem; }
.leader-card .body > * + * { margin-top: 0.5rem; }
.leader-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); line-height: 1.25; }
.leader-card .role { font-size: 0.75rem; font-weight: 600; color: var(--amber-700); }
.leader-card .bio { font-size: 0.75rem; color: var(--slate-600); line-height: 1.625; padding-top: 0.25rem; }
.leader-card .email {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--blue-700);
  font-weight: 600;
  padding-top: 0.5rem;
}
.leader-card .email:hover { text-decoration: underline; }

.rank-strip { padding: 4rem 0; }
.rank-strip .container { text-align: center; }
.rank-strip .container > * + * { margin-top: 2rem; }
.rank-strip h2 { font-size: 1.5rem; font-weight: 800; color: var(--amber-400); }
.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--slate-300);
}
.rank {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--slate-800);
}
.rank .ic { margin: 0 auto 0.5rem; }
.rank .t { font-weight: 700; color: var(--white); font-size: 0.875rem; }
.rank .s { color: var(--slate-400); }
@media (min-width: 768px) {
  .rank-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   PROGRAMS PAGE
   ========================================================================== */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  box-shadow: var(--shadow-xs);
}
.filter-bar .container { padding-top: 1rem; padding-bottom: 1rem; }
.filter-bar .container > * + * { margin-top: 1rem; }
.filter-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.filter-row .input-wrap { width: 100%; }
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.filter-control {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
}
.filter-control select {
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-800);
  outline: none;
}
.faculty-tabs {
  padding-top: 0.5rem;
  border-top: 1px solid var(--slate-100);
}
@media (min-width: 768px) {
  .filter-row { flex-direction: row; }
  .filter-row .input-wrap { width: 24rem; }
  .filter-controls { width: auto; }
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
}
.results-bar .btn-link { font-size: 0.75rem; color: var(--blue); font-weight: 600; }

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  max-width: 32rem;
  margin: 0 auto;
}
.empty-state > * + * { margin-top: 1rem; }
.empty-state .ic { margin: 0 auto; color: var(--slate-300); }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.empty-state p { font-size: 0.75rem; color: var(--slate-500); }

/* ==========================================================================
   ADMISSIONS PAGE
   ========================================================================== */
.step-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  position: relative;
}
.step-card .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber-500);
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-top: 0.5rem; }
.step-card p { font-size: 0.75rem; color: var(--slate-600); margin-top: 0.25rem; line-height: 1.625; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}
.calc-panel {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}
.calc-panel > * + * { margin-top: 1.5rem; }
.calc-panel h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.75rem;
}
.calc-fields > * + * { margin-top: 1rem; }
.calc-fields .form-label { margin-bottom: 0.5rem; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.option-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  transition: all 0.15s;
  line-height: 1.3;
}
.option-btn:hover { background: var(--slate-100); }
.option-btn.active {
  background: var(--navy);
  color: var(--amber-400);
  border-color: var(--navy);
}
.calc-summary {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-800);
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 7rem;
}
.calc-summary > * + * { margin-top: 1.5rem; }
.calc-summary h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-400);
  border-bottom: 1px solid var(--slate-800);
  padding-bottom: 0.75rem;
}
.calc-lines { font-size: 0.875rem; }
.calc-lines > * + * { margin-top: 0.75rem; }
.calc-line {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--slate-800);
}
.calc-line > span:first-child { color: var(--slate-300); }
.calc-line > span:last-child { font-weight: 600; color: var(--white); }
.calc-total {
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-total .lbl { font-size: 1rem; font-weight: 700; color: var(--slate-200); }
.calc-total .amt {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--amber-400);
}
.calc-note {
  background: rgba(15, 23, 42, 0.8);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-800);
  font-size: 0.75rem;
  color: var(--slate-300);
}
.calc-note > * + * { margin-top: 0.5rem; }
.calc-note .hl {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--emerald-400);
  font-weight: 700;
}
.calc-summary .btn-amber { box-shadow: var(--shadow-md); }
@media (min-width: 640px) {
  .calc-panel, .calc-summary { padding: 2rem; }
  .option-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .option-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .calc-panel { grid-column: span 7 / span 7; }
  .calc-summary { grid-column: span 5 / span 5; }
}

.scholarship-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: border-color 0.15s;
}
.scholarship-card > * + * { margin-top: 0.75rem; }
.scholarship-card:hover { border-color: var(--blue-300); }
.scholarship-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.scholarship-card .deadline { font-size: 0.75rem; color: var(--slate-500); font-weight: 500; }
.scholarship-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.scholarship-card .amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emerald-700);
}
.scholarship-card .elig { font-size: 0.75rem; color: var(--slate-600); line-height: 1.625; }

.faq-list > * + * { margin-top: 0.75rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.faq-q {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q:hover { background: var(--slate-50); }
.faq-q .ic { color: var(--slate-400); }
.faq-item.open .faq-q .ic { color: var(--blue); }
.faq-a {
  display: none;
  padding: 0.75rem 1.5rem 1.25rem;
  font-size: 0.75rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  line-height: 1.625;
}
.faq-item.open .faq-a { display: block; }
.faq-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

/* ==========================================================================
   CAMPUS PAGE
   ========================================================================== */
.facility-card {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}
.facility-card:hover { box-shadow: var(--shadow-md); }
.facility-card .photo {
  height: 15rem;
  overflow: hidden;
  position: relative;
}
.facility-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.facility-card .photo .tag { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--navy); color: var(--amber-400); font-size: 0.75rem; padding: 0.25rem 0.75rem; border: 1px solid rgba(245, 158, 11, 0.3); }
.facility-card .body { padding: 1.5rem; }
.facility-card .body > * + * { margin-top: 0.75rem; }
.facility-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.facility-card .desc { font-size: 0.75rem; color: var(--slate-600); line-height: 1.625; }
.facility-card .highlights { padding-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facility-card .foot {
  padding: 0.75rem 1.5rem;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  font-size: 0.75rem;
  color: var(--slate-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.facility-card .foot span { display: flex; align-items: center; gap: 0.25rem; }
.facility-card .foot .ic-time { color: var(--blue); }
.facility-card .foot .ic-loc { color: var(--amber-600); }

.housing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}
.housing-card:hover { box-shadow: var(--shadow-md); }
.housing-card .photo { height: 12rem; overflow: hidden; position: relative; }
.housing-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.housing-card .photo .tag { position: absolute; top: 0.75rem; left: 0.75rem; }
.housing-card .body { padding: 1.25rem; }
.housing-card .body > * + * { margin-top: 0.75rem; }
.housing-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.housing-card .type { font-size: 0.75rem; font-weight: 600; color: var(--blue); }
.amenities { padding-top: 0.5rem; font-size: 0.75rem; color: var(--slate-600); }
.amenities > * + * { margin-top: 0.375rem; }
.amenities li { display: flex; align-items: center; gap: 0.5rem; }
.amenities .ic { color: var(--emerald-600); }
.housing-card .foot { padding: 0 1.25rem 1.25rem; }

.club-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.club-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.375rem;
}
.club-card p { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }
.club-card .ic { color: var(--slate-400); }

.housing-modal-img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.housing-modal-info { font-size: 0.875rem; color: var(--slate-700); }
.housing-modal-info > * + * { margin-top: 0.5rem; }
.housing-modal-info .sub {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 0.5rem;
}
.housing-modal-info ul { font-size: 0.75rem; color: var(--slate-600); }
.housing-modal-info ul > * + * { margin-top: 0.25rem; }

/* ==========================================================================
   NEWS PAGE
   ========================================================================== */
.news-filter-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.news-filter-bar .container > * + * { margin-top: 0; }
.news-filter-bar .scroll-x { width: 100%; padding-bottom: 0; }
.news-filter-bar .input-wrap { width: 100%; }
.news-filter-bar .input-wrap .input { padding: 0.5rem 0.75rem 0.5rem 2.25rem; font-size: 0.75rem; }
@media (min-width: 768px) {
  .news-filter-bar .container { flex-direction: row; }
  .news-filter-bar .scroll-x { width: auto; }
  .news-filter-bar .input-wrap { width: 18rem; }
}
.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.event-list > * + * { margin-top: 1rem; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}
.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-form-card .sub { font-size: 0.75rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.contact-form-card form > * + * { margin-top: 1rem; }
.contact-success {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--emerald-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--emerald-200);
}
.contact-success > * + * { margin-top: 1rem; }
.contact-success .ic { margin: 0 auto; color: var(--emerald-600); }
.contact-success h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.contact-success p { font-size: 0.75rem; color: var(--slate-600); max-width: 28rem; margin-left: auto; margin-right: auto; }
.contact-side > * + * { margin-top: 1.5rem; }
.hq-card {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-800);
}
.hq-card > * + * { margin-top: 1rem; }
.hq-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--amber-400); }
.hq-card ul { font-size: 0.75rem; color: var(--slate-300); }
.hq-card ul > * + * { margin-top: 0.75rem; }
.hq-card li { display: flex; align-items: flex-start; gap: 0.75rem; }
.hq-card .ic { color: var(--amber-400); margin-top: 0.125rem; }
.map-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
}
.map-preview {
  height: 14rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--slate-800);
}
.map-preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-overlay .caption { color: var(--white); font-size: 0.75rem; font-weight: 600; }
.directory { margin-top: 4rem; }
.directory > * + * { margin-top: 1.5rem; }
.dir-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--slate-200);
}
.dir-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.dir-card ul { font-size: 0.75rem; color: var(--slate-600); padding-top: 0.5rem; }
.dir-card ul > * + * { margin-top: 0.25rem; }
.dir-card li { display: flex; align-items: center; gap: 0.375rem; }
.dir-card .ic-phone { color: var(--blue); }
.dir-card .ic-mail { color: var(--amber-600); }
.dir-card .hours { color: var(--slate-500); }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .contact-form-card { grid-column: span 7 / span 7; }
  .contact-side { grid-column: span 5 / span 5; }
}

/* ==========================================================================
   CAMPUS GALLERY SLIDER
   ========================================================================== */
.gallery {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.gallery-viewport { overflow: hidden; }
.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}
.gallery-slide {
  flex: 0 0 100%;
  position: relative;
  margin: 0;
}
.gallery-slide img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 1.25rem 1.25rem;
  padding-right: 8rem;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.85), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background-color 0.15s, transform 0.15s;
}
.gallery-btn:hover { background: var(--amber-400); }
.gallery-prev { left: 1rem; }
.gallery-prev .ic { transform: rotate(180deg); }
.gallery-next { right: 1rem; }
.gallery-dots {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
}
.gallery-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s, background-color 0.2s;
}
.gallery-dot.active {
  width: 1.5rem;
  background: var(--amber-400);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.gallery-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid transparent;
  opacity: 0.7;
  transition: opacity 0.15s, border-color 0.15s;
  padding: 0;
  display: block;
}
.gallery-thumb img {
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--amber-500);
}
@media (min-width: 640px) {
  .gallery-slide img { height: 22rem; }
  .gallery-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery-thumb img { height: 5rem; }
}
@media (min-width: 1024px) {
  .gallery-slide img { height: 30rem; }
  .gallery-slide figcaption { font-size: 1rem; padding: 4rem 2rem 1.5rem; padding-right: 10rem; }
}

/* ==========================================================================
   VIDEO
   ========================================================================== */
.video-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--slate-950);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-2xl);
}
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-caption {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  color: var(--slate-300);
  background: var(--navy-dark);
  line-height: 1.5;
}

/* ==========================================================================
   POLICIES PAGE
   ========================================================================== */
.policy article { scroll-margin-top: 6rem; }
.policy h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}
.policy p,
.policy li {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.policy ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.policy li + li { margin-top: 0.375rem; }
.policy a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Animations --------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}
