:root {
    --ink: #1f2937;
    --muted: #5f6b7a;
    --paper: #ffffff;
    --soft: #f4f7f9;
    --line: #d9e2ea;
    --accent: #1d6f7a;
    --accent-dark: #164f59;
    --support: #7a4e67;
    --nav: rgba(15, 23, 42, 0.78);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
}

.container {
    width: min(92%, 1040px);
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 72vh;
    padding: 24px 0 72px;
    background: url("images/background.png") no-repeat center center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.54));
}

.hero > * {
    position: relative;
    z-index: 1;
}

nav {
    width: min(92%, 1040px);
    margin: 0 auto;
    padding: 10px 16px;
    background: var(--nav);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    list-style: none;
}

nav a {
    display: inline-block;
    padding: 7px 10px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

nav a:hover,
nav a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    text-decoration: none;
}

.hero-text {
    width: min(92%, 860px);
    margin: 0 auto;
    padding-top: 80px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 10px;
    color: #d8f1f0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-text h1 {
    margin-bottom: 10px;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.08;
}

.hero-text p {
    max-width: 760px;
    margin: 0 auto;
    color: #eef6f7;
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.hero-actions a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-actions a:hover,
.hero-actions a:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
}

section {
    padding: 58px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

section:nth-of-type(even) {
    background: #f8fafb;
}

section h2 {
    margin-bottom: 22px;
    color: #172033;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.2;
    text-align: center;
}

h3 {
    margin: 30px 0 12px;
    color: #243447;
    font-size: 1.22rem;
    line-height: 1.3;
}

h4 {
    margin: 18px auto 8px;
    max-width: 1040px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.3;
    text-transform: uppercase;
}

p {
    margin-bottom: 14px;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 24px;
}

.profile-links a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fbfc;
}

.skills ul,
.plain-list,
.publication-list,
.resource-list {
    list-style: none;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skills li {
    padding: 8px 12px;
    border-radius: 6px;
    background: #e9f4f4;
    color: #164f59;
    font-weight: 700;
}

.plain-list li {
    position: relative;
    padding: 8px 0 8px 22px;
}

.plain-list li::before {
    position: absolute;
    left: 0;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.publication-list {
    display: grid;
    gap: 14px;
}

.publication-list li {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.05);
}

.publication-list em {
    font-style: italic;
}

.venue {
    color: var(--muted);
}

.status {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eaf3f6;
    color: #164f59;
    font-size: 0.82rem;
    font-weight: 700;
}

.award-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.award-amount {
    color: var(--support);
    font-weight: 800;
}

.resource-list {
    columns: 2;
    column-gap: 34px;
    margin-top: 12px;
}

.resource-list li {
    break-inside: avoid;
}

footer {
    padding: 24px 0;
    background: #172033;
    color: #ffffff;
    text-align: center;
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        min-height: 78vh;
        padding-bottom: 56px;
    }

    nav {
        padding: 8px;
    }

    nav ul {
        gap: 2px 6px;
    }

    nav a {
        padding: 6px 8px;
        font-size: 0.88rem;
    }

    .hero-text {
        padding-top: 56px;
    }

    section {
        padding: 42px 0;
    }

    .status {
        margin-top: 8px;
        margin-left: 0;
    }

    .resource-list {
        columns: 1;
    }
}
