/*
   AIXLAB CENTRAL STYLESHEET
   ------------------------
   
   - All visual styling is kept in this one file.
   - No CSS custom-property values are used.
   - No page-level <style> blocks or inline style="..." attributes

   Main colour palette:
   Near black:   #101010
   AIXLAB blue:  #2d70b8
   Light blue:   #4a8fd4
   Dark blue:    #1e4d7a
   Paper white:  #f9fafd
   White:        #ffffff
   Muted grey:   #6c6c77
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f9fafd;
    color: #101010;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: inherit;
}

.wrap {
    width: min(1200px,calc(100% - (clamp(20px,4vw,56px)*2)));
    margin-inline: auto;
}

.narrow {
    max-width: 900px;
}

.center {
    text-align: center;
}

.section {
    padding: clamp(70px,9vw,120px) 0;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: .8rem;
    letter-spacing: .16em;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow.blue {
    color: #2d70b8;
}

h1,h2,h3 {
    margin: 0 0 20px;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem,4vw,3.35rem);
}

h2 {
    font-size: clamp(2rem,3.5vw,3.4rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1.25rem;
}

.lead {
    font-size: clamp(1.05rem,1.6vw,1.25rem);
    color: #333;
}

.button {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 26px;
    background: #101010;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #101010;
    transition: .2s;
}

.button:hover {
    background: #2d70b8;
    border-color: #2d70b8;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    padding: 14px clamp(20px,4vw,55px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16,16,16,.92);
    backdrop-filter: blur(8px);
    color: #fff;
}

.brand img {
    width: 82px;
    height: 62px;
    object-fit: contain;
}

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

.main-nav a {
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 11px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(16,16,16,.35),rgba(16,16,16,.55));
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    padding-top: 88px;
}

.hero-title {
    font-size: clamp(2.8rem,7vw,6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 22px;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1.05rem,2vw,1.45rem);
    font-style: italic;
}

.intro {
    background: #fff;
}

.cases {
    background: #f2f4f6;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid.three {
    grid-template-columns: repeat(3,1fr);
}

.image-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #222;
}

.image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.image-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 35%,rgba(0,0,0,.8));
}

.image-card-copy {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 25px;
    color: #fff;
}

.image-card-copy h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.image-card-copy a {
    text-decoration: none;
    color: #7db5ec;
}

.image-card:hover img {
    transform: scale(1.035);
}

.services {
    background: #fff;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(35px,6vw,80px);
    align-items: center;
}

.split-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.split-copy p {
    color: #3d3d3d;
}

.partners {
    background: #f9fafd;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 24px;
    align-items: center;
    margin-top: 45px;
}

.logo-grid img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}

.team {
    background: #fff;
}

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

.profile img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 22px;
}

.profile h3 {
    margin-bottom: 8px;
}

.profile .role {
    color: #2d70b8;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.4;
}

.profile p:last-child {
    color: #4f4f4f;
    font-size: .95rem;
}

.research-banner {
    position: relative;
    padding: clamp(90px,12vw,160px) 0;
    background: url("../images/case-vr-opera.jpg") center/cover fixed;
    color: #fff;
}

.research-shade {
    position: absolute;
    inset: 0;
    background: rgba(16,16,16,.72);
}

.research-copy {
    position: relative;
}

.research-copy p:last-child {
    font-size: 1.08rem;
}

.cta {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
}

.cta>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-shade {
    position: absolute;
    inset: 0;
    background: rgba(16,16,16,.55);
}

.cta-copy {
    position: relative;
}

.cta h2 {
    font-size: clamp(1.8rem,4vw,3.3rem);
}

.cta h2 a {
    color: #fff;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.site-footer {
    padding: 65px 0;
    background: #101010;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1fr;
    gap: 50px;
}

.site-footer h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.site-footer p {
    color: #ccc;
    font-size: .92rem;
}

.site-footer a {
    color: #fff;
}

@media (max-width:900px) {
    .card-grid.three,.team-grid {
        grid-template-columns: repeat(2,1fr);
    }

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

    .logo-grid {
        grid-template-columns: repeat(4,1fr);
    }

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

    .main-nav {
        gap: 18px;
    }

}

@media (max-width:680px) {
    .site-header {
        height: 76px;
    }

    .brand img {
        width: 64px;
        height: 48px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #101010;
        padding: 20px clamp(20px,4vw,56px);
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero-content {
        padding-top: 76px;
    }

    .card-grid.three,.team-grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .image-card {
        min-height: 380px;
    }

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

    .section {
        padding: 70px 0;
    }

    .research-banner {
        background-attachment: scroll;
    }

}

/* Interior pages: About + Research. Shared styles, no page-specific CSS files. */

.main-nav a[aria-current="page"] {
    color: #86b9ec;
}

.page-hero {
    padding: 170px 0 80px;
    background: linear-gradient(135deg,#1e4d7a,#12335c);
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(3rem,7vw,6rem);
    margin: 0;
}

.page-hero .eyebrow {
    color: #b9d7f5;
}

.intro-copy {
    background: #fff;
}

.page-intro {
    font-size: clamp(1.35rem,2.4vw,2rem);
    line-height: 1.45;
    font-weight: 300;
    color: #222;
}

.about-pillars {
    background: #f2f4f6;
}

.pillar-card {
    background: #fff;
}

.pillar-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.pillar-copy {
    padding: 28px;
}

.pillar-copy h2 {
    font-size: 1.6rem;
}

.pillar-copy p {
    color: #4b4b52;
    margin-bottom: 0;
}

.collaboration-team {
    background: #fff;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px 24px;
    margin-top: 44px;
}

.person-tile {
    margin: 0;
    background: #f6f7f8;
}

.person-tile img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.person-tile figcaption {
    padding: 18px;
}

.person-tile strong,.person-tile span {
    display: block;
}

.person-tile strong {
    font-size: 1.05rem;
}

.person-tile span {
    margin-top: 5px;
    color: #5c5c64;
    font-size: .87rem;
    line-height: 1.45;
}

.person-tile a {
    color: #2d70b8;
}

.creative-partners {
    background: #f2f4f6;
}

.media-row {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(35px,6vw,80px);
    align-items: center;
    margin-top: 55px;
}

.media-row.reverse {
    grid-template-columns: 1.15fr .85fr;
}

.media-row.reverse .media-row-image {
    order: 2;
}

.media-row-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #fff;
}

.media-row-copy h3 {
    font-size: clamp(1.6rem,2.8vw,2.4rem);
}

.media-row-copy p {
    color: #444;
}

.media-row-copy a {
    color: #2d70b8;
    font-weight: 700;
}

.funding-projects {
    background: #fff;
}

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

.project-card {
    border: 1px solid #e5e6e8;
    background: #fff;
}

.project-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
}

.project-card>div {
    padding: 20px;
}

.project-card h3 {
    font-size: 1.2rem;
}

.project-card p {
    font-size: .93rem;
    color: #555;
    margin-bottom: 0;
}

.project-card a {
    color: #2d70b8;
}

.research-topic {
    background: #fff;
}

.research-topic.alt-bg {
    background: #f2f4f6;
}

.topic-title {
    font-size: clamp(2.6rem,5vw,4.6rem);
    margin-bottom: 48px;
}

.research-lead-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(35px,6vw,80px);
    align-items: start;
}

.topic-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.topic-copy h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 8px;
}

.topic-copy h3:first-child {
    margin-top: 0;
}

.topic-copy ul {
    padding-left: 1.3rem;
    margin: 0 0 1.5rem;
}

.topic-copy li {
    margin-bottom: .45rem;
}

.research-bio {
    max-width: 930px;
    margin: 70px auto 0;
    padding: 34px;
    border-left: 5px solid #2d70b8;
    background: #f6f7f8;
}

.research-bio h3 {
    font-size: 1.45rem;
}

.research-bio p {
    margin: 0;
}

.video-panel {
    max-width: 1000px;
    margin: 45px auto;
}

.video-panel video {
    width: 100%;
    display: block;
    background: #0d0d0d;
    min-height: 240px;
}

.asset-note {
    padding: 12px 15px;
    margin: 0;
    background: #eef3f7;
    color: #53606c;
    font-size: .82rem;
}

.prose-columns {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 55px;
    margin-top: 65px;
}

.prose-columns h3 {
    font-size: 1.35rem;
}

.prose-columns p {
    color: #444;
}

.morning-star .research-lead-grid {
    grid-template-columns: .9fr 1.1fr;
}

@media (max-width:1000px) {
    .people-grid {
        grid-template-columns: repeat(3,1fr);
    }

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

    .research-lead-grid,.media-row,.media-row.reverse {
        grid-template-columns: 1fr;
    }

    .media-row.reverse .media-row-image {
        order: 0;
    }

}

@media (max-width:680px) {
    .page-hero {
        padding: 130px 0 55px;
    }

    .people-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px 14px;
    }

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

    .pillar-copy {
        padding: 22px;
    }

    .research-bio {
        margin-top: 45px;
        padding: 24px;
    }

    .topic-title {
        margin-bottom: 30px;
    }

}
	.AboutPanel {
    border-radius: 15px;
    border: medium outset #080808;
}
