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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8f9fa;
    overflow-x: hidden;
}

header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #2c5aa0;
}

nav a:hover:after {
    width: 100%;
}

nav a[aria-current="page"] {
    color: #2c5aa0;
}

nav a[aria-current="page"]:after {
    width: 100%;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #2c5aa0;
    outline-offset: 3px;
    border-radius: 4px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

section.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(44, 90, 160, 0.2);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(160deg, #ffffff 0%, #eef2fb 100%);
}

.hero-image .badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #2c5aa0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.credential-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.credential-card:hover {
    border-color: #2c5aa0;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.15);
    transform: translateY(-5px);
}

.credential-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.credential-card p {
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

.research-focus {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(30, 64, 175, 0.08) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid #2c5aa0;
}

.research-focus p {
    margin-bottom: 1rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.15);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.keyword {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.fieldwork {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.fieldwork:hover {
    border-color: #2c5aa0;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
}

.publication-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.publication-item:hover {
    border-color: #2c5aa0;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transform: translateX(5px);
}

.publication-item .year {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.publication-item h4 {
    margin: 0.75rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.publication-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #2c5aa0;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #2c5aa0;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
}

.contact-item h4 {
    margin-bottom: 0.75rem;
}

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #2c5aa0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e40af 100%);
    color: #fff;
    transform: translateY(-3px);
}

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    color: #ccc;
    margin: 0;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

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

    section {
        padding: 2rem 0;
    }

    section.hero {
        padding: 3rem 1rem;
    }
}

/* Skip link for keyboard and screen-reader users. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #2c5aa0;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    text-decoration: none;
    z-index: 200;
}

.skip-link:focus {
    left: 0;
}

/* The six nav items wrap unevenly on narrow screens; stack the bar and let the
   links scroll sideways instead. */
@media (max-width: 640px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0 1.25rem;
    }

    nav ul {
        width: 100%;
        gap: 1.25rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        scrollbar-width: none;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav li {
        flex: 0 0 auto;
    }

    main {
        padding: 0 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
