/* =========================================================
   GLOBAL
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f7fa;
    color: #1b2b3a;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

::selection {
    background: #003366;
    color: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

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

    background: #003366;
    color: #ffffff;

    border-bottom: 3px solid #CC0000;

    box-shadow:
        0 4px 18px rgba(0, 51, 102, 0.18);
}

.header-inner {
    width: min(1400px, 94%);
    min-height: 76px;

    margin: 0 auto;

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

    gap: 25px;
}

.site-name {
    color: #ffffff;

    text-decoration: none;

    font-size: 1.12rem;
    font-weight: 800;

    letter-spacing: -0.02em;

    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    flex-wrap: wrap;
}

.main-nav a {
    position: relative;

    color: rgba(255, 255, 255, 0.9);

    text-decoration: none;

    font-size: 0.69rem;
    font-weight: 700;

    letter-spacing: 0.025em;

    transition:
        color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #CC0000;

    transition:
        width 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HOME + ABOUT
========================================================= */

.hero-section {
    position: relative;

    min-height: calc(100vh - 76px);

    padding: 75px 0 85px;

    background:
        linear-gradient(
            135deg,
            #eef3f8 0%,
            #ffffff 52%,
            #edf3f8 100%
        );

    border-bottom: 1px solid #dce5ed;

    overflow: hidden;
}

.about-anchor {
    position: absolute;

    top: -90px;
}

.hero-content {
    width: min(1180px, 90%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(300px, 0.82fr);

    align-items: center;

    gap: 35px;
}

.hero-text {
    min-width: 0;
}

.eyebrow {
    margin-bottom: 16px;

    color: #CC0000;

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.hero-text h1 {
    margin-bottom: 28px;

    color: #003366;

    font-size: clamp(3rem, 5.5vw, 5.2rem);

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.hero-about {
    max-width: 730px;
}

.hero-about p {
    margin-bottom: 16px;

    color: #43586b;

    font-size: 0.96rem;

    line-height: 1.78;
}

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

.hero-image-wrapper {
    position: relative;

    width: min(300px, 100%);

    margin: 0 auto;
}

.hero-image {
    position: relative;
    z-index: 2;

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: 5px;

    border: 7px solid #ffffff;

    box-shadow:
        0 22px 48px rgba(0, 51, 102, 0.18);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.content-section {
    width: min(1180px, 90%);

    margin: 0 auto;

    padding: 105px 0;

    scroll-margin-top: 90px;
}

.section-alt {
    width: 100%;

    padding-left: max(5%, calc((100% - 1180px) / 2));
    padding-right: max(5%, calc((100% - 1180px) / 2));

    background: #eaf0f5;

    border-top: 1px solid #dde6ee;
    border-bottom: 1px solid #dde6ee;
}

.section-heading {
    margin-bottom: 48px;

    padding-left: 20px;

    border-left: 4px solid #CC0000;
}

.section-heading h2 {
    color: #003366;

    font-size: clamp(2rem, 3.5vw, 2.8rem);

    line-height: 1.12;

    letter-spacing: -0.035em;
}


/* =========================================================
   RESEARCH INTERESTS
========================================================= */

.interest-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.interest-card {
    background: #ffffff;

    border: 1px solid #d4dfe8;

    border-top: 3px solid #003366;

    padding: 30px;

    min-height: 205px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);

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

.interest-card:hover {
    transform: translateY(-3px);

    border-top-color: #CC0000;

    box-shadow:
        0 10px 28px rgba(0, 51, 102, 0.09);
}

.interest-card h3 {
    margin-bottom: 13px;

    color: #003366;

    font-size: 1.15rem;

    line-height: 1.35;
}

.interest-card p {
    color: #566b7d;

    font-size: 0.9rem;

    line-height: 1.7;
}


/* =========================================================
   EDUCATION
========================================================= */

.timeline {
    position: relative;

    display: flex;
    flex-direction: column;
}

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 175px;

    width: 2px;

    background: #c8d5e1;
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 55px;

    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";

    position: absolute;

    left: 169px;
    top: 6px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #CC0000;

    border: 3px solid #eaf0f5;

    box-shadow:
        0 0 0 2px #003366;
}

.timeline-date {
    color: #003366;

    font-size: 0.85rem;
    font-weight: 800;

    text-align: right;
}

.timeline-content {
    padding-left: 25px;
}

.timeline-content h3 {
    margin-bottom: 6px;

    color: #003366;

    font-size: 1.2rem;

    line-height: 1.4;
}

.timeline-content p {
    color: #566b7d;

    font-size: 0.92rem;
}

.timeline-content .institution {
    color: #CC0000;

    font-weight: 700;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-list {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.experience-card {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 32px;

    background: #ffffff;

    border: 1px solid #d4dfe8;

    padding: 30px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);
}

.experience-date {
    color: #003366;

    font-size: 0.81rem;
    font-weight: 800;

    line-height: 1.5;
}

.experience-content h3 {
    margin-bottom: 5px;

    color: #003366;

    font-size: 1.15rem;

    line-height: 1.35;
}

.experience-content .institution {
    margin-bottom: 11px;

    color: #CC0000;

    font-size: 0.87rem;
    font-weight: 700;
}

.experience-content p:last-child {
    color: #566b7d;

    font-size: 0.91rem;

    line-height: 1.72;
}


/* =========================================================
   PUBLICATIONS
========================================================= */

.publication-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.publication-card {
    display: grid;

    grid-template-columns: 1fr;

    gap: 22px;

    background: #ffffff;

    border: 1px solid #d4dfe8;

    padding: 28px;

    box-shadow:
        0 5px 18px rgba(0, 51, 102, 0.045);
}

.publication-content p {
    color: #43586b;

    font-size: 0.91rem;

    line-height: 1.78;
}

.publication-content em {
    color: #003366;
}

.publication-content a {
    display: inline-block;

    margin-top: 10px;

    color: #CC0000;

    font-size: 0.8rem;
    font-weight: 800;

    text-decoration: none;

    border-bottom: 1px solid transparent;

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

.publication-content a:hover {
    color: #003366;

    border-bottom-color: #003366;
}


/* =========================================================
   PEER REVIEW
========================================================= */

.review-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.review-card {
    background: #ffffff;

    border: 1px solid #d4dfe8;

    border-top: 3px solid #003366;

    padding: 30px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);
}

.review-role {
    margin-bottom: 10px;

    color: #CC0000;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.review-card h3 {
    margin-bottom: 7px;

    color: #003366;

    font-size: 1.05rem;

    line-height: 1.4;
}

.review-card .issn {
    margin-bottom: 14px;

    color: #718292;

    font-size: 0.75rem;

    font-weight: 700;
}

.review-card > p:last-child {
    color: #566b7d;

    font-size: 0.88rem;

    line-height: 1.7;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.certification-list {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.certification-card {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 32px;

    background: #ffffff;

    border: 1px solid #d4dfe8;

    padding: 30px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);
}

.certification-date {
    color: #003366;

    font-size: 0.81rem;
    font-weight: 800;

    line-height: 1.5;
}

.certification-content h3 {
    margin-bottom: 6px;

    color: #003366;

    font-size: 1.1rem;

    line-height: 1.4;
}

.certification-content .institution {
    margin-bottom: 11px;

    color: #CC0000;

    font-size: 0.87rem;
    font-weight: 700;
}

.certification-content p {
    color: #566b7d;

    font-size: 0.9rem;

    line-height: 1.7;
}

.certification-content .credential {
    margin-top: 9px;

    color: #718292;

    font-size: 0.76rem;

    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   STUDENT LEADERSHIP
========================================================= */

.leadership-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.leadership-card {
    background: #ffffff;

    border: 1px solid #d4dfe8;

    border-top: 3px solid #003366;

    padding: 32px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);
}

.leadership-role {
    margin-bottom: 10px;

    color: #CC0000;

    font-size: 0.76rem;
    font-weight: 800;
}

.leadership-card h3 {
    margin-bottom: 7px;

    color: #003366;

    font-size: 1.1rem;

    line-height: 1.4;
}

.leadership-card p:last-child {
    color: #566b7d;

    font-size: 0.88rem;
}


/* =========================================================
   RESEARCH PROJECTS
========================================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.project-card {
    background: #ffffff;

    border: 1px solid #d4dfe8;

    border-top: 3px solid #003366;

    padding: 32px;

    box-shadow:
        0 6px 20px rgba(0, 51, 102, 0.055);
}

.project-type {
    margin-bottom: 10px;

    color: #CC0000;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.project-card h3 {
    margin-bottom: 10px;

    color: #003366;

    font-size: 1.15rem;

    line-height: 1.4;
}

.project-card p {
    color: #566b7d;

    font-size: 0.89rem;
}

.project-card .institution {
    margin-bottom: 3px;

    color: #003366;

    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    width: 100%;

    padding: 100px 5%;

    background: #003366;

    color: #ffffff;

    scroll-margin-top: 90px;
}

.contact-inner {
    width: min(900px, 100%);

    margin: 0 auto;
}

.contact-heading {
    border-left-color: #CC0000;
}

.contact-heading h2 {
    color: #ffffff;
}

.contact-intro {
    max-width: 720px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1rem;

    line-height: 1.8;
}

.email-link {
    display: inline-block;

    margin-bottom: 32px;

    color: #ffffff;

    font-size: clamp(1.15rem, 3vw, 1.6rem);

    font-weight: 700;

    text-decoration: none;

    border-bottom: 2px solid #CC0000;
}

.email-link:hover {
    color: #CC0000;
}

.social-links {
    display: flex;

    flex-wrap: wrap;

    gap: 24px;
}

.social-links a {
    color: #ffffff;

    text-decoration: none;

    font-size: 0.84rem;
    font-weight: 700;

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);

    padding-bottom: 3px;

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

.social-links a:hover {
    color: #CC0000;

    border-color: #CC0000;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 23px 5%;

    background: #00264d;

    color: rgba(255, 255, 255, 0.62);

    text-align: center;

    font-size: 0.76rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding: 16px 0;

        align-items: flex-start;

        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;

        gap: 9px 16px;
    }

    .hero-content {
        grid-template-columns:
            minmax(0, 1fr)
            310px;

        gap: 30px;
    }

    .interest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .site-header {
        position: relative;
    }

    .header-inner {
        width: 90%;

        padding: 18px 0;
    }

    .main-nav {
        gap: 8px 13px;
    }

    .main-nav a {
        font-size: 0.65rem;
    }


    /* HERO */

    .hero-section {
        min-height: auto;

        padding: 65px 0 75px;
    }

    .hero-content {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 42px;
    }

    .hero-text {
        order: 1;
    }

    .hero-image-wrapper {
        order: 2;

        width: min(280px, 100%);
    }

    .hero-text h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);

        margin-bottom: 25px;
    }

    .hero-about p {
        font-size: 0.93rem;
    }


    /* SECTIONS */

    .content-section {
        width: 90%;

        padding: 78px 0;
    }

    .section-alt {
        width: 100%;

        padding-left: 5%;
        padding-right: 5%;
    }

    .section-heading {
        margin-bottom: 38px;

        padding-left: 16px;
    }

    .section-heading h2 {
        font-size: 1.95rem;
    }


    /* RESEARCH INTERESTS */

    .interest-grid {
        grid-template-columns: 1fr;
    }


    /* EDUCATION */

    .timeline::before {
        left: 6px;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 7px;

        padding-left: 28px;

        padding-bottom: 38px;
    }

    .timeline-item::before {
        left: 0;
    }

    .timeline-date {
        text-align: left;

        font-size: 0.79rem;
    }

    .timeline-content {
        padding-left: 0;
    }


    /* EXPERIENCE */

    .experience-card {
        grid-template-columns: 1fr;

        gap: 10px;

        padding: 25px;
    }


    /* PUBLICATIONS */

    .publication-card {
        grid-template-columns: 1fr;

        gap: 10px;

        padding: 25px;
    }


    /* CERTIFICATIONS */

    .certification-card {
        grid-template-columns: 1fr;

        gap: 10px;

        padding: 25px;
    }


    /* LEADERSHIP */

    .leadership-grid {
        grid-template-columns: 1fr;
    }


    /* RESEARCH PROJECTS */

    .project-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-section {
        padding: 78px 5%;
    }

    .social-links {
        flex-direction: column;

        align-items: flex-start;

        gap: 13px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .site-name {
        font-size: 1rem;
    }

    .main-nav {
        gap: 7px 11px;
    }

    .main-nav a {
        font-size: 0.61rem;
    }

    .eyebrow {
        font-size: 0.66rem;
    }

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

    .hero-image {
        border-width: 5px;
    }

    .interest-card,
    .review-card,
    .leadership-card,
    .project-card {
        padding: 25px;
    }

}