/* ------------------------------
   Base settings
------------------------------ */

:root {
    --navy: #123b5d;
    --navy-dark: #0b263d;
    --ocean-blue: #246b8f;
    --text: #1f2933;
    --muted-text: #66727d;
    --background: #ffffff;
    --soft-background: #f5f8fa;
    --border: #dce5ea;

    --page-width: 1120px;
    --content-width: 720px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.65;
}


/* ------------------------------
   Navigation
------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.navigation {
    width: min(90%, var(--page-width));
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.navigation-links {
    display: flex;
    gap: 2rem;
}

.navigation-links a {
    color: var(--text);
    font-size: 0.92rem;
    text-decoration: none;

    transition: color 0.2s ease;
}

.navigation-links a:hover {
    color: var(--ocean-blue);
}


/* ------------------------------
   Hero section
------------------------------ */

.hero {
    min-height: calc(100vh - 72px);

    display: flex;
    align-items: center;

    padding: 7rem 0;
}

.hero-content {
    width: min(90%, var(--page-width));
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 1.5rem;

    color: var(--ocean-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin: 0;

    color: var(--navy-dark);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.hero h2 {
    margin: 2rem 0 0;

    color: var(--navy);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 500;
}

.quote {
    max-width: 720px;
    margin: 2.5rem 0 0;

    color: var(--muted-text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-style: italic;
    line-height: 1.6;
}

.hero-links {
    margin-top: 3rem;

    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 0.9rem 1.4rem;
    border-radius: 999px;

    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.primary-button {
    background: var(--navy);
    color: white;
}

.primary-button:hover {
    background: var(--ocean-blue);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid var(--border);
    color: var(--navy);
}

.secondary-button:hover {
    background: var(--soft-background);
    transform: translateY(-2px);
}


/* ------------------------------
   Main sections
------------------------------ */

.section {
    width: min(90%, var(--page-width));
    margin: 0 auto;
    padding: 8rem 0;

    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;

    border-top: 1px solid var(--border);
}

.section-heading {
    position: sticky;
    top: 110px;
    align-self: start;
}

.section-number {
    margin: 0 0 0.5rem;

    color: var(--ocean-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.section-heading h2 {
    margin: 0;

    color: var(--navy-dark);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section-content {
    max-width: var(--content-width);
}

.section-content p {
    color: var(--muted-text);
    font-size: 1.03rem;
}

.section-content .large-text {
    margin-top: 0;

    color: var(--text);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.45;
}


/* ------------------------------
   Publications
------------------------------ */

.publication-list {
    display: grid;
    gap: 1.5rem;
}

.publication {
    padding: 2rem;

    background: var(--soft-background);
    border: 1px solid transparent;
    border-radius: 18px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.publication:hover {
    border-color: var(--border);
    transform: translateY(-3px);
}

.publication-status {
    margin: 0 0 0.8rem;

    color: var(--ocean-blue) !important;
    font-size: 0.75rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.publication h3 {
    margin: 0;

    color: var(--navy-dark);
    font-size: 1.3rem;
    line-height: 1.4;
}

.publication p:last-child {
    margin-bottom: 0;
}


/* ------------------------------
   Teaching
------------------------------ */

.construction-box {
    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--soft-background);
    border: 1px dashed var(--border);
    border-radius: 18px;
}

.construction-box p {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 600;
}


/* ------------------------------
   Contact and footer
------------------------------ */

.contact-links {
    margin-top: 2rem;

    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-links a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.contact-links a:hover {
    color: var(--ocean-blue);
}

footer {
    width: min(90%, var(--page-width));
    margin: 0 auto;
    padding: 2rem 0 4rem;

    border-top: 1px solid var(--border);
}

footer p {
    margin: 0;

    color: var(--muted-text);
    font-size: 0.85rem;
}


/* ------------------------------
   Mobile layout
------------------------------ */

@media (max-width: 760px) {

    .navigation {
        min-height: 64px;
    }

    .navigation-links {
        gap: 1rem;
    }

    .navigation-links a {
        font-size: 0.8rem;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 17vw, 5rem);
    }

    .section {
        padding: 5rem 0;

        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-heading {
        position: static;
    }

}
