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

html, body {
    background: #faf8f3;
    color: #2c2c2c;
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    padding: 100px 60px;
    text-align: center;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 8px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.tagline {
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    font-weight: 500;
}

/* Main content */
main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 60px;
    padding-bottom: 80px;
    text-align: justify;
}

/* Hero section */
.hero {
    margin-bottom: 100px;
    font-size: 1.15rem;
    line-height: 2;
    color: #444;
    max-width: 800px;
}

/* Research section */
.research {
    margin-bottom: 80px;
}

.research h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #1a1a1a;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0d5ca;
}

.research article {
    margin-bottom: 30px;
}

.links,
.visitors,
.sponsors {
    margin-bottom: 80px;
}

.links h2,
.visitors h2,
.sponsors h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0d5ca;
}

.people-grid {
    display: grid;
}

.people {
    margin-bottom: 40px;
}

.people article {
    margin-bottom: 0;
}

.link-list {
    list-style: none;
    display: grid;
    gap: 16px;
    padding-left: 0;
}

.link-list li {
    padding-bottom: 16px;
    border-bottom: 1px solid #e9dfd4;
}

a:not(.im-only-a) {
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

a:hover {
    color: #555;
}

.people h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #1a1a1a;
    padding-bottom: 20px;
}

.person-card {
    display: grid;
    grid-template-areas: 'photo header' 'photo body' 'photo links';
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 28px;
    padding: 28px 0;
    border-top: 1px solid #e9dfd4;
}

.person-photo {
    grid-area: photo;
    width: 120px;
    height: 150px;
    border: 1px solid #cfc4b7;
    background: #f4efe8;
    color: #8a7f73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.person-body {
    grid-area: body;
}

.person-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.person-header {
    grid-area: header;
    margin-bottom: 12px;
}

.job-title {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a6f63;
    /* margin-bottom: 16px; */
}

.person-description {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 700px;
}

.person-links {
    grid-area: 'links';
    font-size: 0.92rem;
    color: #666;
}

.person-links a {
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
}

.person-links span {
    margin: 0 8px;
    color: #9b8f82;
}

.visitors p,
.sponsors p {
    max-width: 780px;
    color: #555;
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.sponsor-list {
    display: grid;
    gap: 16px;
}

.sponsor-item {
    padding: 18px 20px;
    border: 1px solid #ddd3c7;
    background: #fcfbf8;
    color: #6f6559;
    font-size: 0.95rem;
}

article {
    margin-bottom: 50px;
}

article h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

article p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.8;
}

/* Details section */
.details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    padding-top: 40px;
    border-top: 1px solid #e0d5ca;
    /* border-bottom: 1px solid #e0d5ca; */
}

.detail h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.detail p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 40px;
    background: #f5f3ed;
    border-top: 1px solid #d0c8bd;
    color: #777;
    font-size: 0.9rem;
}

footer p {
    margin: 8px 0;
}

footer a {
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 60px 30px;
    }

    header h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    main {
        padding: 60px 30px;
    }

    .hero {
        font-size: 1rem;
    }

    .person-card {
        /* grid-template-columns: 92px 1fr;
        gap: 18px; */
        grid-template-areas:
            'photo header'
            'photo links'
            'photo x'
            'body body';
        grid-template-columns: 100px 1fr;
        column-gap: 18px;
        align-items: start;
    }

    .person-photo {
        width: 100px;
        height: 120px;
        justify-self: start;
    }

    .person-body {
        padding-top: 18px;
        min-width: 0;
    }

    .person-header h3 {
        margin-bottom: 0px;
    }

    .person-header {
        margin-bottom: 0px;
    }

    .research h2 {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    article {
        margin-bottom: 40px;
    }

    .details {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 0;
    }

    footer {
        padding: 40px 30px;
    }

    .sponsor-item {
        height: 60px;
    }
}

.sponsor-item {
    height: 80px;
}

.sponsor-item img {
    height: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: #2c2c2c;
    color: #faf8f3;
}


/* .sponsors h2 {
    margin-bottom: 30px;
} */
