/* ============================================
   RESEARCH & PUBLICATIONS — researchcse.css
   MZCET | Department of CSE
   Header/Nav: Faculty List exact copy
============================================ */

/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
    /* Faculty List core palette */
    --primary:    #002472;
    --secondary:  #020c56;
    --gold:       #d4a574;

    /* Research page aliases */
    --blue:              #002472;
    --secondary-brown:   #020c56;
    --accent-gold:       #d4a574;
    --accent-gold-light: rgba(212, 165, 116, 0.15);
    --accent-gold-mid:   rgba(212, 165, 116, 0.3);
    --text-dark:         #333333;
    --text-light:        #666666;
    --bg-light:          #f8f9fa;
    --white:             #ffffff;
    --shadow:            0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg:         0 10px 40px rgba(0,0,0,0.15);
    --transition:        all 0.3s cubic-bezier(0.4,0,0.2,1);
    --border:            rgba(0,36,114,0.1);
    --card-radius:       20px;
    --ease:              all 0.3s cubic-bezier(0.4,0,0.2,1);

    /* Faculty List fixed-header heights */
    --topbar-h:  40px;
    --header-h:  110px;
    --nav-h:     50px;
    --fixed-top: calc(var(--topbar-h) + var(--header-h) + var(--nav-h));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    /* push content below fixed header stack — Faculty List pattern */
    padding-top: var(--fixed-top);
}

/* Faculty List utility wrappers */
.container-fluid { width: 100%; padding: 0 2rem; max-width: 1920px; margin: 0 auto; }
.container       { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   TOP BAR — Faculty List exact copy
============================================ */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    z-index: 1003;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}
.top-bar-left  { display: flex; align-items: center; gap: 2rem; }
.top-bar-info  { display: flex; align-items: center; gap: 0.4rem; }
.top-bar-info i { color: var(--gold); font-size: 0.72rem; }
.email-link    { color: var(--white); text-decoration: none; }

/* ============================================
   HEADER — Faculty List exact copy
============================================ */
.header {
    position: fixed;
    top: var(--topbar-h); left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    z-index: 1002;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,36,114,0.06);
}
.header-content {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    width: 100%;
    height: 100%;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-logo img {
    height: 82px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.header-logo-fallback {
    width: 82px; height: 82px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4db8 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; font-weight: 800; color: var(--white);
    letter-spacing: -1px; flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,36,114,0.4);
    user-select: none;
    border: 2px solid rgba(212,165,116,0.5);
}

/* Divider */
.header-divider {
    width: 2px; height: 62px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    flex-shrink: 0;
    opacity: 0.5;
}

/* Text */
.header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.header-text h1 {
    font-family: 'Cooper Black', 'Georgia', serif;
    font-size: clamp(1.08rem, 1.9vw, 1.45rem);
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.06em;
}
.header-subtitle {
    font-size: clamp(0.68rem, 0.9vw, 0.78rem);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1px;
    font-style: italic;
    line-height: 1.3;
    letter-spacing: 0.05em;
}
.header-info {
    font-size: clamp(0.62rem, 0.8vw, 0.72rem);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ============================================
   MOBILE OVERLAY — Faculty List exact copy
============================================ */
.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.active { display: block; }

/* ============================================
   NAVBAR — Faculty List exact copy
============================================ */
.navbar {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    height: var(--nav-h);
    background: var(--primary);
    box-shadow: 0 3px 14px rgba(0,0,0,0.3);
    z-index: 1001;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0; padding: 0;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}
.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}
.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    height: 100%;
    padding: 0 1.3rem;
    text-decoration: none;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    font-size: 0.87rem;
    line-height: var(--nav-h);
    transition: var(--ease);
    border-right: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}
.nav-item:first-child a {
    border-left: 1px solid rgba(255,255,255,0.1);
}
.nav-item a:hover,
.nav-item a.active {
    background: rgba(255,255,255,0.13);
    color: var(--gold);
}
.nav-icon {
    font-size: 0.82rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hamburger — Faculty List exact copy */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.6rem 0.75rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,36,114,0.35);
}
.hamburger span {
    display: block;
    width: 23px; height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   BREADCRUMB
============================================ */
.breadcrumb-bar {
    background: var(--white);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
}
.breadcrumb-inner a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.breadcrumb-inner a:hover { color: var(--blue); }
.breadcrumb-inner .sep { color: var(--border); font-size: 0.7rem; }
.breadcrumb-inner .active { color: var(--accent-gold); font-weight: 600; }

/* ============================================
   HERO SECTION
============================================ */
.research-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--secondary-brown) 60%, #0a1875 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.research-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,165,116,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,165,116,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: rgba(212,165,116,0.08);
    top: -150px; right: -100px;
}
.hero-orb-2 {
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    bottom: -100px; left: 10%;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent-gold-light);
    border: 1px solid var(--accent-gold-mid);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out backwards;
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}
.hero-title span { color: var(--accent-gold); display: block; }
.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 540px;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* Stats Panel */
.stats-panel {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 220px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}
.stat-item {
    background: rgba(255,255,255,0.06);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.stat-item:hover { background: rgba(212,165,116,0.15); }
.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-lbl {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   PUBLICATIONS SECTION
============================================ */
.publications-section {
    padding: 4rem 0 6rem;
    background: var(--bg-light);
}
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--blue);
}
.pubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
    gap: 2rem;
}

/* ============================================
   PUBLICATION CARD
============================================ */
.pub-card {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid rgba(0,36,114,0.07);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out backwards;
}
.pub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.pub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,36,114,0.15);
}
.pub-card:hover::before { transform: scaleX(1); }
.pub-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.8rem 0;
}
.pub-index {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--blue);
    opacity: 0.08;
    line-height: 1;
    user-select: none;
}
.pub-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}
.pub-year-badge i { font-size: 0.7rem; color: var(--accent-gold); }
.pub-card-body { padding: 1rem 1.8rem 1.4rem; flex: 1; }
.pub-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pub-meta { display: flex; flex-direction: column; gap: 0.7rem; }
.meta-row { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.83rem; }
.meta-icon {
    width: 28px; height: 28px;
    background: var(--accent-gold-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.meta-icon i { font-size: 0.75rem; color: var(--accent-gold); }
.meta-content { flex: 1; }
.meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin-bottom: 0.15rem;
}
.meta-value { font-size: 0.83rem; font-weight: 500; color: var(--text-dark); line-height: 1.4; }
.meta-value.mono { font-size: 0.78rem; color: var(--text-light); }
.pub-divider { height: 1px; background: var(--border); margin: 0 1.8rem; }
.pub-card-footer {
    padding: 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; }
.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0,36,114,0.06);
    color: var(--blue);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0,36,114,0.08);
}
.tag:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-view {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    background: linear-gradient(135deg, var(--blue), var(--secondary-brown));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-view:hover { background: linear-gradient(135deg, var(--accent-gold), #c4945a); transform: translateX(2px); }
.btn-view i { font-size: 0.75rem; transition: transform 0.3s ease; }
.btn-view:hover i { transform: translateX(4px); }

/* ============================================
   NO RESULTS
============================================ */
.no-results { text-align: center; padding: 5rem 2rem; display: none; }
.no-results-icon {
    width: 80px; height: 80px;
    background: var(--accent-gold-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.no-results-icon i { font-size: 2rem; color: var(--accent-gold); }
.no-results h3 { font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--blue); margin-bottom: 0.5rem; }
.no-results p  { color: var(--text-light); font-size: 0.95rem; }

/* ============================================
   MODAL
============================================ */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(2,12,86,0.6);
    z-index: 9999;
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: 24px;
    max-width: 600px; width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
    from { transform: scale(0.85) translateY(30px); opacity: 0; }
    to   { transform: scale(1)    translateY(0);    opacity: 1; }
}
.modal-header {
    background: linear-gradient(135deg, var(--blue), var(--secondary-brown));
    padding: 2rem; position: relative;
}
.modal-number {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem; font-weight: 900;
    color: rgba(255,255,255,0.06);
    position: absolute; top: -10px; right: 1.5rem;
    line-height: 1; user-select: none;
}
.modal-year-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(212,165,116,0.2);
    border: 1px solid rgba(212,165,116,0.3);
    color: var(--accent-gold);
    font-size: 0.75rem; font-weight: 600;
    padding: 0.35rem 0.9rem; border-radius: 50px; margin-bottom: 1rem;
}
.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.5; position: relative; z-index: 1; }
.modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 10px;
    color: var(--white); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-body { padding: 2rem; }
.modal-detail-row {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.modal-detail-row:last-child { border-bottom: none; }
.modal-detail-icon {
    width: 36px; height: 36px;
    background: rgba(0,36,114,0.06); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.modal-detail-icon i { font-size: 0.9rem; color: var(--blue); }
.modal-detail-label {
    font-size: 0.72rem; font-weight: 600; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem;
}
.modal-detail-value { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); line-height: 1.5; }
.modal-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.modal-tag {
    padding: 0.4rem 1rem;
    background: rgba(0,36,114,0.06); color: var(--blue);
    border-radius: 8px; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer { background: var(--secondary-brown); padding: 4rem 0 0; }
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; color: var(--accent-gold);
    margin-bottom: 1.2rem; position: relative; padding-bottom: 0.8rem;
}
.footer-heading::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 30px; height: 2px;
    background: var(--accent-gold); border-radius: 2px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.5;
}
.footer-list li i { font-size: 0.75rem; color: var(--accent-gold); margin-top: 0.2rem; flex-shrink: 0; }
.footer-list a { color: rgba(255,255,255,0.65); text-decoration: none; transition: var(--transition); font-size: 0.83rem; }
.footer-list a:hover { color: var(--accent-gold); }
.footer-bottom { padding: 1.5rem 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 0.3rem; }
.footer-bottom a { color: var(--accent-gold); text-decoration: none; }

/* ============================================
   SCROLL TO TOP
============================================ */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: var(--blue); color: var(--white);
    border: none; border-radius: 12px;
    font-size: 1rem; cursor: pointer;
    box-shadow: var(--shadow-lg); transition: var(--transition);
    opacity: 0; pointer-events: none; z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent-gold); transform: translateY(-3px); }

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pub-card:nth-child(1)  { animation-delay: 0.05s; }
.pub-card:nth-child(2)  { animation-delay: 0.10s; }
.pub-card:nth-child(3)  { animation-delay: 0.15s; }
.pub-card:nth-child(4)  { animation-delay: 0.20s; }
.pub-card:nth-child(5)  { animation-delay: 0.25s; }
.pub-card:nth-child(6)  { animation-delay: 0.30s; }
.pub-card:nth-child(7)  { animation-delay: 0.35s; }
.pub-card:nth-child(8)  { animation-delay: 0.40s; }
.pub-card:nth-child(9)  { animation-delay: 0.45s; }
.pub-card:nth-child(10) { animation-delay: 0.50s; }

/* ============================================
   RESPONSIVE ≤1024px
============================================ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .stats-panel {
        grid-template-rows: 1fr;
        grid-template-columns: repeat(3, 1fr);
        min-width: unset;
    }
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE ≤768px — Faculty List mobile pattern
============================================ */
@media (max-width: 768px) {

    /* Recalculate header heights — Faculty List exact */
    :root {
        --topbar-h:  0px;
        --header-h:  80px;
        --nav-h:     50px;
        --fixed-top: calc(var(--header-h) + var(--nav-h));
    }

    body { padding-top: var(--fixed-top); }

    /* Hide top bar */
    .top-bar { display: none; }

    /* Header sits at very top */
    .header { top: 0; }

    /* Navbar below header */
    .navbar { top: var(--header-h); }

    /* Header compact */
    .header-logo img,
    .header-logo-fallback { height: 56px; width: 56px; font-size: 1.2rem; border-radius: 9px; }
    .header-divider { height: 40px; }
    .header-info    { display: none; }
    .header-text h1 { font-size: clamp(0.82rem, 3.5vw, 1.1rem); white-space: normal; }
    .header-subtitle { font-size: 0.76rem; }

    /* Hamburger visible */
    .hamburger { display: flex; }

    /* Nav becomes slide-in drawer — Faculty List exact */
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(72vw, 280px);
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 4.5rem 0 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
        z-index: 999;
        gap: 0;
        justify-content: flex-start;
        align-items: stretch;
    }
    .nav-links.active { right: 0; }
    .nav-item { height: auto; }
    .nav-item a {
        height: auto;
        padding: 0.9rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 0.92rem;
        line-height: 1.4;
        justify-content: flex-start;
    }
    .nav-item:first-child a { border-left: none; }

    
    /* Research content */
    .pubs-grid      { grid-template-columns: 1fr; }
    .hero-title     { font-size: 2.4rem; }
    .stats-panel    { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE ≤480px
============================================ */
@media (max-width: 480px) {
    .header-content  { gap: 0.7rem; }
    .header-text h1  { font-size: 0.8rem; }
    .header-subtitle { font-size: 0.7rem; }
    .hero-title      { font-size: 2rem; }
    .footer-grid     { grid-template-columns: 1fr; }
    .pub-card-footer { flex-direction: column; align-items: stretch; }
    .btn-view        { justify-content: center; }
}

/* ============================================
   RESPONSIVE ≤380px
============================================ */
@media (max-width: 380px) {
    .header-logo img,
    .header-logo-fallback { width: 40px; height: 40px; }
    .header-divider { display: none; }
    .header-text h1 { font-size: 0.65rem; letter-spacing: 0.02em; }
}