:root {
    --aegean-blue: #003366;
    --aegean-blue-dark: #002244;
    --aegean-accent: #0066cc;
    --aegean-light: #f0f4f8;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #212529;
    background: #fff;
}

.site-header .top-bar {
    background: var(--aegean-blue-dark);
    color: rgba(255,255,255,.85);
    font-size: .875rem;
}
.site-header .top-bar a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-header .top-bar a:hover { color: #fff; }

.site-header .navbar {
    background: var(--aegean-blue);
    padding: .75rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}
.brand-sub {
    font-size: .7rem;
    color: rgba(255,255,255,.7);
    max-width: 280px;
}
.navbar-dark .nav-link {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    padding: .5rem 1rem !important;
}
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #fff;
}
.navbar-dark .nav-link.active { font-weight: 600; }

.hero {
    background: linear-gradient(135deg, var(--aegean-blue) 0%, var(--aegean-blue-dark) 100%);
    color: #fff;
    padding: 4rem 0 5rem;
}
.hero h1 { font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 720px; }

.feature-card {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.feature-card .card-icon {
    width: 48px;
    height: 48px;
    background: var(--aegean-light);
    color: var(--aegean-blue);
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card .card-title { font-weight: 600; font-size: 1.1rem; }

.research-areas {
    background: var(--aegean-light);
    padding: 4rem 0;
}
.research-areas h2 { font-weight: 700; margin-bottom: 2rem; }
.research-list {
    columns: 1;
    column-gap: 2rem;
}
@media (min-width: 768px) { .research-list { columns: 2; } }
.research-list li {
    break-inside: avoid;
    margin-bottom: .75rem;
    padding-left: 1.25rem;
    position: relative;
}
.research-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    background: var(--aegean-accent);
    border-radius: 50%;
}

.page-title {
    font-weight: 600;
    font-size: clamp(1.1rem, 1.05rem + 0.35vw, 1.35rem);
    color: var(--aegean-blue);
}

.section-title {
    font-size: clamp(.95rem, 0.92rem + 0.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--aegean-blue);
}

.team-card {
    border: 1px solid rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: .9rem;
}
.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}
.card-img-top-wrapper {
    height: 150px;
    overflow: hidden;
    border-top-left-radius: .9rem;
    border-top-right-radius: .9rem;
}
.card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.xsmall { font-size: .825rem; }

.profile-card .profile-img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--aegean-light);
}
.profile-content ul,
.profile-content ol {
    margin: .5rem 0;
    padding-left: 1.25rem;
}
.profile-content li { margin-bottom: .25rem; }
.profile-content p { margin-bottom: .75rem; }
.profile-content p:last-child { margin-bottom: 0; }
.profile-meta dt { font-weight: 600; color: var(--text-muted); }
.profile-meta dd { margin-bottom: .75rem; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--aegean-light);
    color: var(--aegean-blue);
    margin-right: .5rem;
    transition: background .2s, color .2s;
}
.social-links a:hover {
    background: var(--aegean-blue);
    color: #fff;
}

.pub-list { margin-top: 1rem; }
.pub-filters {
    background: var(--aegean-light);
    border-radius: .5rem;
    padding: 1rem 1.25rem;
}
.pub-filters .form-label { color: var(--aegean-blue); }
.pub-entry {
    display: flex;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid #eee;
}
.pub-index { flex: 0 0 2.5rem; text-align: right; }
.pub-toggle { text-decoration: none; color: var(--aegean-accent); }
.pub-toggle:hover { text-decoration: underline; }
.pub-body { flex: 1; line-height: 1.6; }
.pub-abstract { color: #444; font-size: .95rem; }
.pub-copyright { margin: 1.5rem 0; }

.projects-table th { background: var(--aegean-light); font-weight: 600; }
.projects-table td { vertical-align: top; }

.site-footer {
    background: var(--aegean-blue-dark);
    color: #fff;
    margin-top: 4rem;
}
.site-footer h5, .site-footer h6 { font-weight: 600; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.btn-aegean {
    background: var(--aegean-accent);
    border-color: var(--aegean-accent);
    color: #fff;
}
.btn-aegean:hover {
    background: var(--aegean-blue);
    border-color: var(--aegean-blue);
    color: #fff;
}
