/* =========================================
   GLOBAL
   ========================================= */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
/* =========================================
   SITE HEADER
   ========================================= */
.site-header {
    height: 72px;
    padding: 0 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
}
/* =========================================
   HEADER BRAND
   ========================================= */
.brand {
    color: #111111;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.4px;
    text-decoration: none;
}
/* =========================================
   MAIN NAVIGATION
   ========================================= */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav a {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}
.nav a:hover {
    color: #000000;
}
/* =========================================
   HOME HERO
   ========================================= */
.hero {
    padding: 105px 24px 72px;
    text-align: center;
}
.hero h1 {
    margin: 0 0 20px;
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -3.2px;
}
.hero p {
    margin: 0;
    color: #707070;
    font-size: 18px;
    font-weight: 400;
}
/* =========================================
   HOME CARDS GRID
   ========================================= */
.cards {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
/* =========================================
   HOME CARDS
   ========================================= */
.card {
    min-height: 255px;
    padding: 30px;
    background: #f7f7f8;
    border: 1px solid #e7e7e8;
    border-radius: 16px;
}
.card h2 {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.12em;
}
.card a {
    display: block;
    width: fit-content;
    margin: 0 0 16px;
    color: #202020;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: none;
}
.card a:hover {
    color: #666666;
}
/* =========================================
   HEADER LOGO
   ========================================= */
.header-logo {
    display: block;
    width: 105px;
    height: auto;
}
/* =========================================
   HERO LOGO
   ========================================= */
.hero-logo {
    display: block;
    width: 306px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 20px;
}
/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 760px) {
    .site-header {
        height: 66px;
        padding: 0 20px;
    }
    .nav {
        gap: 20px;
    }
    .nav a:not(:last-child) {
        display: none;
    }
    .hero {
        padding: 78px 20px 55px;
    }
    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.4px;
    }
    .hero p {
        max-width: 330px;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.5;
    }
    .cards {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 50px;
    }
    .card {
        min-height: 0;
        padding: 26px;
    }
}
/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumbs {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    padding: 18px 0 0;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.breadcrumbs a,
.breadcrumbs a:link,
.breadcrumbs a:visited {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #555555;
    text-decoration: none;
}
.breadcrumb-separator {
    margin: 0 7px;
    color: #b5b5b5;
}
.breadcrumb-current {
    color: #8a8a8a;
}
/* =========================================
   BREADCRUMBS MOBILE
   ========================================= */
@media (max-width: 760px) {
    .breadcrumbs {
        width: calc(100% - 40px);
        padding-top: 14px;
        font-size: 11px;
    }
    .breadcrumbs a,
    .breadcrumbs a:link,
    .breadcrumbs a:visited {
        font-size: 11px;
    }
}
/* =========================================
   CONTENT PAGES
   ========================================= */
.content-page {
    width: min(900px, calc(100% - 56px));
    margin: 0 auto;
    padding: 70px 0 100px;
}
.page-kicker {
    margin: 0 0 14px;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
}
.content-page h1 {
    margin: 0 0 24px;
    color: #111111;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -2px;
}
.page-intro {
    max-width: 760px;
    margin: 0 0 54px;
    color: #666666;
    font-size: 19px;
    line-height: 1.6;
}
/* =========================================
   CONTENT PAGE GRID
   ========================================= */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.content-card {
    padding: 30px;
    background: #f7f7f8;
    border: 1px solid #e7e7e8;
    border-radius: 16px;
}
.content-card.wide {
    grid-column: 1 / -1;
}
.content-card h2 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 500;
}
.content-card p {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.65;
}
/* =========================================
   CONTENT PAGES MOBILE
   ========================================= */
@media (max-width: 760px) {
    .content-page {
        width: calc(100% - 40px);
        padding: 48px 0 70px;
    }
    .content-page h1 {
        font-size: 38px;
    }
    .page-intro {
        font-size: 17px;
        margin-bottom: 38px;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
    .content-card.wide {
        grid-column: auto;
    }
}

/* =========================================
   SECTION LANDING PAGES
   Research / Projects / About
   ========================================= */
.section-page {
    padding: 88px 24px 80px;
    text-align: center;
}
.section-page h1 {
    margin: 0 0 18px;
    color: #111111;
    font-size: 52px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -2.4px;
}
.section-page > p {
    max-width: 720px;
    margin: 0 auto 62px;
    color: #707070;
    font-size: 18px;
    line-height: 1.55;
}
.section-links {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    text-align: left;
}
.section-card,
.section-card:link,
.section-card:visited {
    min-height: 180px;
    padding: 30px;
    background: #f7f7f8;
    border: 1px solid #e7e7e8;
    border-radius: 16px;
    color: #202020;
    text-decoration: none;
}
.section-card:hover {
    background: #f2f2f3;
    color: #202020;
    text-decoration: none;
}
.section-card h2 {
    margin: 0 0 14px;
    color: #202020;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.3px;
}
.section-card p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.55;
}
/* =========================================
   SECTION LANDING PAGES MOBILE
   ========================================= */
@media (max-width: 760px) {
    .section-page {
        padding: 58px 20px 60px;
    }
    .section-page h1 {
        font-size: 42px;
    }
    .section-page > p {
        margin-bottom: 40px;
        font-size: 16px;
    }
    .section-links {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-card,
    .section-card:link,
    .section-card:visited {
        min-height: 0;
        padding: 26px;
    }
}

/* =========================================
   DEMOSCAPE LAUNCH
   ========================================= */
.demoscape-launch {
    margin: 0 0 54px;
}
.demoscape-launch a {
    display: inline-block;
    padding: 14px 24px;
    background: #202020;
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}
.demoscape-launch a:hover {
    background: #000000;
}