/* ===== DESIGN TOKENS ===== */
:root {
  --ink: #1A2744;
  --ink-light: #243454;
  --rust: #C4521E;
  --rust-light: #E06530;
  --white: #FFFFFF;
  --near-black: #1C1C1C;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --gray-bg: #F3F4F6;
  --radius: 0;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1120px;
  --nav-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--rust); color: var(--white); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--ink);
  color: var(--gray);
  font-size: 0.72rem;
  padding: 5px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-dot { color: var(--rust); font-size: 0.45rem; margin-right: 4px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a { color: var(--gray); }
.topbar-right a:hover { color: var(--rust); }
@media (max-width:640px) { .topbar-right { display: none; } }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 2px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark {
  width: 30px; height: 30px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.brand-text { line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  display: block;
}
.brand-sub {
  font-size: 0.6rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--near-black);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--rust); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 26px; height: 26px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); }
.nav-mobile {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 2px solid var(--gray-light);
  padding: 12px 20px 20px; flex-direction: column; gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 12px; font-size: 0.88rem; font-weight: 500;
  color: var(--near-black);
}
.nav-mobile a:hover { background: var(--gray-bg); }
@media (max-width:768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.82rem; padding: 9px 20px;
  border: 2px solid var(--ink);
  cursor: pointer; transition: all 0.15s; line-height: 1.2;
}
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-light); }
.btn-rust { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn-rust:hover { background: var(--rust-light); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 6px 14px; font-size: 0.75rem; }
.btn-lg { padding: 12px 28px; font-size: 0.9rem; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 60px 0 48px;
  background: var(--gray-bg);
  border-bottom: 2px solid var(--gray-light);
}
.page-hero .label {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--ink); line-height: 1.15;
  max-width: 720px; margin-bottom: 12px;
}
.page-hero h1 em { font-style: normal; color: var(--rust); }
.page-hero .lede {
  font-size: 0.95rem; color: var(--gray);
  max-width: 580px; line-height: 1.6;
}

/* ===== SECTION ===== */
.section { padding: 56px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-gray { background: var(--gray-bg); }
.label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  color: var(--ink); margin-bottom: 6px;
  line-height: 1.2;
}
.section-title .hl { color: var(--rust); }
.section-sub {
  color: var(--gray); font-size: 0.9rem;
  margin-bottom: 32px; max-width: 540px;
  line-height: 1.6;
}

/* ===== HOME HERO ===== */
.hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-meta {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink); line-height: 1.1;
  margin-bottom: 14px;
}
.hero h1 .hl { color: var(--rust); }
.hero p {
  font-size: 0.95rem; color: var(--gray);
  line-height: 1.7; max-width: 480px; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero 22 block */
.hero-22 {
  text-align: center;
  padding: 32px 24px;
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  position: relative;
}
.hero-22-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--ink);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.hero-22-line { width: 32px; height: 3px; background: var(--rust); margin: 12px auto; }
.hero-22-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
}
.hero-22-sub {
  font-size: 0.8rem; color: var(--gray);
  margin-top: 8px; max-width: 200px; margin-left: auto; margin-right: auto;
  line-height: 1.4;
}
@media (max-width:768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
}
.stat-cell {
  padding: 28px 20px;
  border-right: 1px solid var(--gray-light);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--ink); line-height: 1;
  letter-spacing: -0.03em;
}
.stat-num sup { font-size: 0.45em; color: var(--rust); top: -0.5em; }
.stat-label {
  font-size: 0.72rem; color: var(--gray);
  margin-top: 4px; font-weight: 500;
}
.stat-desc {
  font-size: 0.68rem; color: var(--gray);
  margin-top: 2px;
}
@media (max-width:640px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ===== CARDS (varied) ===== */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.card-simple {
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  padding: 24px;
}
.card-simple .card-num {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--gray); margin-bottom: 6px;
}
.card-simple h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--ink); margin-bottom: 2px;
}
.card-simple .card-sub {
  font-size: 0.72rem; color: var(--gray); margin-bottom: 8px;
}
.card-simple p {
  font-size: 0.82rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px;
}
.card-simple .card-link {
  font-size: 0.78rem; font-weight: 600; color: var(--rust);
}
.card-simple .card-link:hover { text-decoration: underline; }

/* ===== METHOD ===== */
.method-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--gray-light);
}
.method-cell {
  padding: 24px;
  border-bottom: 1px solid var(--gray-light);
  border-right: 1px solid var(--gray-light);
}
.method-cell:nth-child(even) { border-right: none; }
.method-cell .m-num {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--gray); margin-bottom: 4px;
}
.method-cell h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; color: var(--ink); margin-bottom: 4px;
}
.method-cell p {
  font-size: 0.8rem; color: var(--gray); line-height: 1.5;
}
@media (max-width:600px) {
  .method-2col { grid-template-columns: 1fr; }
  .method-cell { border-right: none; }
}

/* ===== FACULTY ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.faculty-item {
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  padding: 20px;
  text-align: center;
}
.faculty-item .f-avatar {
  width: 52px; height: 52px;
  background: var(--white);
  border: 2px solid var(--gray-light);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: var(--ink);
}
.faculty-item h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; color: var(--ink);
}
.faculty-item .f-sub {
  font-size: 0.7rem; color: var(--rust); font-weight: 500; margin-top: 1px;
}
.faculty-item .f-edu {
  font-size: 0.65rem; color: var(--gray); margin-top: 2px;
}

/* ===== RESULTS TABLE ===== */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--gray-light);
}
table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
th {
  text-align: left; padding: 10px 14px;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); border-bottom: 2px solid var(--gray-light);
  background: var(--gray-bg);
}
td { padding: 10px 14px; border-bottom: 1px solid var(--gray-light); color: var(--near-black); }
tr:last-child td { border-bottom: none; }
.r-rank { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.r-name { font-weight: 500; }
.r-college { color: var(--gray); font-size: 0.78rem; }

/* ===== TESTIMONIALS ===== */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.test-item {
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  padding: 24px;
}
.test-item blockquote {
  font-size: 0.88rem; color: var(--near-black);
  line-height: 1.6; margin-bottom: 14px;
}
.test-item cite { font-style: normal; }
.test-item .t-name { font-weight: 600; font-size: 0.82rem; color: var(--ink); }
.test-item .t-detail { font-size: 0.7rem; color: var(--gray); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  padding: 24px;
}
.contact-card .c-icon { font-size: 1.3rem; margin-bottom: 8px; }
.contact-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--ink); margin-bottom: 6px;
}
.contact-card p { font-size: 0.82rem; color: var(--near-black); line-height: 1.5; }
.contact-card a { color: var(--rust); }
.contact-card a:hover { text-decoration: underline; }

/* ===== FORM ===== */
form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 500;
  color: var(--ink); margin-bottom: 4px;
}
.form-group .req { color: var(--rust); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 8px 12px;
  font-family: var(--font-body); font-size: 0.88rem;
  border: 2px solid var(--gray-light);
  background: var(--white); color: var(--near-black);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--rust);
}
.form-group textarea { resize: vertical; }
@media (max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== CAREERS ===== */
.careers-text { max-width: 600px; margin-bottom: 24px; font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.careers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.career-card {
  background: var(--gray-bg); border: 2px solid var(--gray-light); padding: 24px;
}
.career-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 2px; }
.career-card .c-tag { font-size: 0.68rem; color: var(--rust); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.career-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ===== ENQUIRIES ===== */
.enq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.enq-item {
  background: var(--gray-bg); border: 2px solid var(--gray-light); padding: 16px 20px;
}
.enq-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 2px; }
.enq-item a { font-size: 0.8rem; color: var(--rust); }
.enq-item a:hover { text-decoration: underline; }

/* ===== TIMELINE ===== */
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tl-item {
  background: var(--gray-bg); border: 2px solid var(--gray-light); padding: 16px; text-align: center;
}
.tl-item .tl-year { font-family: var(--font-mono); font-size: 0.65rem; color: var(--rust); letter-spacing: 0.08em; margin-bottom: 2px; }
.tl-item p { font-size: 0.78rem; color: var(--near-black); line-height: 1.4; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 640px; }
.faq-item { border-bottom: 2px solid var(--gray-light); padding: 14px 0; }
.faq-q {
  font-weight: 600; font-size: 0.9rem; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q:hover { color: var(--rust); }
.faq-a {
  font-size: 0.84rem; color: var(--gray); line-height: 1.5;
  margin-top: 8px; display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===== COMPARISON ===== */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.comp-card {
  background: var(--gray-bg); border: 2px solid var(--gray-light); padding: 20px; text-align: center;
}
.comp-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.comp-class { font-size: 0.68rem; color: var(--rust); font-weight: 500; margin-bottom: 6px; }
.comp-stat { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.comp-label { font-size: 0.6rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== PROGRAM SECTIONS ===== */
.prog-section { padding: 48px 0; }
.prog-section:nth-child(even) { background: var(--gray-bg); }
.prog-header {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: start;
}
.prog-info h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--ink); margin-bottom: 12px;
}
.prog-info h2 .hl { color: var(--rust); }
.prog-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.prog-detail { font-size: 0.83rem; color: var(--near-black); line-height: 1.6; }
.prog-detail p { margin-bottom: 6px; }
.prog-sidebar {
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  padding: 20px;
}
.prog-sidebar h5 {
  font-family: var(--font-mono); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray); margin-bottom: 10px;
}
.prog-sidebar li {
  font-size: 0.8rem; color: var(--near-black);
  padding: 4px 0;
}
.prog-sidebar .bar { width: 24px; height: 2px; background: var(--rust); margin: 10px 0; }
.prog-sidebar .note { font-size: 0.72rem; color: var(--gray); line-height: 1.4; }
@media (max-width:768px) { .prog-header { grid-template-columns: 1fr; } }

/* ===== PULLQUOTE ===== */
.pullquote {
  max-width: 600px; padding: 0;
}
.pullquote blockquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ink); line-height: 1.4;
}
.pullquote cite { display: block; font-size: 0.78rem; color: var(--gray); font-style: normal; margin-top: 8px; }
.pullquote cite .hl { color: var(--rust); }

/* ===== MAP ===== */
.map-box {
  background: var(--gray-bg); border: 2px solid var(--gray-light);
  padding: 48px 20px; text-align: center;
}
.map-box p { color: var(--gray); font-size: 0.85rem; margin-top: 6px; }

/* ===== PHILOSOPHY BLOCK ===== */
.phil-block {
  padding: 64px 0;
  text-align: center;
}
.phil-block blockquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.5; max-width: 680px; margin: 0 auto 16px;
}
.phil-block cite { font-size: 0.82rem; color: var(--gray); font-style: normal; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--gray);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.78rem; line-height: 1.6; color: var(--gray); }
.footer-col h5 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--white); margin-bottom: 14px;
}
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: 0.78rem; color: var(--gray); }
.footer-col a:hover { color: var(--rust); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 0.7rem; color: rgba(107,114,128,0.6);
}
.footer-bot a { color: inherit; }
.footer-bot a:hover { color: var(--rust); }
@media (max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== IMAGES ===== */
.img-full { width: 100%; height: 100%; object-fit: cover; }
.img-round { border-radius: 50%; }
.img-bordered { border: 2px solid var(--gray-light); }
.img-cover { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

/* ===== HERO WITH IMAGE ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.hero-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
}
.hero-split-image {
  position: relative;
  overflow: hidden;
  background: var(--gray-bg);
}
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-split-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 30%);
}
@media (max-width:768px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-image { order: -1; min-height: 240px; }
  .hero-split-image::after { background: linear-gradient(0deg, var(--white) 0%, transparent 40%); }
  .hero-split-content { padding: 32px 20px; }
}

/* ===== DECORATIVE DOT PATTERN ===== */
.pattern-dots {
  position: relative;
}
.pattern-dots::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--gray-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}
.pattern-dots-dark::before {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
}
.pattern-content { position: relative; z-index: 1; }

/* ===== DECORATIVE LINE ACCENT ===== */
.accent-line {
  width: 40px; height: 3px; background: var(--rust);
  margin: 16px 0;
}
.accent-line-center { margin: 16px auto; }

/* ===== SVG FACULTY AVATARS ===== */
.faculty-avatar-svg {
  width: 64px; height: 64px;
  margin: 0 auto 10px;
}
.faculty-avatar-svg svg { width: 100%; height: 100%; }
.faculty-avatar-svg .avatar-bg { fill: var(--gray-bg); stroke: var(--gray-light); stroke-width: 1.5; }
.faculty-avatar-svg .avatar-hair { fill: var(--ink); }
.faculty-avatar-svg .avatar-face { fill: #F5D6C6; }
.faculty-avatar-svg .avatar-eyes { fill: var(--ink); }
.faculty-avatar-svg .avatar-detail { fill: var(--gray); }

/* ===== ICON CIRCLES ===== */
.icon-circle {
  width: 48px; height: 48px;
  border: 2px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.icon-circle-fill { background: var(--ink); border-color: var(--ink); }
.icon-circle-fill svg { stroke: var(--white); }

/* ===== STAT ICON ROW ===== */
.stat-icon-cell {
  padding: 28px 20px;
  border-right: 1px solid var(--gray-light);
  text-align: center;
}
.stat-icon-cell:last-child { border-right: none; }
.stat-icon-cell .stat-icon { width: 28px; height: 28px; margin: 0 auto 8px; }
.stat-icon-cell .stat-icon svg { width: 100%; height: 100%; stroke: var(--ink); fill: none; stroke-width: 1.6; }

/* ===== QUOTE MARK ===== */
.pullquote { position: relative; }
.pullquote .quote-mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3rem; line-height: 0.6; color: var(--rust);
  opacity: 0.3; margin-bottom: 4px;
}

/* ===== IMAGE CARD (campus etc) ===== */
.img-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
}
.img-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.img-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(26,39,68,0.85));
  color: var(--white);
}
.img-card-overlay h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.img-card-overlay p { font-size: 0.72rem; color: var(--gray-light); }

/* ===== TIMELINE WITH ICONS ===== */
.tl-icon-item {
  background: var(--gray-bg); border: 2px solid var(--gray-light); padding: 20px; text-align: center;
}
.tl-icon-item .tl-icon { width: 24px; height: 24px; margin: 0 auto 6px; }
.tl-icon-item .tl-icon svg { width: 100%; height: 100%; stroke: var(--rust); fill: none; stroke-width: 1.8; }
.tl-icon-item .tl-year { font-family: var(--font-mono); font-size: 0.65rem; color: var(--rust); letter-spacing: 0.08em; }
.tl-icon-item p { font-size: 0.78rem; color: var(--near-black); line-height: 1.4; }

/* ===== BADGE RIBBON ===== */
.badge-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rust);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}

/* ===== SECTION DECORATIVE TOP ===== */
.section-with-top {
  position: relative;
}
.section-with-top::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust), transparent);
}

/* ===== GRAPH DIVIDER ===== */
.graph-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
  color: var(--gray-light);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
}
.graph-divider .gd-line { flex: 1; height: 1px; background: var(--gray-light); }
.graph-divider .gd-dot { width: 6px; height: 6px; border: 1px solid var(--gray-light); transform: rotate(45deg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes countIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes drawLine {
  from { width: 0; }
  to { width: 40px; }
}

/* Reveal base */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Fade in variant */
.reveal-fade { opacity: 0; transition: opacity 0.6s ease; }
.reveal-fade.in { opacity: 1; }

/* Scale variant */
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.3s; }
.delay-7 { transition-delay: 0.35s; }
.delay-8 { transition-delay: 0.4s; }

/* Hero entrance */
.hero-entrance > * { animation: fadeUp 0.6s ease both; }
.hero-entrance > *:nth-child(1) { animation-delay: 0.1s; }
.hero-entrance > *:nth-child(2) { animation-delay: 0.2s; }
.hero-entrance > *:nth-child(3) { animation-delay: 0.3s; }
.hero-entrance > *:nth-child(4) { animation-delay: 0.4s; }
.hero-entrance > *:nth-child(5) { animation-delay: 0.5s; }

/* Stat counter entrance */
.stat-cell.in, .stat-icon-cell.in { animation: countIn 0.4s ease both; }

/* Badge animation */
.badge-anim { animation: badgePulse 2s ease-in-out infinite; }

/* Line draw */
.line-draw { width: 0; transition: width 0.6s ease; }
.line-draw.in { width: 40px; }
.section-dark .line-draw { background: var(--rust); }

/* Hover transitions */
.card-simple, .faculty-item, .comp-card, .contact-card, .career-card,
.test-item, .tl-item, .tl-icon-item, .enq-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-simple:hover, .comp-card:hover, .contact-card:hover,
.career-card:hover, .enq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26,39,68,0.08);
}
.faculty-item:hover, .test-item:hover {
  transform: translateY(-2px);
}
.tl-item:hover, .tl-icon-item:hover {
  transform: translateY(-2px);
}

/* Smooth nav underline */
.nav-links a { transition: color 0.15s, border-color 0.15s; }
.menu-toggle span { transition: 0.2s; }

/* Button hover enhancement */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn-outline::after { background: rgba(26,39,68,0.05); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item {
  border: 2px solid var(--gray-light); overflow: hidden; cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.gallery-item:hover { border-color: var(--rust); transform: translateY(-2px); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-caption { padding: 12px 16px; background: var(--gray-bg); }
.gallery-caption h4 { font-size: 0.85rem; margin-bottom: 2px; }
.gallery-caption p { font-size: 0.75rem; color: var(--gray); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.blog-card {
  border: 2px solid var(--gray-light); background: var(--white);
  transition: transform 0.2s, border-color 0.2s;
}
.blog-card:hover { border-color: var(--rust); transform: translateY(-2px); }
.blog-card-body { padding: 20px; }
.blog-date {
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--rust);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px;
}
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.3; }
.blog-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.blog-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.55rem;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px;
  border: 1px solid var(--gray-light); color: var(--gray); margin-right: 4px;
}

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tab {
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 6px 14px; border: 2px solid var(--gray-light);
  background: var(--white); cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.filter-tab:hover, .filter-tab.active { border-color: var(--rust); color: var(--rust); }

/* ===== FAQ EXTENDED ===== */
.faq-cat-label {
  font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--rust); margin-bottom: 4px;
}

/* ===== UTILITY ===== */
.txt-center { text-align: center; }
.txt-muted { color: var(--gray); }
.txt-sm { font-size: 0.8rem; }
.txt-rust { color: var(--rust); }
