:root {
    --primary: #123d63;
    --primary-dark: #092b49;
    --accent: #c7973f;
    --background: #f7f9fc;
    --surface: #ffffff;
    --text: #18202a;
    --muted: #66717d;
    --border: #dce2e8;
    --max-width: 1180px;
    --shadow: 0 18px 45px rgba(15, 35, 55, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}


/* HEADER */

.site-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-main {
    color: var(--primary-dark);
    font-size: 1.22rem;
    font-weight: 700;
}

.brand-sub {
    color: var(--muted);
    font-size: 0.76rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 600;
    color: #394552;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
}


/* HERO */

.hero {
    background:
        linear-gradient(120deg, rgba(9,43,73,.97), rgba(18,61,99,.91));
    color: white;
    padding: 95px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 65px;
    align-items: center;
}

.eyebrow,
.section-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
}

.eyebrow {
    color: #f1cc82;
}

.hero h1 {
    margin: 13px 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.08;
    max-width: 900px;
}

.hero-title {
    font-size: 1.2rem;
    color: #e3eaf1;
    max-width: 760px;
}

.hero-text {
    max-width: 760px;
    color: #d1dce6;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 7px;
    font-weight: 700;
    transition: .2s ease;
}

.button.primary {
    background: var(--accent);
    color: #15212c;
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.button:hover {
    transform: translateY(-2px);
}

.profile-card {
    background: white;
    color: var(--text);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-placeholder {
    min-height: 320px;
    background: linear-gradient(135deg, #edf2f6, #d9e2ea);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

.profile-card-body {
    padding: 26px;
}

.profile-card-body h2 {
    margin-top: 0;
    color: var(--primary-dark);
}


/* CONTENT */

.intro-section,
.publications-preview {
    padding: 90px 0;
}

.section-heading {
    max-width: 790px;
    margin-bottom: 45px;
}

.section-label {
    color: var(--accent);
}

.section-heading h2,
.highlight-section h2,
.cta-box h2 {
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    margin: 8px 0 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(20,40,60,.04);
}

.feature-number {
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 22px;
}

.feature-card h3 {
    color: var(--primary-dark);
}


/* HIGHLIGHT */

.highlight-section {
    padding: 85px 0;
    background: #edf2f6;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.highlight-panel {
    background: var(--primary-dark);
    color: white;
    padding: 45px;
    border-radius: 10px;
}

.highlight-label {
    color: #efc878;
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .12em;
}

blockquote {
    margin: 12px 0 0;
    font-size: 1.45rem;
    line-height: 1.5;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}


/* PUBLICATIONS */

.row-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    max-width: none;
}

.publication-placeholder {
    background: white;
    border-left: 4px solid var(--accent);
    padding: 30px;
    box-shadow: var(--shadow);
}


/* CTA */

.cta-section {
    padding: 30px 0 90px;
}

.cta-box {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-box h2 {
    color: white;
}

.cta-box p {
    color: #dce7ef;
}

.button.light {
    background: white;
    color: var(--primary-dark);
    white-space: nowrap;
}


/* FOOTER */

.site-footer {
    background: #071f33;
    color: #d5e0e9;
    padding: 50px 0 25px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 35px;
    padding-top: 20px;
    color: #96a8b7;
    font-size: .88rem;
}


/* TABLETS */

@media (max-width: 950px) {

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

    .hero-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 480px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 78px;
        padding: 22px 4%;
        background: white;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav.open {
        display: flex;
    }
}


/* PHONES */

@media (max-width: 620px) {

    .hero {
        padding: 65px 0;
    }

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

    .row-heading,
    .cta-box,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-box {
        padding: 32px 25px;
    }

    .brand-sub {
        display: none;
    }
}


/* ABOUT PAGE */

.page-hero {
    background:
        linear-gradient(120deg, rgba(9,43,73,.97), rgba(18,61,99,.92));
    color: white;
    padding: 85px 0;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 60px;
    align-items: center;
}

.page-hero h1 {
    margin: 8px 0 15px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.05;
}

.page-lead {
    max-width: 800px;
    color: #dce6ee;
    font-size: 1.1rem;
}

.about-photo-card {
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 18px;
}

.about-photo {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
}

.content-section {
    padding: 85px 0;
}

.alternate-section {
    background: #edf2f6;
}

.narrow-content {
    max-width: 900px;
}

.narrow-content h2,
.content-section h2 {
    color: var(--primary-dark);
}

.timeline-section {
    padding: 85px 0;
    background: #f2f5f8;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.timeline-card,
.credential-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(20,40,60,.04);
}

.timeline-year {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: .06em;
}

.timeline-card h3,
.credential-card h3 {
    color: var(--primary-dark);
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 950px) {

    .page-hero-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-card {
        max-width: 420px;
    }
}

@media (max-width: 620px) {

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

    .page-hero {
        padding: 60px 0;
    }
}

/* PUBLICATIONS PAGE */

.publication-hero .container {
    max-width: 1160px;
}

.publication-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.publication-category {
    display: block;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.publication-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20,40,60,.10);
}

.category-number {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 800;
}

.publication-category h3 {
    color: var(--primary-dark);
    margin-top: 0;
}

.publication-section {
    padding: 80px 0;
}

.publication-section-heading {
    margin-bottom: 35px;
}

.publication-section-heading h2 {
    margin-top: 5px;
    color: var(--primary-dark);
}

.publication-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 22px;
}

.publication-year {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.05rem;
}

.publication-details h3 {
    color: var(--primary-dark);
    margin-top: 5px;
    margin-bottom: 12px;
}

.publication-type {
    display: inline-block;
    color: #627486;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.publication-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.publication-tags span {
    background: #edf2f6;
    border-radius: 20px;
    padding: 6px 12px;
    color: #36516a;
    font-size: .78rem;
    font-weight: 700;
}

.featured-publication {
    border-left: 4px solid var(--accent);
}

@media (max-width: 950px) {

    .publication-categories {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .publication-categories {
        grid-template-columns: 1fr;
    }

    .publication-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

/* RESEARCH PAGE */

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.research-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(20,40,60,.04);
}

.research-number {
    display: block;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 18px;
}

.research-card h3 {
    color: var(--primary-dark);
    margin-top: 0;
}

.research-question-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.research-question-list article {
    background: white;
    border-left: 4px solid var(--accent);
    padding: 28px;
    box-shadow: var(--shadow);
}

.research-question-list h3 {
    color: var(--primary-dark);
    margin-top: 0;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.collaboration-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}

.collaboration-item h3 {
    color: var(--primary-dark);
}

@media (max-width: 950px) {

    .research-grid,
    .collaboration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .research-grid,
    .research-question-list,
    .collaboration-grid {
        grid-template-columns: 1fr;
    }

}

/* PROJECTS PAGE */

.project-feature {
    display: grid;
    grid-template-columns: 1.4fr .7fr;
    gap: 30px;
    align-items: stretch;
}

.project-feature-content {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 38px;
    box-shadow: var(--shadow);
}

.project-feature-content h3,
.project-tech-panel h3,
.project-card h3,
.project-process-grid h3 {
    color: var(--primary-dark);
}

.project-status,
.project-type {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .76rem;
    font-weight: 800;
}

.project-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.project-module-grid > div {
    background: #f3f6f8;
    border-radius: 8px;
    padding: 22px;
}

.project-module-grid strong {
    color: var(--primary-dark);
}

.project-tech-panel {
    background: var(--primary-dark);
    color: white;
    border-radius: 12px;
    padding: 35px;
}

.project-tech-panel h3 {
    color: white;
}

.project-tech-list {
    margin: 25px 0;
    padding-left: 20px;
}

.project-tech-list li {
    margin-bottom: 9px;
}

.project-note {
    color: #cbd8e2;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
}

.project-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-process-grid article {
    background: white;
    border-top: 4px solid var(--accent);
    padding: 28px;
    box-shadow: 0 8px 25px rgba(20,40,60,.04);
}

.project-process-grid span {
    color: var(--accent);
    font-weight: 800;
}

.archive-placeholder {
    background: white;
    border: 1px dashed #b9c5cf;
    border-radius: 10px;
    padding: 35px;
}

@media (max-width: 950px) {

    .project-feature,
    .project-grid,
    .project-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-tech-panel {
        grid-column: 1 / -1;
    }

}

@media (max-width: 650px) {

    .project-feature,
    .project-module-grid,
    .project-grid,
    .project-process-grid {
        grid-template-columns: 1fr;
    }

    .project-tech-panel {
        grid-column: auto;
    }

}

/* DOWNLOADS PAGE */

.download-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.download-category {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.download-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.download-category span {
    color: var(--accent);
    font-weight: 800;
}

.download-category h3 {
    color: var(--primary-dark);
}

.download-section {
    padding: 80px 0;
}

.download-heading {
    margin-bottom: 35px;
}

.download-heading h2 {
    color: var(--primary-dark);
    margin-top: 5px;
}

.download-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 28px;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 20px;
}

.download-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--primary-dark);
    color: white;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.download-details h3 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 8px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    color: #667786;
    font-size: .82rem;
}

.download-meta span {
    background: #edf2f6;
    border-radius: 20px;
    padding: 5px 11px;
}

.download-action {
    text-align: right;
}

.download-pending {
    display: inline-block;
    background: #edf2f6;
    color: #607180;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 700;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 700;
}

.download-button:hover {
    background: var(--primary-dark);
}

@media (max-width: 950px) {

    .download-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 700px) {

    .download-category-grid {
        grid-template-columns: 1fr;
    }

    .download-item {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .download-action {
        text-align: left;
    }

}

/* CONTACT PAGE */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}

.contact-intro h2 {
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-area-grid article {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}

.contact-area-grid span {
    color: var(--accent);
    font-weight: 800;
}

.contact-area-grid h3 {
    color: var(--primary-dark);
}

@media (max-width: 950px) {

    .contact-grid,
    .contact-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .contact-grid,
    .contact-area-grid {
        grid-template-columns: 1fr;
    }

}
