@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple-950: #0f0a1e;
  --purple-900: #1a1033;
  --purple-800: #2d1f5e;
  --purple-700: #3d2b7a;
  --purple-600: #5238a8;
  --purple-500: #6b4fd4;
  --purple-400: #8b74e8;
  --purple-300: #b09ef0;
  --purple-200: #d4c9f8;
  --purple-100: #ede8fc;
  --purple-50: #f7f5fe;

  --gold: #c8973d;
  --gold-light: #e6b55a;
  --gold-pale: #fdf3e1;

  --cream: #f8f6f2;
  --cream-dark: #eeebe3;
  --white: #ffffff;

  --text: #120e24;
  --text-mid: #3a3255;
  --muted: #6b6585;
  --border: rgba(82, 56, 168, 0.12);
  --border-mid: rgba(82, 56, 168, 0.2);

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Outfit", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* ─── UTILITY & HELPER CLASSES ──────────────────────── */
/* Base card utilities */
.card-base {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.18s;
}
.card-light {
  background: var(--white);
  border: 1px solid var(--border);
}
.card-hover {
  cursor: pointer;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(82, 56, 168, 0.1);
  border-color: var(--purple-300);
}

/* Input & form utilities */
.input-base {
  padding: 10px 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s;
}
.input-base:focus {
  border-color: var(--purple-400);
}
.input-light {
  background: var(--white);
  border: 1px solid var(--border-mid);
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-gap-lg {
  gap: 3rem;
}
.grid-gap-md {
  gap: 1.5rem;
}
.grid-gap-sm {
  gap: 1rem;
}

/* Badge utilities */
.badge-base {
  display: inline-block;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 11px;
}
.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
}

/* Number circle badges */
.badge-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Icon container utilities */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.icon-box-sm {
  width: 40px;
  height: 40px;
}
.icon-box-md {
  width: 42px;
  height: 42px;
}
.icon-box-lg {
  width: 80px;
  height: 80px;
}

/* Flex utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-sm {
  gap: 0.5rem;
}
.gap-md {
  gap: 1rem;
}
.gap-lg {
  gap: 1.5rem;
}

/* Text utilities */
.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.text-muted {
  color: var(--muted);
}
.text-light {
  color: rgba(255, 255, 255, 0.6);
}
.text-accent {
  color: var(--purple-500);
}

/* Spacing utilities */
.mb-sm {
  margin-bottom: 0.5rem;
}
.mb-md {
  margin-bottom: 1rem;
}
.mb-lg {
  margin-bottom: 1.5rem;
}
.mt-sm {
  margin-top: 0.5rem;
}
.mt-md {
  margin-top: 1rem;
}
.mt-lg {
  margin-top: 1.5rem;
}
.p-md {
  padding: 1.5rem;
}
.p-lg {
  padding: 2rem;
}

/* Border utilities */
.border-bottom {
  border-bottom: 1px solid var(--border);
}
.border-top {
  border-top: 1px solid var(--border);
}
.border-accent {
  border-color: var(--purple-300);
}

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--purple-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  gap: 6rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.nav-logo-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  /* gap: 0.25rem; */
  justify-content: space-between;
  flex: 1;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.07);
}
.nav-links a.active {
  color: #fff;
  background: rgba(107, 79, 212, 0.35);
}

/* Dropdown for Research Tracks sub-pages */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: rgba(15, 10, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 0.35rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 220;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a.active {
  background: rgba(107, 79, 212, 0.35);
  color: #fff;
}

/* Ensure dropdown items are accessible on mobile */
@media (max-width: 996px) {
  .nav-dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }

  .nav-links.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown-menu a {
    padding-left: 2.5rem;
    background: transparent;
  }
}

.nav-links .apply {
  display: none;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-btn {
  background: var(--purple-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.18s;
  white-space: nowrap;
}
.nav-btn {
  background: var(--purple-500);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-btn:hover {
  background: var(--purple-400);
  transform: translateY(-1px);
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ─── PAGE HEADER ───────────────────────────────────── */
.page-header {
  background: var(--purple-900);
  padding: 4rem 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 80% 50%,
    rgba(107, 79, 212, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(107, 79, 212, 0.25);
  border: 1px solid rgba(139, 116, 232, 0.35);
  border-radius: 100px;
  padding: 4px 14px;
  color: var(--purple-300);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-400);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-header h1 em {
  color: var(--gold-light);
  font-style: italic;
}
.page-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-weight: 300;
  max-width: 580px;
  line-height: 1.8;
}

/* ─── SECTION ───────────────────────────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 4rem;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-500);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--purple-900);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.section-lead {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 640px;
  font-weight: 300;
}
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.full-divider {
  height: 1px;
  background: var(--border);
}

/* ─── DARK SECTION ──────────────────────────────────── */
.dark-section {
  background: var(--purple-900);
  padding: 5rem 0;
}
.dark-section .section-label {
  color: var(--gold-light);
}
.dark-section .section-title {
  color: #fff;
}
.dark-section .section-lead {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--purple-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.footer-sub {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  background: var(--purple-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.18s;
}
.btn-primary:hover {
  background: var(--purple-400);
}
.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--purple-500);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s;
}
.btn-ghost:hover {
  background: var(--purple-50);
}

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(107, 79, 212, 0.35);
}

/* ─── BADGES ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}
.badge-purple {
  background: var(--purple-100);
  color: var(--purple-700);
}
.badge-gold {
  background: var(--gold-pale);
  color: #8a5e10;
}
.badge-green {
  background: #e1f5ee;
  color: #0a6b50;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  background: var(--purple-900);
  padding: 7rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 180%;
  background: radial-gradient(
    ellipse,
    rgba(107, 79, 212, 0.22) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 151, 61, 0.5),
    transparent
  );
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 79, 212, 0.25);
  border: 1px solid rgba(139, 116, 232, 0.35);
  border-radius: 100px;
  padding: 5px 16px;
  color: var(--purple-300);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-400);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* stats panel */
.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.hero-badge {
  background: rgba(107, 79, 212, 0.2);
  border: 1px solid rgba(107, 79, 212, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge-icon {
  width: 42px;
  height: 42px;
  background: var(--purple-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-copy {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.55;
}
.hero-badge-copy strong {
  color: #fff;
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
  font-size: 14px;
}

/* ── WHAT IS ──────────────────────────────── */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.what-col-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid;
}
.what-col-head.yes-head {
  color: var(--purple-500);
  border-color: var(--purple-500);
}
.what-col-head.no-head {
  color: var(--muted);
  border-color: var(--cream-dark);
}
.what-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
}
.wi-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.wi-yes {
  background: var(--purple-100);
  color: var(--purple-600);
}
.wi-no {
  background: #f0eff5;
  color: #bbb;
}

/* ── BENEFITS ─────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.benefit-card {
  transition: transform 0.18s;
}
.benefit-card:hover {
  transform: translateY(-2px);
}
.benefit-num {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.benefit-title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}
.benefit-desc {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.65;
}

/* ── TRACK ────────────────────────────────── */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.track-steps {
  display: flex;
  flex-direction: column;
}
.track-step {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.ts-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cream-dark);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}
.track-step.active .ts-num {
  background: var(--purple-600);
  color: #fff;
}
.ts-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.ts-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.track-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 80px;
}
.tv-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.tv-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--purple-900);
  margin-bottom: 1.5rem;
}
.layering-table {
  width: 100%;
  border-collapse: collapse;
}
.layering-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 2px solid var(--cream-dark);
}
.layering-table td {
  padding: 0.75rem;
  font-size: 13px;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
  line-height: 1.5;
  color: var(--muted);
}
.lvl-ug {
  background: var(--purple-100);
  color: var(--purple-700);
}
.lvl-msc {
  background: #e1f5ee;
  color: #0a6b50;
}
.lvl-phd {
  background: var(--gold-pale);
  color: #8a5e10;
}
.track-note {
  margin-top: 1.5rem;
  background: var(--purple-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--purple-500);
  padding: 1rem 1.1rem;
}
.track-note-label {
  font-size: 11px;
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  margin-bottom: 4px;
}
.track-note-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── NETWORK CALENDAR ─────────────────────── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.cal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.cal-card.flagship {
  border-top: 3px solid var(--gold);
}
.cal-freq {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  font-weight: 500;
  margin-bottom: 8px;
}
.cal-card.flagship .cal-freq {
  color: var(--gold);
}
.cal-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.cal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── MILESTONES ───────────────────────────── */
.milestones {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
}
.ms-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ms-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--purple-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.ms-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.ms-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.ms-deadline {
  display: inline-block;
  margin-top: 6px;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 11px;
  padding: 3px 11px;
  font-weight: 500;
}

/* ── INTEGRITY ────────────────────────────── */
.integrity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.int-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.int-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(200, 151, 61, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.int-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.int-desc {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.7;
}
.quote-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 151, 61, 0.28);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  line-height: 1.75;
}
.quote-attr {
  margin-top: 1rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── CTA STRIP ────────────────────────────── */
.cta-strip {
  background: var(--purple-800);
  padding: 4rem;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  margin-bottom: 2rem;
  font-weight: 300;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── ADMIN DASHBOARD ───────────────────────────────── */
.login-wrap {
  position: fixed;
  inset: 0;
  background: var(--purple-900);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.login-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem;
  width: 380px;
  text-align: center;
}
.login-logo {
  width: 52px;
  height: 52px;
  background: var(--purple-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: #fff;
  overflow: hidden;
}
.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.login-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.login-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}
.login-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: 0.1em;
}
.login-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0;
}
.login-btn {
  width: 100%;
  padding: 12px;
  background: var(--purple-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.18s;
}
.login-btn:hover {
  background: var(--purple-400);
}
.login-err {
  color: #f87171;
  font-size: 13px;
  margin-top: 0.6rem;
  display: none;
}

.shell {
  display: flex;
  height: 100vh;
}
.sidebar {
  width: 240px;
  background: var(--purple-900);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sb-logo {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.sb-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.sb-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sb-logo-text {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.sb-logo-sub {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.sb-nav {
  flex: 1;
  padding: 1rem 0;
}
.sb-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.sb-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.sb-link.active {
  color: #fff;
  background: rgba(107, 79, 212, 0.25);
  border-left-color: var(--purple-400);
}
.sb-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sb-badge {
  margin-left: auto;
  background: var(--purple-600);
  color: #fff;
  border-radius: 100px;
  font-size: 10px;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
}
.sb-badge.red {
  background: var(--red);
}
.sb-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sb-footer a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-footer a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.main {
  flex: 1;
  overflow-y: auto;
}
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.topbar-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.content {
  padding: 2rem;
}

.panel {
  display: none;
}
.panel.active {
  display: block;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--purple-800);
  line-height: 1;
}
.stat-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary {
  background: var(--purple-600);
  color: #fff;
}
.btn-primary:hover {
  background: var(--purple-500);
}
.btn-danger {
  background: rgba(217, 54, 62, 0.15);
  color: #d9363e;
  border: 1px solid rgba(217, 54, 62, 0.25);
}
.btn-danger:hover {
  background: rgba(217, 54, 62, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--purple-600);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--purple-50);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn-success {
  background: #e1f5ee;
  color: #0a6b50;
  border: 1px solid rgba(15, 123, 108, 0.25);
}

.table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.table-header h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.tbl {
  width: 100%;
  border-collapse: collapse;
}
.tbl th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  background: var(--purple-50);
}
.tbl td {
  padding: 0.85rem 1rem;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.tbl tr:last-child td {
  border-bottom: none;
}
.tbl tr:hover td {
  background: var(--purple-50);
}
.tbl-actions {
  display: flex;
  gap: 6px;
}
.fellow-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-700);
  flex-shrink: 0;
  overflow: hidden;
}
.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── ABOUT PAGE ────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-quote {
  background: var(--purple-900);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(107, 79, 212, 0.2);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}
.about-quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  line-height: 1.75;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.about-quote-attr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.designation-box {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.desig-badge {
  display: inline-block;
  background: var(--purple-900);
  color: var(--purple-300);
  padding: 0.6rem 1.8rem;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(107, 79, 212, 0.35);
}
.desig-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--purple-900);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.desig-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.desig-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.desig-use {
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 12px;
  padding: 4px 14px;
}

.grounds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.ground-card {
  background: rgba(200, 50, 50, 0.07);
  border: 1px solid rgba(200, 50, 50, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ground-icon {
  width: 20px;
  height: 20px;
  background: rgba(200, 50, 50, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #e06060;
}
.ground-text {
  font-size: 14px;
  /* color: var(--muted); */
  color: #e06060;
  line-height: 1.6;
}

/* ─── FELLOWS PAGE ──────────────────────────────────── */
.fellows-controls {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 4rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s;
}
.search-box input:focus {
  border-color: var(--purple-400);
}
.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.filter-select {
  padding: 10px 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  outline: none;
  cursor: pointer;
  min-width: 160px;
}
.fellows-count {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.fellows-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 4rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fellow-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  cursor: pointer;
}
.fellow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(82, 56, 168, 0.1);
  border-color: var(--purple-300);
}
.fellow-card-top {
  background: var(--purple-900);
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.fellow-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fellow-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fellow-avatar-initials {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.fellow-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}
.fellow-ftitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.fellow-top-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fellow-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(107, 79, 212, 0.3);
  border: 1px solid rgba(139, 116, 232, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  color: var(--purple-300);
}
.fellow-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-400);
}
.priority-badge {
  background: rgba(200, 151, 61, 0.22);
  border: 1px solid rgba(200, 151, 61, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  color: var(--gold-light);
}
.fellow-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.fellow-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 1.1rem;
}
.fellow-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.fellow-meta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--purple-400);
}
.ra-box {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}
.ra-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--purple-500);
  font-weight: 500;
  margin-bottom: 5px;
}
.ra-title {
  font-size: 13px;
  color: var(--purple-800);
  font-weight: 500;
  line-height: 1.45;
}
.ra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.ra-tag {
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 11px;
  padding: 2px 9px;
}
.fellow-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fellow-cycle {
  font-size: 11px;
  color: var(--muted);
}
.view-btn {
  font-size: 12px;
  color: var(--purple-600);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 30, 0.7);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-hdr {
  background: var(--purple-900);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.m-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-avatar-i {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.m-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 3px;
}
.m-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}
.m-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-body {
  padding: 2rem;
}
.m-sec {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.m-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.m-detail {
  background: var(--purple-50);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}
.m-detail-l {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}
.m-detail-v {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.m-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.m-track {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-tag {
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 12px;
  padding: 4px 12px;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.18s;
}
.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  grid-column: 1/-1;
}

/* ─── APPLY PAGE ────────────────────────────────────── */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.ob-list {
  display: flex;
  flex-direction: column;
}
.ob-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ob-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--purple-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
.ob-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}
.ob-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.ob-deadline {
  display: inline-block;
  margin-top: 6px;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 11px;
  padding: 3px 11px;
  font-weight: 500;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: sticky;
  top: 80px;
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple-900);
  margin-bottom: 0.4rem;
}
.form-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2rem;
}
.form-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  font-weight: 500;
  margin: 1.5rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 5px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(82, 56, 168, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple-400);
}
.form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.file-upload {
  border: 1.5px dashed rgba(82, 56, 168, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
}
.file-upload:hover {
  border-color: var(--purple-400);
  background: var(--purple-50);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload-icon {
  color: var(--purple-400);
  margin-bottom: 6px;
}
.file-upload-text {
  font-size: 13px;
  color: var(--muted);
}
.file-upload-text strong {
  color: var(--purple-600);
}
.file-name-display {
  font-size: 12px;
  color: var(--purple-600);
  margin-top: 5px;
  font-weight: 500;
}
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--purple-600);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.18s;
  margin-top: 0.75rem;
}
.form-submit:hover {
  background: var(--purple-500);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.success-panel {
  display: none;
  text-align: center;
  padding: 2rem;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #e1f5ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple-900);
  margin-bottom: 0.5rem;
}
.success-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.crit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.crit-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(107, 79, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.crit-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.crit-desc {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.7;
}
.notice-box {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--purple-800);
  margin-bottom: 3px;
}
.notice-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── RESEARCH TRACKS PAGE ──────────────────────────── */
.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.comp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.comp-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--purple-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.comp-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.comp-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.layering-section {
  margin-top: 2.5rem;
}
.layering-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.layer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.layer-header {
  padding: 1.25rem 1.5rem;
}
.layer-header.ug {
  background: var(--purple-900);
}
.layer-header.msc {
  background: #0a3d2e;
}
.layer-header.phd {
  background: #3d2a08;
}
.layer-level {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.layer-level.ug {
  color: var(--purple-300);
}
.layer-level.msc {
  color: #6ddab5;
}
.layer-level.phd {
  color: var(--gold-light);
}
.layer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}
.layer-body {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  height: 100%;
}
.layer-role {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 8px;
}
.layer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.layer-output {
  background: var(--purple-50);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 12px;
  color: var(--purple-700);
}

.lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.ls-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  position: relative;
}
.ls-card::after {
  content: "→";
  position: absolute;
  right: -0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple-300);
  font-size: 1.2rem;
  z-index: 1;
}
.ls-card:last-child::after {
  display: none;
}
.ls-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-600);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.ls-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.ls-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.domain-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: background 0.18s;
}
.domain-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.domain-icon {
  width: 42px;
  height: 42px;
  background: rgba(107, 79, 212, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.domain-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.domain-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.65;
}

/* ─── NETWORK & EVENTS PAGE ─────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.event-card-top {
  background: var(--purple-900);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.event-card-top.summit {
  background: linear-gradient(135deg, var(--purple-800), #2a1a5a);
  border-bottom: 2px solid var(--gold);
}
.event-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(107, 79, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-icon.summit-icon {
  background: rgba(200, 151, 61, 0.25);
}
.event-freq {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-300);
  margin-bottom: 4px;
}
.event-freq.gold {
  color: var(--gold-light);
}
.event-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}
.event-body {
  padding: 1.5rem;
}
.event-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.event-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.event-tag {
  background: var(--purple-50);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 12px;
  padding: 4px 12px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.calendar-table th {
  background: var(--purple-900);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 1rem 1.25rem;
  text-align: left;
}
.calendar-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}
.calendar-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}
.calendar-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}
.calendar-table tr:last-child td {
  border-bottom: none;
}
.calendar-table tr:hover td {
  background: var(--purple-50);
}
.participation-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}
.part-expected {
  background: var(--purple-100);
  color: var(--purple-700);
}
.part-invited {
  background: var(--cream-dark);
  color: var(--muted);
}
.part-all {
  background: #fdf3e1;
  color: #8a5e10;
}
.part-nomination {
  background: #e1f5ee;
  color: #0a6b50;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.ms-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.ms-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--purple-500);
  font-weight: 500;
  margin-bottom: 6px;
}
.ms-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.ms-when {
  font-size: 12px;
  color: var(--muted);
}

.nomination-box {
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}
.nom-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--purple-900);
  margin-bottom: 0.5rem;
}
.nom-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.nom-stat {
  text-align: center;
  background: var(--purple-900);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
}
.nom-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1;
}
.nom-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.renewal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.renewal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.renewal-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(107, 79, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.renewal-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ─── PROJECTS PAGE ─────────────────────────────────── */
.sub-nav {
  background: var(--purple-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  gap: 0;
}
.sub-nav-link {
  padding: 12px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
  text-decoration: none;
  display: block;
}
.sub-nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
}
.sub-nav-link.active {
  color: #fff;
  border-bottom-color: var(--gold-light);
}
.controls {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 4rem 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.search-input {
  padding: 10px 16px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  min-width: 240px;
  flex: 1;
  transition: border-color 0.18s;
}
.search-input:focus {
  border-color: var(--purple-400);
}
.result-count {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}
.projects-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 4rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.proj-card:hover {
  border-color: var(--purple-300);
  transform: translateY(-2px);
}
.proj-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.proj-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--purple-900);
  font-weight: 600;
  line-height: 1.35;
}
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-ongoing {
  background: #e1f5ee;
  color: #0a6b50;
}
.status-completed {
  background: #e6f1fb;
  color: #185fa5;
}
.status-planned {
  background: #fef3c7;
  color: #b45309;
}
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1rem;
}
.proj-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}
.proj-meta-item svg {
  color: var(--purple-400);
}
.proj-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.proj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.proj-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.proj-tag {
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 100px;
  font-size: 11px;
  padding: 2px 9px;
}
.proj-dataset {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

/* ─── PUBLICATIONS PAGE ─────────────────────────────── */
.pubs-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.18s;
}
.pub-card:hover {
  border-color: var(--purple-300);
}
.pub-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.pub-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.pub-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple-900);
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}
.pub-authors {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.pub-authors span {
  font-weight: 500;
  color: var(--purple-700);
}
.pub-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1rem;
}
.pub-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}
.pub-meta-item svg {
  color: var(--purple-400);
}
.pub-journal {
  font-style: italic;
  font-weight: 500;
  color: var(--purple-600);
}
.pub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.pub-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pub-actions {
  display: flex;
  gap: 8px;
}
.doi-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--purple-600);
  text-decoration: none;
  transition: all 0.18s;
}
.doi-link:hover {
  background: var(--purple-50);
  border-color: var(--purple-300);
}
.oa-badge {
  background: #e1f5ee;
  color: #0a6b50;
}
.sub-badge {
  background: #f0eff5;
  color: var(--muted);
}
.area-badge {
  background: var(--purple-100);
  color: var(--purple-700);
}
.type-original {
  background: var(--purple-100);
  color: var(--purple-700);
}
.type-review {
  background: #e6f1fb;
  color: #185fa5;
}
.type-other {
  background: #f0eff5;
  color: var(--muted);
}

.stats-strip {
  background: var(--purple-900);
  padding: 2rem 4rem;
  color: #fff;
}
.stats-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}
.strip-stat {
  text-align: center;
}
.strip-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 600;
}
.strip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
}

/* ────────────────────────────────────────────────────── */
/* ─── RESPONSIVE DESIGN - MEDIA QUERIES ─────────────── */
/* ────────────────────────────────────────────────────── */

/* ── Tablet: 768px and below ──────────────────────────── */
@media (max-width: 996px) {
  :root {
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
  }

  /* Navigation */
  .nav {
    padding: 0 1.5rem;
    gap: 1.5rem;
    height: 60px;
  }

  .nav-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border: none;
  }

  .nav-logo-text {
    font-size: 13px;
  }

  .nav-logo-sub {
    font-size: 9px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--purple-900);
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.5rem 0;
    z-index: 199;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 1.5rem;
    border-radius: 0;
  }

  .nav-links .apply {
    display: contents;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-end {
    gap: 8px;
    display: none;
  }

  .nav-btn {
    padding: 8px 16px;
    font-size: 13px;
    display: none;
  }

  /* Page Header */
  .page-header {
    padding: 2.5rem 1.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .page-header p {
    font-size: 14px;
    max-width: 100%;
  }

  /* Section */
  .section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-label {
    font-size: 10px;
  }

  /* Hero Section */
  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .hero-panel {
    padding: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat {
    padding: 1rem;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .what-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .track-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .track-visual {
    position: relative;
    top: auto;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .apply-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
  }

  .fellows-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 1.5rem 1.5rem 3rem;
  }

  .components-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1rem;
  }

  .layering-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .lifecycle-steps {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
  }

  .domains-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .events-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .criteria-grid {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 1.5rem;
  }

  .renewal-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1rem;
  }

  .nomination-box {
    padding: 1rem;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }
  .calendar-table th {
    font-size: 9px;
  }

  .calendar-table td {
    font-size: 10px;
  }

  .fellows-controls {
    padding: 1.5rem 1.5rem 0;
    flex-direction: column;
    align-items: stretch;
  }
  .search-box,
  .filter-select {
    width: 100%;
    min-width: auto;
  }

  .fellows-count {
    margin-left: 0;
  }

  /* Buttons */
  .btn-primary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions button {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions button {
    width: 100%;
  }

  /* Tables */
  .layering-table {
    font-size: 12px;
  }

  .layering-table th,
  .layering-table td {
    padding: 0.6rem 0.5rem;
  }

  /* Footer */
  footer {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .footer-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  /* Cards */
  .cal-card {
    padding: 1.25rem;
  }

  .benefit-card {
    padding: 1.25rem;
  }

  /* Typography */
  .cta-strip h2 {
    font-size: 1.6rem;
  }

  .cta-strip p {
    font-size: 14px;
  }
}

/* ── Mobile: 480px and below ──────────────────────────── */
@media (max-width: 480px) {
  :root {
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
  }

  /* Base spacing */
  body {
    line-height: 1.5;
  }

  /* Navigation */
  .nav {
    padding: 0 1rem;
    gap: 0.5rem;
    height: 56px;
  }

  .nav-logo-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .nav-logo-text {
    font-size: 12px;
  }

  .nav-logo-sub {
    font-size: 8px;
  }

  /* Page Header */
  .page-header {
    padding: 1.5rem 1rem;
  }

  .page-header-inner {
    padding: 0;
  }

  .page-eyebrow {
    font-size: 10px;
    padding: 3px 10px;
    margin-bottom: 1rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .page-header p {
    font-size: 13px;
    max-width: 100%;
    line-height: 1.6;
  }

  /* Section */
  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .section-label {
    font-size: 9px;
    margin-bottom: 0.4rem;
  }

  .section-lead {
    font-size: 14px;
    max-width: 100%;
  }

  /* Hero */
  .hero {
    padding: 2rem 1rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-eyebrow {
    padding: 4px 12px;
    font-size: 10px;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 13px;
    margin-bottom: 1rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-actions button {
    width: 100%;
    padding: 10px 16px;
    font-size: 12px;
  }

  .hero-panel {
    padding: 1.25rem;
  }

  .hero-stats {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-stat {
    padding: 0.9rem;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 10px;
    margin-top: 4px;
  }

  .hero-badge {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero-badge-icon {
    width: 36px;
    height: 36px;
  }

  .hero-badge-copy {
    font-size: 12px;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .cal-grid {
    grid-template-columns: 1fr;
  }

  .integrity-grid {
    grid-template-columns: 1fr;
  }

  .grounds-grid {
    grid-template-columns: 1fr;
  }

  .what-item {
    font-size: 13px;
    padding: 0.5rem 0;
  }

  .wi-icon {
    width: 18px;
    height: 18px;
  }

  /* Buttons */
  .btn-primary,
  .btn-outline,
  .btn-ghost {
    padding: 9px 16px;
    font-size: 12px;
    border-radius: var(--radius-sm);
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-actions button {
    width: 100%;
  }

  .cta-strip {
    padding: 2rem 1rem;
  }

  .cta-strip h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .cta-strip p {
    font-size: 13px;
    margin-bottom: 1.5rem;
  }

  /* Cards */
  .card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .card-dark {
    padding: 1.25rem;
  }

  .cal-card {
    padding: 1rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .benefit-num {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .benefit-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .benefit-desc {
    font-size: 11px;
  }

  /* Fellows page */
  .fellows-controls {
    padding: 1rem;
  }

  .search-box input,
  .filter-select {
    padding: 8px 12px;
    font-size: 13px;
  }

  .fellows-grid {
    padding: 1rem;
    gap: 1rem;
  }

  .fellow-card-top {
    padding: 1.25rem 1rem;
  }

  .fellow-avatar {
    width: 50px;
    height: 50px;
  }

  .fellow-name {
    font-size: 1rem;
  }

  .fellow-ftitle {
    font-size: 11px;
  }

  .fellow-card-body {
    padding: 1rem;
  }

  /* Forms & Inputs */
  .search-box input {
    margin-bottom: 0;
  }

  .login-box {
    width: 90%;
    max-width: 320px;
    padding: 2rem;
  }

  .designation-box {
    padding: 1.5rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .footer-logo-text {
    font-size: 13px;
  }

  .footer-sub {
    font-size: 11px;
  }

  .footer-links {
    gap: 1rem;
    font-size: 11px;
  }

  /* Tables */
  .layering-table {
    font-size: 11px;
  }

  .layering-table th,
  .layering-table td {
    padding: 0.5rem 0.4rem;
  }

  .lvl-ug,
  .lvl-msc,
  .lvl-phd {
    font-size: 10px;
    padding: 2px 6px;
  }

  .badge {
    padding: 2px 8px;
    font-size: 10px;
  }

  /* Text utilities responsive */
  .text-uppercase {
    letter-spacing: 0.08em;
  }

  /* Spacing */
  .mb-lg,
  .mt-lg {
    margin: 1rem 0;
  }

  .p-lg {
    padding: 1rem;
  }

  /* Track section */
  .track-steps {
    gap: 0;
  }

  .track-step {
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .ts-num {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .ts-title {
    font-size: 13px;
  }

  .ts-desc {
    font-size: 12px;
  }

  /* Quote section */
  .quote-text {
    font-size: 1rem;
  }

  .quote-attr {
    font-size: 11px;
  }

  /* Admin responsive */
  .login-err {
    font-size: 12px;
  }

  .login-title {
    font-size: 1.4rem;
  }

  .sidebar {
    width: auto;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .sidebar.open {
    transform: translateX(0);
  }
}
