*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;color:#17202a;background:#fff;line-height:1.65}a{color:inherit}.container{width:min(1120px,92%);margin:auto}
:root {
    --navy: #12355B;
    --blue: #1D5D8F;
    --teal: #0F766E;
    --gold: #D99A2B;
    --light-blue: #EAF4FA;
    --light-teal: #EAF7F5;
    --light-gold: #FFF7E5;
    --text: #17202A;
    --muted: #5F6B76;
    --border: #D9E3EA;
    --white: #FFFFFF;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
}
.nav-wrap{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand {
    color: white;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .08em;
}

.site-header nav a {
    color: #DCEAF4;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a.active {
    color: var(--gold);
}
.menu-btn{display:none;border:0;background:none;font-size:1.5rem}
.hero {
    padding: 100px 0;
    background: var(--light-blue);
}
.hero-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:70px;align-items:center}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#6b7280}
.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 12px 0 22px;
    max-width: 850px;
}

.hero h1 span {
    display: block;
    color: var(--navy);
}.button {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 7px;
    background: #0F766E;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin: 0;
}
.button:hover {
    background: var(--navy);
}

.button.secondary {
    background: white;
    color: var(--navy);
    border: 1px solid var(--blue);
}
.section.alt {
    background: #F5F9FC;
}
.stat{padding:28px 20px;border-bottom:1px solid #e8edf1}.stat:nth-child(odd){border-right:1px solid #e8edf1}
.stat:nth-child(3),.stat:nth-child(4){border-bottom:0}.stat strong{display:block;font-size:2rem}
.stat span{color:#68727d}.section{padding:80px 0}.section.alt{background:#f6f8fa}
.section-heading{margin-bottom:30px}.section h2{font-size:2rem;line-height:1.2}
.wide-text{max-width:850px;font-size:1.1rem;color:#58636e}.cards{display:grid;gap:20px}
.cards.three{grid-template-columns:repeat(3,1fr)}.card{border:1px solid #e2e7ec;border-radius:12px;padding:26px;background:#fff}
.news-list{border-top:1px solid #dfe5ea}.news{display:grid;grid-template-columns:120px 1fr;gap:25px;padding:25px 0;border-bottom:1px solid #dfe5ea}
.news time{font-size:.8rem;font-weight:800;color:#737e89}.news h3{margin:0 0 6px}.news p{margin:0;color:#606b76}
.page-hero{padding:75px 0;background:#f6f8fa}.page-hero h1{font-size:clamp(2.5rem,5vw,4rem)}
.profile-grid,.startup-grid{display:grid;grid-template-columns:320px 1fr;gap:60px;align-items:start}
.portrait{width: 280px;height:350px;border-radius: 14px;overflow: hidden;}
.portrait img{width: 100%;height: 100%;object-fit: cover;display: block;}
.startup-logo{aspect-ratio:1;border-radius:16px;background:#e9edf1;display:grid;place-items:center;text-align:center;font-weight:800;color:#7a8490}
.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.person{border:1px solid #e1e6eb;border-radius:12px;padding:18px}
.avatar{width: 180px;height: 200px;margin-bottom: 16px;border-radius: 9px;overflow: hidden;}.avatar img {width: 100%;height: 100%; object-fit: cover;}
.person h3{margin:0}.person p{color:#68737d;margin:4px 0 10px}
.person a{font-size:.9rem}
.group-title{margin-top:65px}
.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:16px;border-bottom:1px solid #e1e6eb}th{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.list-cards{display:grid;gap:15px}
.list-card{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:20px;border:1px solid #e1e6eb;border-radius:12px}
.list-card>span{font-weight:800;color:#707b86}
.list-card h3{margin:0}.list-card p{margin:5px 0 0;color:#66717c}footer{padding:35px 0;border-top:1px solid #e5e9ed;color:#68737d;font-size:.9rem}footer 
.container{display:flex;justify-content:space-between;gap:20px}
.button-row{margin-top:10px}@media(max-width:760px){.site-header nav{display:none;position:absolute;left:0;right:0;top:72px;background:#fff;padding:20px 4%;border-bottom:1px solid #e7ebef;flex-direction:column;gap:14px}

.site-header nav.open{display:flex;align-items: center;gap: 24px;}
.menu-btn{display:block}.hero{padding:65px 0}
.hero-grid,.profile-grid,.startup-grid{grid-template-columns:1fr;gap:35px}.cards.three,.people-grid{grid-template-columns:1fr}
.news{grid-template-columns:1fr;gap:5px}
.section{padding:55px 0}footer 
.container{flex-direction:column;gap:5px}
.list-card{grid-template-columns:1fr;gap:5px}}
.details{margin-top: 12px;text-align: left;}
.summary {cursor: pointer;font-weight: 600;color: #52606d;padding: 6px 0;}
.details p {font-size: 0.9rem;line-height: 1.5;margin-top: 8px;color: #68737d;}
.publication-list {
    display: grid;
    gap: 18px;
}

.publication {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-left: 5px solid var(--teal);
    border-radius: 12px;
    transition: 0.2s;
}

.publication:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(18,53,91,0.10);
}

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

.publication-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

.authors {
    margin: 0 0 5px 0;
    color: var(--text);
}

.journal {
    margin: 0 0 12px 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.paper-link {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.paper-link:hover {
    color: var(--navy);
    text-decoration: underline;
}
.research-card {
    position: relative;
}

.research-card .short-description {
    color: var(--text);
}

.research-card details {
    margin-top: 15px;
    text-align: left;
}

.research-card summary {
    display: inline-block;
    cursor: pointer;
    color: var(--teal);
    font-weight: 700;
    padding: 8px 0;
    list-style: none;
}

.research-card summary::-webkit-details-marker {
    display: none;
}

.research-card summary:hover {
    color: var(--navy);
    text-decoration: underline;
}

.research-card details p {
    color: var(--muted);
    line-height: 1.7;
    margin-top: 10px;
}
/* ===== Lab intro ===== */
.lab-intro {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    padding: 70px 0;
    display: flex;
    align-items: center;
    color: #fff;
    background: #0b1f1c;
}

/* Layer 1: blurred, darkened copy fills the whole section */
.lab-intro::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: url("../images/Lab_group_photo2.jpeg") center / cover no-repeat;
    filter: blur(24px) brightness(0.45);
    z-index: 0;
}

/* Layer 2: the full, sharp photo, never cropped */
.lab-intro::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 100%;
    background: url("images/Lab_group_photo2.jpeg") left center / contain no-repeat;
    -webkit-mask-image: linear-gradient(to right, #000 75%, transparent 100%);
            mask-image: linear-gradient(to right, #000 75%, transparent 100%);
    z-index: 1;
}

/* Text card on top, right side */
.lab-intro .lab-intro-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.lab-intro .lab-intro-text {
    max-width: 520px;
    padding: 32px 36px;
    text-align: left;
    background: rgba(0, 0, 0, 0.62);        /* transparent black layer */
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border-radius: 14px;
}

.lab-intro .lab-intro-text p {
    color: #fff;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.lab-intro .lab-intro-text .eyebrow {
    color: #fff;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 0.8rem;
}

/* ===== Mobile: photo on top, text below ===== */
@media (max-width: 900px) {
    .lab-intro {
        flex-direction: column;
        min-height: auto;
        padding: 0 0 50px;
    }

    .lab-intro::after {
        position: relative;
        order: -1;
        width: 100%;
        height: 280px;
        background-position: center;
        -webkit-mask-image: none;
                mask-image: none;
    }

    .lab-intro .lab-intro-content {
        justify-content: center;
        margin-top: 30px;
    }

    .lab-intro .lab-intro-text {
        padding: 24px;
    }
}
/* =========================================
   FACILITIES - COLOURED BOX PANELS
   ========================================= */

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}


/* Main box */

.facility-card {
    position: relative;
    padding: 30px;
    min-height: 330px;

    background: #ffffff;

    border: 1px solid #d9e3ea;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(18, 53, 91, 0.08);

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}


/* Hover */

.facility-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(18, 53, 91, 0.15);
}


/* Number */

.facility-number {
    position: absolute;

    top: 20px;
    right: 24px;

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

    color: #9aa9b5;
}


/* Icon box */

.facility-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 14px;

    margin-bottom: 22px;

    font-size: 1.6rem;
}


/* Heading */

.facility-card h3 {
    margin: 0 0 12px 0;

    font-size: 1.25rem;

    color: #12355B;
}


/* Description */

.facility-card > p {
    margin: 0 0 20px 0;

    color: #5F6B76;

    line-height: 1.65;
}


/* Details section */

.facility-card details {
    margin-top: 18px;
}


/* Read more button */

.facility-card summary {
    cursor: pointer;

    display: inline-block;

    padding: 9px 14px;

    border-radius: 8px;

    background: #EAF4FA;

    color: #12355B;

    font-weight: 700;

    list-style: none;
}

.facility-card summary::-webkit-details-marker {
    display: none;
}

.facility-card summary:hover {
    background: #DCEEF7;
}


/* List inside expanded section */

.facility-card ul {
    margin-top: 16px;
    padding-left: 20px;
}

.facility-card li {
    margin-bottom: 8px;

    color: #5F6B76;

    line-height: 1.5;
}


/* =========================================
   DIFFERENT COLOURS FOR EACH PANEL
   ========================================= */


/* Blue */

.facility-blue {
    background: #F1F7FC;
    border-top: 6px solid #1D5D8F;
}

.facility-blue .facility-icon {
    background: #DCEEF8;
    color: #1D5D8F;
}


/* Teal */

.facility-teal {
    background: #EFFAF8;
    border-top: 6px solid #0F766E;
}

.facility-teal .facility-icon {
    background: #D7F2EE;
    color: #0F766E;
}


/* Gold */

.facility-gold {
    background: #FFF9EC;
    border-top: 6px solid #D99A2B;
}

.facility-gold .facility-icon {
    background: #FFF0C9;
    color: #A66D08;
}


/* Purple */

.facility-purple {
    background: #F6F3FF;
    border-top: 6px solid #6D5BD0;
}

.facility-purple .facility-icon {
    background: #E8E2FF;
    color: #6D5BD0;
}


/* Orange */

.facility-orange {
    background: #FFF5EB;
    border-top: 6px solid #D97706;
}

.facility-orange .facility-icon {
    background: #FFE4C7;
    color: #D97706;
}


/* Red */

.facility-red {
    background: #FFF2F0;
    border-top: 6px solid #C2410C;
}

.facility-red .facility-icon {
    background: #FFE0D9;
    color: #C2410C;
}


/* Indigo */

.facility-indigo {
    background: #F2F3FF;
    border-top: 6px solid #4F46E5;
}

.facility-indigo .facility-icon {
    background: #E2E4FF;
    color: #4F46E5;
}


/* Green */

.facility-green {
    background: #F0FAF3;
    border-top: 6px solid #15803D;
}

.facility-green .facility-icon {
    background: #DCF3E3;
    color: #15803D;
}


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

@media (max-width: 950px) {

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

}


@media (max-width: 650px) {

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

    .facility-card {
        min-height: auto;
    }

}