:root {
    --ink: #32365a;
    --gold: #b4a96d;
    --cream: #e3dec8;
    --paper: #faf9f4
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--cream);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 2px 12px #32365a1c
}

.navbar {
    min-height: 80px
}

.brand-uv {
    width: auto;
    height: 46px;
    object-fit: contain
}

.navbar-brand {
    color: var(--ink) !important;
    letter-spacing: .02em
}

.navbar-brand small {
    display: block;
    font-size: .72rem;
    font-weight: 400
}

.nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    padding: .65rem .6rem !important;
    border-bottom: 3px solid transparent
}

.nav-link:hover, .nav-link.active {
    color: #746a34 !important;
    border-bottom-color: var(--gold)
}

.navbar-toggler {
    border-color: var(--ink)
}

.section-heading {
    margin-bottom: 1.75rem
}

.eyebrow {
    color: #746a34;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .12em
}

.section-heading h1 {
    font-weight: 750;
    color: var(--ink)
}

.hero {
    background: linear-gradient(110deg, #fff, #f2efdf);
    border-left: 6px solid var(--gold);
    border-radius: .35rem;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem
}

.hero img {
    max-width: 100%;
    height: auto
}

.card {
    border: 0;
    box-shadow: 0 4px 20px #32365a12
}

.info-item {
    padding: .8rem 0;
    border-bottom: 1px solid #ded9be
}

.info-item:last-child {
    border: 0
}

.members-vertical {
    max-width: 760px
}

.member-card-vertical {
    background: #fff;
    border-left: 5px solid var(--gold);
    box-shadow: 0 4px 18px #32365a12;
    padding: .7rem 1rem;
    margin-bottom: .55rem;
    line-height: 1.25
}

.member-card-vertical h2 {
    color: var(--ink);
    margin: 0 0 .12rem;
    line-height: 1.2
}

.member-card-vertical a {
    color: #746a34;
    overflow-wrap: anywhere
}

.research-list div, .research-text > div {
    padding: .65rem 1rem;
    border-bottom: 1px solid #ded9be
}

.research-list div {
    font-weight: 600
}

.research-text {
    background: #fff;
    padding: 1.5rem;
    border-radius: .4rem;
    box-shadow: 0 4px 20px #32365a12
}

.research-text h2, .research-text h3 {
    color: var(--ink);
    margin-top: 1.6rem
}

.research-text h2:first-child {
    margin-top: 0
}

.research-results {
    max-width: 760px
}

.research-result {
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: .4rem;
    box-shadow: 0 4px 20px #32365a12
}

.research-result img {
    display: block;
    width: 100%;
    height: auto
}

.collaborations-list {
    max-width: 1280px;
    background: #fff;
    border-radius: .4rem;
    box-shadow: 0 4px 20px #32365a12
}

.collaboration-item {
    padding: .55rem .9rem;
    line-height: 1.3;
    border-bottom: 1px solid #ded9be
}

.publication-index {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 2rem
}

.publication-index a {
    border: 1px solid var(--gold);
    border-radius: .25rem;
    padding: .32rem .65rem;
    color: var(--ink);
    text-decoration: none
}

.publication-index a:hover, .publication-index a.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff
}

.publication-year {
    background: #fff;
    border-radius: .4rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px #32365a12
}

.publication-year h2 {
    color: #746a34;
    border-bottom: 2px solid var(--cream);
    padding-bottom: .5rem
}

.publication-entry {
    white-space: normal;
    line-height: 1.3;
    padding: .45rem 0;
    border-bottom: 1px solid #ded9be
}

.publication-entry br {
    line-height: 1.15
}

.publication-entry:last-child {
    border: 0
}

.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: .9rem
}

@media (max-width: 700px) {
    .navbar-nav {
        font-size: .8rem;
        gap: .3rem !important
    }

    .brand-uv {
        width: auto;
        height: 38px
    }

    .navbar-brand strong {
        font-size: 1rem
    }

    .navbar-brand small {
        font-size: .6rem
    }

    .site-footer .container {
        flex-direction: column;
        gap: .5rem
    }
}

.support-content {
    font-size: .95rem
}

.support-content p {
    margin-bottom: 1rem
}

.support-content p:last-child {
    margin-bottom: 0
}

.research-interest {
    margin: 0;
    padding-left: 1.25rem
}

.research-interest li {
    padding: .28rem 0
}

.publication-authors {
    margin-top: .12rem
}

.publication-journal {
    margin-top: .08rem
}