@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f7f8f5;
    --ink: #173335;
    --muted: #607070;
    --line: #dce4dd;
    --green: #327764;
    --lime: #dcebd9;
    --dark: #133333;
    --white: #fff;
    --max: 1190px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

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

button {
    font: inherit
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #71bb9a;
    outline-offset: 4px
}

.shell {
    max-width: var(--max);
    padding-left: 34px;
    padding-right: 34px;
    margin: auto
}

.skip-link {
    position: absolute;
    left: 20px;
    top: -100px;
    padding: 12px 16px;
    background: #fff;
    z-index: 100
}

.skip-link:focus {
    top: 12px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 245, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.4px
}

.brand-mark {
    font-size: 24px;
    letter-spacing: -2px
}

.brand-dot {
    color: #5c9b7e
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav-links>a {
    font-size: 13px;
    font-weight: 700;
    color: #485d5b;
    transition: color .2s
}

.nav-links>a:hover,
.text-link:hover,
.social-links a:hover {
    color: #29906a
}

.nav-links .nav-contact {
    border: 1px solid #739d8b;
    border-radius: 6px;
    padding: 10px 13px;
    color: var(--ink)
}

.nav-toggle {
    display: none
}

.hero {
    display: grid;
    grid-template-columns: 1.23fr .77fr;
    gap: 50px;
    align-items: center;
    min-height: 600px;
    padding-top: 67px;
    padding-bottom: 78px
}

.eyebrow,
.micro-label,
.section-label,
.art-topline,
.art-bottom,
.card-number,
.timeline-date,
.news-row time {
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 800
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #457864
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #53a484;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #e4efe6
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Manrope, sans-serif
}

h1 {
    font-size: clamp(43px, 4.8vw, 69px);
    letter-spacing: -3.5px;
    line-height: 1.12;
    margin: 22px 0 26px;
    font-weight: 800
}

h1 em,
.contact-inner h2 em {
    font-style: normal;
    color: #44896b
}

h2 {
    font-size: clamp(31px, 3.2vw, 47px);
    line-height: 1.18;
    letter-spacing: -2px;
    font-weight: 800;
    margin: 0 0 26px
}

.accent {
    color: #43866a
}

.hero-lead {
    font-size: 17px;
    line-height: 1.85;
    color: #596d68;
    max-width: 555px
}

.hero-lead strong {
    color: var(--ink)
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    padding: 14px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s, background .2s
}

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

.button-primary {
    background: #1e5849;
    color: #fff
}

.button-primary:hover {
    background: #2a735c
}

.button-outline {
    border: 1px solid #afc5b7;
    background: #fff
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 33px;
    font-size: 12px;
    color: #536d62;
    font-weight: 800
}

.hero-art {
    position: relative;
    height: 440px;
    background: #153a36;
    border-radius: 9px;
    box-shadow: 23px 22px 0 #e3eae2;
    overflow: hidden;
    padding: 24px
}

.art-topline,
.art-bottom {
    display: flex;
    justify-content: space-between;
    color: #b7d8c9;
    font-size: 9px;
    letter-spacing: 1.4px
}

.graph-art {
    display: block;
    height: 345px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto
}

.art-bottom {
    align-items: center;
    gap: 5px
}

.hero-photo-card {
    height: auto;
    background: #fff;
    border: 1px solid #dbe4de;
    box-shadow: 23px 22px 0 #e3eae2;
    padding: 18px
}

.hero-photo-card .art-topline,
.hero-photo-card .art-bottom {
    color: #557167
}

.profile-figure {
    margin: 14px 0 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #edf2ec;
    aspect-ratio: 4/5
}

.profile-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
}

.ticker {
    background: #e9eee8;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.ticker-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    min-height: 64px;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #477463
}

.ticker i {
    width: 5px;
    height: 5px;
    background: #a1c1ad;
    border-radius: 50%;
    flex-shrink: 0
}

.section {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 45px;
    padding-top: 106px;
    padding-bottom: 106px;
    border-bottom: 1px solid var(--line)
}

.section-label {
    padding-top: 12px;
    color: #43866a
}

.section-body {
    min-width: 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 50px
}

.about-grid p,
.software-panel p {
    font-size: 15px;
    line-height: 1.95;
    color: #526761
}

.about-grid a:not(.button) {
    border-bottom: 1px solid #b5cabb
}

.about-grid a:hover {
    color: #2c886b
}

.about-grid .opportunity {
    font-weight: 700;
    color: #315e4c
}

.focus-card {
    align-self: start;
    background: #e9f0e9;
    border: 1px solid #d9e6d9;
    padding: 28px;
    border-radius: 6px
}

.micro-label {
    color: #4d9073
}

.focus-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid #d0dfd0;
    font-size: 13px
}

.focus-item:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.focus-item span {
    color: #62a184;
    font-family: Manrope, sans-serif;
    font-size: 11px;
    font-weight: 800
}

.focus-item strong {
    font-weight: 700
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px
}

.section-intro {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 27px
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.research-card {
    padding: 29px;
    background: #fff;
    border: 1px solid #e0e8df;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    min-height: 345px;
    transition: border-color .2s, transform .2s
}

.research-card:hover {
    border-color: #a5c7b4;
    transform: translateY(-3px)
}

.card-number {
    color: #599479
}

.research-symbol {
    font-size: 33px;
    color: #508c72;
    margin: 23px 0 12px
}

.research-card h3 {
    font-size: 19px;
    letter-spacing: -.6px;
    line-height: 1.4;
    margin: 0 0 12px
}

.research-card p {
    font-size: 13.5px;
    color: #5d706a;
    line-height: 1.8
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 8px
}

.tags span {
    font-size: 10px;
    font-weight: 700;
    background: #edf2ec;
    padding: 6px 9px;
    border-radius: 3px;
    color: #4f7866
}

.text-link {
    font-size: 12px;
    color: #2d6d56;
    font-weight: 800;
    margin-top: 23px
}

.news-section {
    padding-top: 92px;
    padding-bottom: 92px
}

.news-list {
    border-top: 1px solid var(--line)
}

.news-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding: 21px 0
}

.news-row time {
    color: #59967b;
    white-space: nowrap;
    padding-top: 3px
}

.news-row p {
    color: #4c605b;
    line-height: 1.65;
    font-size: 14px;
    margin: 0
}

.news-row strong {
    color: var(--ink)
}

.subtle-link {
    font-size: 12px;
    color: #3b876a;
    font-weight: 800;
    white-space: nowrap;
    padding-bottom: 30px
}

.pub-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 8px 0 26px
}

.filter {
    cursor: pointer;
    padding: 9px 14px;
    border: 1px solid #d5e0d6;
    border-radius: 4px;
    background: transparent;
    color: #5e756b;
    font-size: 12px;
    font-weight: 700
}

.filter.active,
.filter:hover {
    background: #215d4c;
    color: #fff;
    border-color: #215d4c
}

.publication-list {
    border-top: 1px solid #d8e3da
}

.pub-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 18px;
    border-bottom: 1px solid #d8e3da;
    padding: 22px 0
}

.pub-year {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #5a987e;
    padding-top: 5px
}

.pub-title {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: -.25px;
    margin: 0 0 6px
}

.pub-authors {
    font-size: 12.5px;
    line-height: 1.8;
    color: #65756e;
    margin: 0 0 7px
}

.pub-authors strong {
    color: #2e6e54
}

.pub-venue {
    color: #3a7660;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase
}

.pub-links {
    display: inline-flex;
    gap: 13px;
    margin-left: 15px;
    font-size: 11px;
    font-weight: 800
}

.pub-links a {
    color: #236f52;
    text-decoration: underline;
    text-underline-offset: 3px
}

.pub-note {
    font-size: 12px;
    line-height: 1.7;
    color: #687870;
    margin-top: 20px
}

.pub-note a {
    font-weight: 800;
    color: #347c60
}

.timeline {
    border-top: 1px solid var(--line)
}

.timeline-item {
    display: grid;
    grid-template-columns: 166px 1fr;
    gap: 20px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line)
}

.timeline-date {
    color: #529475;
    padding-top: 7px
}

.timeline-item h3 {
    font-size: 16px;
    margin: 0 0 10px;
    letter-spacing: -.25px
}

.timeline-item h3 span {
    font-size: 13px;
    font-family: 'DM Sans', Arial, sans-serif;
    color: #65776d;
    font-weight: 500
}

.timeline-item p {
    font-size: 13px;
    color: #5b6e65;
    line-height: 1.8;
    margin: 0
}

.education {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-top: 34px
}

.education>div {
    background: #edf2eb;
    border-radius: 5px;
    padding: 22px
}

.education h3 {
    font-size: 14px;
    margin: 13px 0 6px
}

.education p {
    font-size: 12px;
    color: #63756e;
    line-height: 1.6;
    margin: 0
}

.software-panel {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 30px;
    align-items: center;
    padding: 42px;
    background: #e9f0e9;
    border-radius: 7px
}

.software-panel h2 {
    font-size: clamp(28px, 2.6vw, 40px);
    margin: 17px 0
}

.software-panel p {
    font-size: 13.5px
}

.software-panel .button {
    margin-top: 8px
}

.code-illustration {
    background: #143631;
    color: #e7f7e9;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 20px 40px #9bb9a663
}

.code-title {
    padding: 14px 20px;
    background: #214942;
    font-size: 11px;
    color: #bcd9cb;
    font-family: monospace
}

.code-dots {
    color: #80bd9b;
    letter-spacing: 4px;
    margin-right: 14px
}

.code-illustration pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 2;
    padding: 21px;
    color: #dbefe4;
    margin: 0
}

.code-muted {
    color: #8ab89e
}

.code-key {
    color: #f5db99
}

.code-fn {
    color: #92dfbd
}

.contact-section {
    background: #163c36;
    color: #fff;
    margin-top: 40px
}

.contact-inner {
    text-align: center;
    padding-top: 95px;
    padding-bottom: 105px
}

.contact-inner .micro-label {
    color: #a1cfb2
}

.contact-inner h2 {
    font-size: clamp(35px, 4.3vw, 59px);
    letter-spacing: -2.6px;
    margin: 20px 0
}

.contact-inner h2 em {
    color: #abdcb8
}

.contact-inner p {
    color: #b5d3c2;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px
}

.button-light {
    background: #eaf5e9;
    color: #164637
}

.site-footer {
    background: #12332f;
    color: #bfd2c8
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 11px
}

.footer-inner a {
    font-weight: 800
}

.hidden {
    display: none !important
}

@media(max-width:1050px) {
    .nav-links {
        gap: 14px
    }

    .nav-links>a {
        font-size: 12px
    }

    .hero {
        gap: 27px
    }

    .hero-art {
        height: 400px
    }

    .hero-photo-card {
        height: auto
    }

    .graph-art {
        height: 305px
    }

    .section {
        grid-template-columns: 125px 1fr;
        gap: 30px
    }

    .about-grid {
        gap: 25px
    }
}

@media(max-width:760px) {
    .shell {
        padding-left: 22px;
        padding-right: 22px
    }

    .nav {
        height: 68px
    }

    .brand-name {
        font-size: 13px
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: 0;
        background: none;
        padding: 10px;
        cursor: pointer
    }

    .nav-toggle span {
        height: 2px;
        width: 22px;
        background: var(--ink)
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 22px 22px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        gap: 0;
        box-shadow: 0 15px 23px #12332f12
    }

    .nav-links.open {
        display: flex
    }

    .nav-links>a {
        padding: 13px 0;
        font-size: 14px
    }

    .nav-links .nav-contact {
        margin-top: 12px;
        padding: 13px
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
        padding-bottom: 60px;
        gap: 47px
    }

    .hero-art {
        max-width: 475px;
        width: calc(100% - 22px);
        height: 395px
    }

    .hero-photo-card {
        width: 100%;
        max-width: 475px;
        height: auto
    }

    .graph-art {
        height: 298px
    }

    h1 {
        letter-spacing: -2.4px
    }

    .ticker-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 13px;
        padding-top: 19px;
        padding-bottom: 19px;
        font-size: 9px
    }

    .section {
        display: block;
        padding-top: 70px;
        padding-bottom: 70px
    }

    .section-label {
        margin-bottom: 25px
    }

    .about-grid,
    .software-panel {
        grid-template-columns: 1fr
    }

    .focus-card {
        margin-top: 6px
    }

    .research-grid {
        gap: 12px
    }

    .research-card {
        padding: 21px
    }

    .section-heading {
        display: block
    }

    .subtle-link {
        display: inline-block;
        margin-bottom: 20px;
        padding: 0
    }

    .software-panel {
        padding: 25px
    }

    .footer-inner {
        flex-wrap: wrap
    }
}

@media(max-width:480px) {
    h1 {
        font-size: 42px
    }

    h2 {
        font-size: 32px;
        letter-spacing: -1.4px
    }

    .hero-lead {
        font-size: 15px
    }

    .research-grid,
    .education {
        grid-template-columns: 1fr
    }

    .research-card {
        min-height: 0
    }

    .news-row,
    .pub-item,
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .timeline-item h3 span {
        display: block;
        margin-top: 5px
    }

    .pub-year {
        padding: 0
    }

    .pub-links {
        display: flex;
        margin: 9px 0 0
    }

    .social-links {
        gap: 13px
    }

    .code-illustration pre {
        font-size: 10px
    }

    .art-topline,
    .art-bottom {
        font-size: 8px
    }

    .footer-inner {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}

/* Recorded talks and contact links */
.talk-list {
    border-top: 1px solid var(--line)
}

.talk-item {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid var(--line)
}

.talk-index {
    color: #59967b;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px
}

.talk-item h3 {
    font-size: 15px;
    margin: 0 0 7px;
    line-height: 1.5
}

.talk-item p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0
}

.talk-item>a {
    color: #286e52;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px
}

.button-contact-outline {
    color: #eaf5e9;
    border: 1px solid #90b7a4
}

.contact-inner .email-hint {
    margin: 16px 0 0;
    font-size: 12px;
    color: #b5d3c2;
    letter-spacing: .3px
}

@media(max-width:480px) {
    .talk-item {
        grid-template-columns: 35px minmax(0, 1fr);
        gap: 10px
    }

    .talk-item>a {
        grid-column: 2
    }
}

.hero-divider {
    border-top: 1px solid var(--line);
    height: 0;
}