:root {
    --font-heading: 'Instrument Sans', 'Segoe UI', sans-serif;
    --font-body: 'Figtree', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --color-bg-primary: #f7f9fc;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #eef2f7;
    --color-bg-hero: #0a1628;
    --color-text-primary: #0f1d33;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-accent: #1d4ed8;
    --color-accent-hover: #1e40af;
    --color-accent-light: #dbeafe;
    --color-accent-subtle: #eff6ff;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-shadow: rgba(15, 29, 51, 0.06);
    --color-shadow-hover: rgba(15, 29, 51, 0.12);
    --color-card-hover-border: #bfdbfe;
    --color-tag-bg: #eff6ff;
    --color-tag-text: #1e40af;
    --color-timeline-line: #e2e8f0;
    --color-timeline-dot: #1d4ed8;
    --color-scrollbar-thumb: #cbd5e1;
    --color-scrollbar-track: #f1f5f9;
    --color-selection-bg: #1d4ed8;
    --color-selection-text: #ffffff;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px var(--color-shadow), 0 1px 2px var(--color-shadow);
    --shadow-md: 0 4px 16px var(--color-shadow), 0 2px 6px var(--color-shadow);
    --shadow-lg: 0 12px 40px var(--color-shadow), 0 4px 12px var(--color-shadow);
    --shadow-xl: 0 20px 60px rgba(15, 29, 51, 0.1);

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-theme: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --max-width: 1200px;
    --nav-height: 72px;
}

[data-theme="dark"] {
    --color-bg-primary: #070d1a;
    --color-bg-secondary: #0e1726;
    --color-bg-tertiary: #152036;
    --color-bg-hero: #050a14;
    --color-text-primary: #e8edf5;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-accent: #60a5fa;
    --color-accent-hover: #93c5fd;
    --color-accent-light: #172554;
    --color-accent-subtle: #0f1f3d;
    --color-border: #1e3a5f;
    --color-border-light: #152036;
    --color-shadow: rgba(0, 0, 0, 0.2);
    --color-shadow-hover: rgba(96, 165, 250, 0.08);
    --color-card-hover-border: #1e3a5f;
    --color-tag-bg: #172554;
    --color-tag-text: #93c5fd;
    --color-timeline-line: #1e3a5f;
    --color-timeline-dot: #60a5fa;
    --color-scrollbar-thumb: #1e3a5f;
    --color-scrollbar-track: #0e1726;
    --color-selection-bg: #1d4ed8;
    --color-selection-text: #ffffff;
}

::selection {
    background: var(--color-selection-bg);
    color: var(--color-selection-text);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--color-scrollbar-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    transition: background-color var(--transition-theme), color var(--transition-theme);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hide-mobile {
    display: inline;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(247, 249, 252, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(7, 13, 26, 0.85);
}

.navbar.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-brand-utc {
    color: var(--color-accent);
}

.nav-brand-times {
    color: var(--color-text-muted);
    font-weight: 300;
    font-size: 1.1rem;
}

.nav-brand-uoa {
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    background: var(--color-accent-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: scale(1.05);
}

.theme-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: all var(--transition-base);
}

.theme-icon.sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon.moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.nav-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-secondary);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-secondary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(29, 78, 216, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(29, 78, 216, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, #f7f9fc 0%, #eef2f7 100%);
    transition: background var(--transition-theme);
}

[data-theme="dark"] .hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(96, 165, 250, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(96, 165, 250, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, #070d1a 0%, #0a1628 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: floatShape 20s ease-in-out infinite;
}

[data-theme="dark"] .shape {
    opacity: 0.04;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -5%;
    background: var(--color-accent);
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: -3%;
    background: var(--color-accent);
    animation-delay: -4s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 20%;
    background: var(--color-accent);
    animation-delay: -8s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 15%;
    background: var(--color-accent);
    animation-delay: -12s;
}

.shape-5 {
    width: 150px;
    height: 150px;
    top: 45%;
    left: 45%;
    background: var(--color-accent);
    animation-delay: -16s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-accent-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: normal;
    color: var(--color-accent);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-universities {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-uni {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
}

.hero-uni-shield {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.hero-uni-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.hero-uni-info small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.hero-connector {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 8px;
}

.connector-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    opacity: 0.5;
}

.connector-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    color: var(--color-text-muted);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

.section {
    padding: 100px 0;
    transition: background-color var(--transition-theme);
}

.section-alt {
    background-color: var(--color-bg-tertiary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    text-align: center;
}

.about-content p + p {
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.wave-divider {
    position: relative;
    height: 60px;
    background: var(--color-bg-primary);
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: var(--color-bg-tertiary);
}

.wave-divider-flip {
    background: var(--color-bg-tertiary);
}

.wave-divider-flip svg {
    fill: var(--color-bg-primary);
    transform: scaleY(-1);
    bottom: auto;
    top: 0;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.person-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.person-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.person-card:hover {
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.person-card:hover::before {
    opacity: 1;
}

.person-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.person-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.person-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.person-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.person-affiliation {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.person-bio {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.person-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.person-interest-tag {
    padding: 4px 12px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
}

.person-links {
    display: flex;
    gap: 12px;
}

.person-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.person-link:hover {
    text-decoration: underline;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.student-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-base);
}

.student-card:hover {
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.student-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.student-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.student-program {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
}

.student-topic {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.student-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.student-tag {
    padding: 2px 10px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 100px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.project-status.active {
    background: #dcfce7;
    color: #166534;
}

.project-status.completed {
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
}

.project-status.upcoming {
    background: #fef3c7;
    color: #92400e;
}

[data-theme="dark"] .project-status.active {
    background: #052e16;
    color: #86efac;
}

[data-theme="dark"] .project-status.completed {
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
}

[data-theme="dark"] .project-status.upcoming {
    background: #451a03;
    color: #fcd34d;
}

.project-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.project-status.active .project-status-dot {
    animation: pulse 2s ease-in-out infinite;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-tag {
    padding: 4px 12px;
    background: var(--color-tag-bg);
    color: var(--color-tag-text);
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 100px;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.pub-year-group {
    margin-bottom: 40px;
}

.pub-year-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-accent-light);
    display: inline-block;
}

.pub-item {
    padding: 20px 24px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.pub-item:hover {
    border-color: var(--color-card-hover-border);
    border-left-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.pub-authors {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}

.pub-authors strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.pub-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
    font-style: italic;
    line-height: 1.4;
}

.pub-venue {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
}

.pub-links {
    display: inline-flex;
    gap: 12px;
    margin-top: 6px;
}

.pub-link {
    font-size: 0.78rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.pub-link:hover {
    text-decoration: underline;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-timeline-line);
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
    padding-left: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-timeline-dot);
    border: 3px solid var(--color-bg-tertiary);
    z-index: 1;
}

[data-theme="dark"] .timeline-dot {
    border-color: var(--color-bg-primary);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 6px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.timeline-description {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-md);
}

.contact-card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.contact-card-role {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-card-affiliation {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.contact-detail a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-detail-icon {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.footer {
    background: var(--color-bg-tertiary);
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
    transition: all var(--transition-theme);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge.reveal {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title.reveal {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle.reveal {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-universities.reveal {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-scroll-indicator.reveal {
    animation: fadeInUp 0.8s ease 1s both;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        flex-direction: column;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-mobile-toggle {
        display: flex;
    }

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

    .hero-universities {
        flex-direction: column;
        gap: 16px;
    }

    .hero-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .section {
        padding: 64px 0;
    }

    .hero-content {
        padding: 60px 16px;
    }

    .container {
        padding: 0 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

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

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

    .hide-mobile {
        display: none;
    }

    .person-card {
        padding: 24px;
    }

    .person-avatar {
        width: 64px;
        height: 64px;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: -32px;
    }
}

@media print {
    .navbar,
    .hero-scroll-indicator,
    .theme-toggle,
    .nav-mobile-toggle,
    .wave-divider {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-bg {
        display: none;
    }

    .section {
        padding: 40px 0;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    body {
        font-size: 12pt;
    }
}
