@charset "UTF-8";

:root {
    color-scheme: dark;
    --bg: #0b1018;
    --bg-soft: #0f1622;
    --surface: rgba(20, 29, 43, 0.86);
    --surface-solid: #151e2c;
    --surface-hover: #1b2739;
    --border: rgba(160, 184, 216, 0.16);
    --border-strong: rgba(119, 204, 255, 0.34);
    --text: #f1f5fa;
    --muted: #aab7c9;
    --accent: #66c7ff;
    --accent-strong: #9ad9ff;
    --accent-deep: #123f5b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius-lg: 26px;
    --radius-md: 18px;
    --container: 1120px;
    --header-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 85% 16%, rgba(38, 117, 165, 0.13), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--accent-strong);
}

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

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

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

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: #04121c;
    font-weight: 750;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    color: #04121c;
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid rgba(160, 184, 216, 0.1);
    background: rgba(7, 11, 17, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 750;
    letter-spacing: -0.015em;
    text-decoration: none;
}

.site-brand:hover {
    color: var(--text);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(102, 199, 255, 0.18), rgba(102, 199, 255, 0.04));
    color: var(--accent-strong);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 9px 13px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(102, 199, 255, 0.09);
    color: var(--text);
}

.nav-links .nav-cta {
    margin-left: 6px;
    border: 1px solid var(--border-strong);
    background: rgba(102, 199, 255, 0.1);
    color: var(--accent-strong);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible,
.nav-links .nav-cta[aria-current="page"] {
    border-color: rgba(154, 217, 255, 0.58);
    background: rgba(102, 199, 255, 0.18);
    color: var(--text);
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines {
    position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-lines::before {
    top: -6px;
}

.nav-toggle-lines::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(690px, calc(100svh - var(--header-height)));
    overflow: clip;
}

.hero-backdrop,
.hero-backdrop img,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-backdrop {
    z-index: -3;
}

.hero-backdrop img {
    object-fit: cover;
    object-position: center;
}

.hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(6, 10, 16, 0.94) 0%, rgba(7, 12, 20, 0.82) 49%, rgba(7, 13, 21, 0.62) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.65fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: center;
    padding-block: clamp(90px, 13vw, 148px);
}

.hero-copy {
    max-width: 740px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    margin-right: 12px;
    background: currentColor;
    vertical-align: 0.25em;
}

.hero h1 {
    margin-bottom: 25px;
    font-size: clamp(3.5rem, 8vw, 6.7rem);
    font-weight: 780;
    letter-spacing: -0.065em;
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 34px;
    color: #d9e1eb;
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    line-height: 1.78;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(11, 17, 26, 0.56);
    color: #dbe5f1;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.social-link:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    color: var(--text);
    transform: translateY(-2px);
}

.social-link.primary {
    border-color: transparent;
    background: var(--accent);
    color: #06131d;
}

.social-link.primary:hover {
    background: var(--accent-strong);
    color: #06131d;
}

.portrait-wrap {
    position: relative;
    justify-self: end;
    width: min(100%, 290px);
    aspect-ratio: 1;
    border-radius: 50%;
}

.portrait-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.portrait {
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.section {
    padding-block: clamp(76px, 9vw, 116px);
}

.profile-section {
    position: relative;
}

.profile-section::before {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    z-index: -1;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgba(42, 126, 175, 0.08);
    filter: blur(100px);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 730;
}

.section-heading > p:last-child {
    max-width: 72ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.profile-listing,
.publication-list,
.awards-list {
    max-width: 900px;
}

.content-card,
.publication-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(23, 33, 48, 0.92), rgba(16, 24, 36, 0.88));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.content-card {
    padding: clamp(26px, 4vw, 42px);
}

.profile-summary {
    max-width: 72ch;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.06rem;
}

.list-block,
.award-year {
    padding-block: 30px;
    border-top: 1px solid var(--border);
}

.list-block:first-of-type,
.award-year:first-child {
    padding-top: 0;
    border-top: 0;
}

.publication-list {
    display: grid;
    gap: 18px;
}

.publication-item {
    padding: clamp(25px, 4vw, 36px);
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.publication-item:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.list-block h3,
.award-year h3 {
    margin-bottom: 16px;
    color: var(--accent-strong);
    font-size: 1.32rem;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.list-block p {
    margin-bottom: 0;
}

.plain-list,
.award-year ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.25rem;
    color: #d7e0eb;
}

.plain-list li::marker,
.award-year li::marker {
    color: var(--accent);
}

.education-list strong {
    color: var(--text);
}

.publications-section {
    border-block: 1px solid rgba(160, 184, 216, 0.08);
    background: linear-gradient(180deg, rgba(17, 25, 38, 0.7), rgba(10, 16, 24, 0.28));
}

.publication-meta {
    margin-bottom: 8px;
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.publication-item h3 {
    max-width: 900px;
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2.4vw, 1.72rem);
    line-height: 1.35;
}

.publication-authors {
    max-width: 85ch;
    margin-bottom: 12px;
    color: var(--muted);
}

.publication-authors strong {
    color: var(--text);
}

.text-link {
    display: inline-block;
    font-weight: 750;
    text-decoration: none;
}

.projects-page {
    min-height: 100vh;
}

.projects-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(92px, 12vw, 150px) clamp(64px, 8vw, 92px);
    border-bottom: 1px solid rgba(160, 184, 216, 0.08);
    background:
        radial-gradient(circle at 82% 18%, rgba(56, 156, 214, 0.18), transparent 25rem),
        linear-gradient(180deg, rgba(17, 25, 38, 0.75), rgba(11, 16, 24, 0.2));
}

.projects-heading {
    max-width: var(--container);
}

.projects-heading h1 {
    margin-bottom: 20px;
    font-size: clamp(3.4rem, 8vw, 6.4rem);
    font-weight: 780;
    letter-spacing: -0.065em;
}

.projects-heading p {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.projects-section {
    padding-block: clamp(64px, 9vw, 108px);
}

.projects-list {
    display: grid;
    gap: 28px;
}

.project-card {
    max-width: 1000px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(23, 33, 48, 0.95), rgba(14, 21, 32, 0.95));
    box-shadow: var(--shadow);
}

.project-media {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: #e9edf2;
}

.project-media img {
    width: 100%;
    height: auto;
    transition: transform 280ms ease;
}

.project-media:hover img {
    transform: scale(1.012);
}

.project-content {
    padding: clamp(28px, 5vw, 52px);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-meta span,
.project-tags li {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(102, 199, 255, 0.06);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 700;
}

.project-meta span {
    padding: 5px 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-content h2 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
}

.project-subtitle {
    margin-bottom: 20px;
    color: var(--accent-strong);
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    font-weight: 650;
}

.project-content > p:not(.project-subtitle) {
    max-width: 72ch;
    margin-bottom: 24px;
    color: var(--muted);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.project-tags li {
    padding: 6px 11px;
    color: #dce8f4;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--accent);
    color: #06131d;
    font-size: 0.88rem;
    font-weight: 780;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.project-link:hover {
    background: var(--accent-strong);
    color: #06131d;
    transform: translateY(-2px);
}

.project-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #080c12;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 120px;
    padding-block: 30px;
    color: #8492a6;
    font-size: 0.84rem;
}

.footer-layout p {
    margin-bottom: 0;
}

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

.footer-links a {
    color: #aeb9c8;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-strong);
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 40px;
        padding-block: 96px;
    }

}

@media (max-width: 760px) {
    :root {
        --header-height: 66px;
    }

    .site-header {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-toggle {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: grid;
        gap: 3px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(14, 21, 32, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-links a {
        padding: 11px 13px;
    }

    .nav-links .nav-cta {
        margin-left: 0;
    }

    .js .nav-links {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: visibility 160ms ease, opacity 160ms ease, transform 160ms ease;
    }

    .js .nav-links.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-block: 82px 96px;
    }

    .hero-backdrop img {
        object-position: 58% center;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(5, 9, 14, 0.7), rgba(7, 12, 20, 0.88) 60%, var(--bg) 100%),
            rgba(7, 12, 20, 0.3);
    }

    .portrait-wrap {
        justify-self: start;
        width: 180px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .site-brand > span:last-child {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3.05rem, 16vw, 4.25rem);
    }

    .hero-lead {
        line-height: 1.7;
    }

    .social-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-link {
        justify-content: center;
    }

}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
