/* =====================================================
   Variables
===================================================== */

:root {

    --bg: #050505;

    --text: #f2f2f2;

    --muted: #ababab;

    --dark-muted: #707070;

    --line: rgba(255,255,255,.16);

    --white-line: rgba(255,255,255,.42);

}


/* =====================================================
   Reset
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--bg);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        "Hiragino Sans GB",
        Arial,
        sans-serif;

    overflow-x: hidden;

}


/* =====================================================
   Background
===================================================== */

.background {

    position: fixed;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    pointer-events: none;

}


.grid {

    position: absolute;

    inset: -50%;

    background-image:

        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    transform:
        perspective(600px)
        rotateX(55deg)
        translateY(120px);

    animation:
        grid-drift 12s linear infinite;

}


@keyframes grid-drift {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 70px;
    }

}


.glow {

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: .1;

}


.glow-1 {

    background: white;

    top: 10%;

    left: 15%;

}


.glow-2 {

    background: #5d5dff;

    right: 5%;

    bottom: 10%;

}


/* =====================================================
   Navbar
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    backdrop-filter: blur(15px);
    z-index: 100;
}

.navbar .logo {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .logo .logo-mark {
    transition: .3s ease;
}


    .navbar svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: .3s ease;
    }

    .navbar a:hover svg {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 8px currentColor);
    }


.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .15em;

}


.logo-mark {

    width: 28px;

    height: 28px;

    display: grid;

    place-items: center;

    font-size: 12px;

}


nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


nav a {

width:42px;
height:42px;

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

color:#aaa;


text-decoration:none;

transition:.3s;

}

    nav a:hover {
        color: white;
        transform: translateX(6px);
    }


        nav a:hover svg {
            filter: drop-shadow(0 0 8px rgba(255,255,255,.8));
        }

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin-left: 90px;
    min-height: 100vh;
}

.status {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 9px;

    color: #b8b8b8;

    letter-spacing: .12em;

}


.status span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 12px white;

}


/* =====================================================
   Music Player
===================================================== */

.music-toggle {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}

.music-toggle .disc {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background:
        repeating-radial-gradient(circle at center, #1a1a1a 0 2px, #0b0b0b 2px 4px);
    border: 1px solid var(--line);
    transition: box-shadow .3s ease;
}

.music-toggle .disc-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: #ececec;
}

.music-toggle .disc::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg);
    z-index: 2;
}

.music-toggle:hover .disc {
    box-shadow: 0 0 14px rgba(255,255,255,.25);
}

.music-toggle.playing .disc {
    animation: disc-spin 3s linear infinite;
    box-shadow: 0 0 16px rgba(255,255,255,.3);
}

.music-toggle .needle {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 2px;
    height: 17px;
    background: #d2d2d2;
    border-radius: 2px;
    transform-origin: top center;
    transform: rotate(45deg);
    transition: transform .4s ease;
}

.music-toggle.playing .needle {
    transform: rotate(18deg);
}

.music-audio {
    display: none;
}

@keyframes disc-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =====================================================
   Contact Dock
===================================================== */

.contact-dock {

    position: fixed;

    right: 28px;

    bottom: 30px;

    z-index: 90;

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.contact-item {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border:
        1px solid var(--line);

    background:
        rgba(5,5,5,.7);

    backdrop-filter:
        blur(12px);

    color: white;

    text-decoration: none;

    transition:
        .3s;

}


.contact-item:hover {

    border-color: white;

    transform:
        translateX(-6px);

}


.contact-icon {

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .05em;

}


.contact-name {

    position: absolute;

    right: 55px;

    white-space: nowrap;

    padding: 7px 10px;

    border:
        1px solid var(--line);

    background: #090909;

    color: #b8b8b8;

    font-size: 9px;

    letter-spacing: .1em;

    opacity: 0;

    transform:
        translateX(10px);

    pointer-events: none;

    transition: .3s;

}


.contact-item:hover .contact-name {

    opacity: 1;

    transform:
        translateX(0);

}


/* =====================================================
   Hero
===================================================== */

.hero {

    min-height: 100vh;

    padding:
        150px 5vw 60px;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.hero-meta {

    position: absolute;

    top: 110px;

    left: 5vw;

    right: 5vw;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    color: #8c8c8c;

    letter-spacing: .15em;

}


.hero-content {
    max-width: 500px;
}


.eyebrow {

    font-size: 10px;

    color: #ababab;

    letter-spacing: .2em;

    margin-bottom: 30px;

}


.hero-content h1 {
    display: flex;
    flex-direction: column;
    font-size: clamp(56px,8.5vw,120px);
    line-height: .9;
    letter-spacing: -.05em;
    font-weight: 800;
}


.hero-content h1 span {

    animation:
        reveal 1s
        cubic-bezier(.16,1,.3,1)
        both;

}


.hero-content h1 span:nth-child(2) {

    animation-delay: .1s;

}


.hero-content h1 span:nth-child(3) {

    animation-delay: .2s;

}


@keyframes reveal {

    from {

        opacity: 0;

        transform:
            translateY(80px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.outline {

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,.65);

}


.description {

    margin-top: 55px;

    max-width: 430px;

    color: #b8b8b8;

    line-height: 1.8;

    font-size: 16px;

}


.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 35px;

}


.button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .08em;
    border-radius: 10px;
    transition: .3s;
}


.primary {

    background: white;

    color: black;

}


.primary:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(255,255,255,.12);

}


.secondary {

    border:
        1px solid var(--line);

    color: white;

}


.secondary:hover {

    border-color: white;

}


/* =====================================================
   Avatar
===================================================== */

.avatar-container {
    position: relative;
    width: 260px;
    height: 260px;
}


.avatar-container::before {
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
    filter: blur(18px);
    animation:
        avatar-glow 5s ease-in-out infinite;
}


.avatar {

    position: absolute;

    inset: 45px;

    overflow: hidden;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.4);

    background: #111;

    z-index: 3;

}


.avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter:
        grayscale(.2)
        contrast(1.05);

    transition:
        transform .6s ease;

}


.avatar-container:hover
.avatar img {

    transform:
        scale(1.08);

}


.avatar-ring {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.18);

}


.ring-1 {

    inset: 15px;

    animation:
        ring-pulse 4s ease-in-out infinite;

}


.ring-2 {

    inset: 0;

    border-style: dashed;

    border-color:
        rgba(255,255,255,.1);

    animation:
        ring-spin 30s linear infinite;

}


@keyframes ring-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes ring-pulse {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }

}


@keyframes avatar-glow {

    0%, 100% {
        opacity: .45;
        transform: scale(.92);
    }

    50% {
        opacity: .9;
        transform: scale(1.06);
    }

}


/* =====================================================
   Avatar Labels
===================================================== */

.avatar-label {

    position: absolute;

    color: #8c8c8c;

    font-size: 7px;

    letter-spacing: .15em;

    z-index: 5;

}


.label-top {

    top: 0;

    left: 80px;

}


.label-right {

    right: -40px;

    top: 50%;

    transform:
        rotate(90deg);

}


/* =====================================================
   Scroll
===================================================== */

.scroll {

    position: absolute;

    bottom: 40px;

    left: 5vw;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 8px;

    color: #8c8c8c;

    letter-spacing: .15em;

}


.scroll-line {

    width: 60px;

    height: 1px;

    background: #8c8c8c;

}


/* =====================================================
   Sections
===================================================== */

.section {

    min-height: 100vh;

    padding:
        140px 5vw 140px calc(5vw + 90px);

    border-top:
        1px solid var(--line);

    position: relative;

}


.section-number {

    font-size: 9px;

    color: #8c8c8c;

    letter-spacing: .18em;

}


/* =====================================================
   About
===================================================== */

.about-content {

    margin-top: 120px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 6vw;

}


.about-content > div:first-child {

    order: 2;

}


.about-content .about-text {

    order: 1;

}


.about h2 {

    font-size:
        clamp(55px, 8vw, 110px);

    line-height: .9;

    letter-spacing: -.07em;

}


.about h2 .title-outline {

    color: transparent;

    -webkit-text-stroke:
        1px #8c8c8c;

}


.about-text {

    max-width: 400px;

    padding-top: 20px;

}


.about-text p {

    color: #b8b8b8;

    font-size: 16px;

    line-height: 2;

    margin-bottom: 25px;

}


/* =====================================================
   Interests
===================================================== */

.interests-content {

    margin-top: 100px;

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 6vw;

    align-items: center;

}


.interests-content .eyebrow {

    grid-column: 2;

}


.interests-content h2 {

    grid-column: 2;

}


.interests h2 {

    font-size:
        clamp(42px, 6vw, 100px);

    line-height: .9;

    letter-spacing: -.07em;

}


.interests h2 .title-outline {

    color: #8c8c8c;

}


.interest-list {

    max-width: 900px;

    grid-column: 1;

    grid-row: 1 / 3;

    margin-top: 0;

}


.interest {

    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 30px;

    padding: 26px 28px;

    margin-bottom: 16px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.03);

    transition: .3s;

}


.interest:hover {

    border-color: var(--white-line);

    background:
        rgba(255,255,255,.06);

}


.interest > span {

    color: #707070;

    font-size: 10px;

}


.interest h3 {

    font-size: 24px;

    letter-spacing: -.03em;

}


.interest p {

    margin-top: 10px;

    color: #ababab;

    font-size: 14px;

    line-height: 1.7;

}


/* =====================================================
   Current
===================================================== */

.current-content {

    margin-top: 100px;

}


.current-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    border-top:
        1px solid var(--line);

    margin-top: 60px;

}


.current-item {

    min-height: 200px;

    padding: 30px;

    background:
        rgba(255,255,255,.02);

    border-bottom:
        1px solid var(--line);

    transition: .4s;

}


.current-item:nth-child(odd) {

    border-right:
        1px solid var(--line);

}


.current-item span {

    display: block;

    color: #8c8c8c;

    font-size: 10px;

    letter-spacing: .15em;

    margin-bottom: 40px;

}


.current-item strong {

    font-size:
        clamp(25px, 3vw, 45px);

    letter-spacing: -.04em;

}


.current-item:hover {

    background:
        rgba(255,255,255,.06);

}

/* =====================================================
   Projects - 复用 Current 四宫格样式
===================================================== */

.projects-content {

    margin-top: 100px;

}


.projects-content h2 {

    font-size:
        clamp(48px, 7vw, 96px);

    line-height: .9;

    letter-spacing: -.07em;

}


.projects-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    border-top:
        1px solid var(--line);

    margin-top: 60px;

}


.project-item {

    min-height: 200px;

    padding: 30px;

    background:
        rgba(255,255,255,.02);

    border-bottom:
        1px solid var(--line);

    transition: .4s;

    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;

}


.project-item:nth-child(odd) {

    border-right:
        1px solid var(--line);

}


.project-item span {

    display: block;

    color: #8c8c8c;

    font-size: 10px;

    letter-spacing: .15em;

    margin-bottom: 40px;

}


.project-title {

    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;

}


.project-icon {

    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(0, 110, 255, .28));
    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.project-item-links:hover .project-icon {

    transform: scale(1.06);

}


.project-item strong {

    font-size:
        clamp(22px, 2.8vw, 36px);

    letter-spacing: -.04em;
    line-height: 1.1;
    display: inline-block;
    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.project-item p {

    margin-top: 14px;
    color: #ababab;
    font-size: 13px;
    line-height: 1.7;
    max-width: 92%;
}


.project-item:hover {

    background:
        rgba(255,255,255,.06);

}

.project-item:hover strong {
    transform:
        translateX(10px);
}

.project-item.placeholder {
    opacity: .45;
    cursor: default;
}

.project-item.placeholder:hover {
    background:
        rgba(255,255,255,.02);
    transform: none;
}

.project-item.placeholder:hover strong {
    transform: none;
}

/* =====================================================
   带外链的推荐项目卡片
===================================================== */

.project-item-links {
    cursor: pointer;
}

/* 标题不做 hover 位移：transform 会改变 stretched link 的定位基准 */
.project-item-links:hover strong {
    transform: none;
}

/* stretched link：整张卡片可点击进入内部文章页 */
.project-main-link {
    color: inherit;
    text-decoration: none;
}

.project-main-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

.project-main-link:focus-visible::after {
    outline: 2px solid var(--white-line);
    outline-offset: -2px;
}

.project-item .project-recommend {
    margin-top: 10px;
    color: #d6d6d6;
    font-size: 12px;
    letter-spacing: .02em;
}

.project-detail-link {
    position: relative;
    z-index: 2;
    display: inline-block;
    align-self: flex-start;
    margin-top: 14px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line);
    color: #cfcfcf;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .08em;
    transition: .3s ease;
}

.project-detail-link:hover {
    color: white;
    border-color: var(--white-line);
}

.project-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.project-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .06em;
    white-space: nowrap;
    transition: .3s ease;
}

.project-actions a:hover {
    border-color: var(--white-line);
    background: rgba(255,255,255,.06);
    color: white;
    transform: translateY(-2px);
}

.project-actions a.download {
    border-color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.07);
    color: white;
}

.project-actions a:focus-visible {
    outline: 2px solid var(--white-line);
    outline-offset: 2px;
}

/* =====================================================
   Contact
===================================================== */

.contact {

    min-height: 100vh;

    padding:
        150px 5vw 150px calc(5vw + 90px);

    border-top:
        1px solid var(--line);

    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    gap: 6vw;

    align-items: center;

}


.contact .eyebrow {

    grid-column: 2;

}


.contact h2 {

    grid-column: 2;

}


.contact h2 {

    font-size:
        clamp(48px, 7vw, 96px);

    line-height: .9;

    letter-spacing: -.07em;

}


.contact h2 .title-outline {

    color: transparent;

    -webkit-text-stroke:
        1px white;

}


.contact-description {

    max-width: 430px;

    color: #ababab;

    line-height: 1.8;

    font-size: 16px;

    margin-top: 40px;

    grid-column: 2;

}


.contact-links {

    max-width: 600px;

    grid-column: 1;

    grid-row: 1 / 4;

}


.contact-links a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 24px;

    margin-bottom: 14px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.03);

    color: white;

    text-decoration: none;

    transition: .3s;

}


.contact-links a:hover {

    border-color: var(--white-line);

    background:
        rgba(255,255,255,.06);

}


.contact-links span {

    color: #8c8c8c;

    font-size: 9px;

    letter-spacing: .15em;

}


.contact-links strong {

    font-size: 15px;

    font-weight: 500;

}


/* =====================================================
   Footer
===================================================== */

footer {

    border-top:
        1px solid var(--line);

    padding:
        30px 5vw 30px calc(5vw + 90px);

    display: flex;

    justify-content: space-between;

    font-size: 8px;

    color: #707070;

    letter-spacing: .15em;

}


/* =====================================================
   Mobile
===================================================== */

@media (max-width: 900px) {

    nav {

        flex-direction: row;

        gap: 16px;

    }


    .status {

        display: none;

    }


    .hero {

        padding-top: 140px;

    }


    .hero-content h1 {

        font-size: 22vw;

    }


    .avatar-container {
        position: absolute;
        right: 0;
        top: 58px;
        width: 38vw;
        height: 38vw;
        max-width: 220px;
        max-height: 220px;
        min-width: 160px;
        min-height: 160px;
        z-index: 1;
        opacity: 1;
        pointer-events: none;
    }


    .about-content {

        grid-template-columns: 1fr;

        gap: 70px;

    }


    .about-content > div:first-child {

        order: 0;

    }


    .about-content .about-text {

        order: 0;

    }


    .interest {

        grid-template-columns:
            40px 1fr;

    }


    .current-grid,
    .projects-grid {

        grid-template-columns: 1fr;

    }


    .current-item:nth-child(odd),
    .project-item:nth-child(odd) {

        border-right: none;

    }


    .contact h2 {

        font-size: 22vw;

    }

    .article-card {
        grid-template-columns: 40px 1fr;
        gap: 15px;
    }


    .article-date {
        display: none;
    }
    .navbar {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 10px 16px;
    }

    .navbar .logo {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }

    .music-toggle {
        position: static;
        bottom: auto;
        left: auto;
        transform: none;
    }

    nav a {
        width: 38px;
        height: 38px;
    }

    .hero-main {
        margin-left: 0;
        margin-top: 70px;
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        position: relative;
        min-height: auto;
        padding: 40px 5vw 40px 5vw;
        /* 让内容不贴边，视觉居中 */
        box-sizing: border-box;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        /* 左侧留空，避免太靠边；右侧留空给重叠的头像 */
        padding-left: 2vw;
        padding-right: 2vw;
        box-sizing: border-box;
    }

    .hero-content h1 {
        position: relative;
        z-index: 2;
    }

    .section {
        padding: 120px 5vw 120px 5vw;
    }

    .contact {
        padding: 120px 5vw 120px 5vw;
    }

    footer {
        padding: 30px 5vw 30px 5vw;
    }

    .about h2,
    .interests h2 {
        text-align: left;
    }

    .interests h2 {
        font-size: 14vw;
    }

    .articles h2 {
        font-size: 13vw;
    }

    .contact-description,
    .contact-links {
        margin-left: 0;
    }

    .contact-description {
        text-align: left;
    }

    .interests-content {
        grid-template-columns: 1fr;
    }

    .interests-content .eyebrow,
    .interests-content h2 {
        grid-column: auto;
    }

    .interest-list {
        grid-column: auto;
        grid-row: auto;
        margin-top: 60px;
    }

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

    .contact .eyebrow,
    .contact h2,
    .contact-description {
        grid-column: auto;
    }

    .contact-links {
        grid-column: auto;
        grid-row: auto;
        margin-top: 60px;
    }


}


@media (max-width: 600px) {

    .contact-dock {

        right: 15px;

        bottom: 15px;

    }


    .hero-meta {

        font-size: 7px;

    }


    .description {

        max-width: 300px;

    }


    .avatar-container {
        opacity: 1;
        right: -6px;
        top: 130px;
        width: 45vw;
        height: 45vw;
        max-width: 180px;
        max-height: 180px;
        min-width: 130px;
        min-height: 130px;
    }


    .contact-links a {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

    }


    footer {

        flex-direction: column;

        gap: 10px;

    }

    .article-card {
        padding: 24px 20px;
    }


    .project-icon {
        width: 48px;
        height: 48px;
    }


    .article-info h3 {
        font-size: 20px;
    }


    .article-info p {
        font-size: 13px;
    }


    .navbar {
        padding: 8px 12px;
        gap: 8px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        width: 34px;
        height: 34px;
    }


}

/* =====================================================
   Articles
===================================================== */

.articles-content {

    margin-top: 100px;

}


.articles h2 {

    font-size:
        clamp(48px, 7vw, 96px);

    line-height: .9;

    letter-spacing: -.07em;

}


.articles h2 .title-outline {

    color: transparent;

    -webkit-text-stroke:
        1px #8c8c8c;

}


.articles-intro {

    max-width: 430px;

    margin-top: 60px;

    color: #ababab;

    font-size: 16px;

    line-height: 1.8;

}


.article-list {

    max-width: 1100px;

    margin-top: 90px;

}


.article-card {

    display: grid;

    grid-template-columns:
        70px 1fr 80px;

    gap: 30px;

    align-items: center;

    padding: 28px 26px;

    margin-bottom: 16px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.03);

    color: white;

    text-decoration: none;

    transition:
        .4s ease;

}


.article-card:hover {

    border-color: var(--white-line);

    background:
        rgba(255,255,255,.06);

}


.article-index {

    color: #707070;

    font-size: 10px;

    letter-spacing: .1em;

}


.article-info {

    min-width: 0;

}


.article-category {

    display: block;

    margin-bottom: 12px;

    color: #8c8c8c;

    font-size: 9px;

    letter-spacing: .15em;

}


.article-info h3 {

    font-size:
        clamp(20px, 2.5vw, 32px);

    font-weight: 600;

    letter-spacing: -.04em;

}


.article-info p {

    max-width: 600px;

    margin-top: 10px;

    color: #a0a0a0;

    font-size: 14px;

    line-height: 1.7;

}


.article-date {

    color: #707070;

    font-size: 9px;

    letter-spacing: .1em;

    text-align: right;

}


.articles-more {

    margin-top: 50px;

}

/* =====================================================
   Interest Hover
===================================================== */

.interest {

    position: relative;

    overflow: hidden;

}


.interest::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 2px;

    height: 100%;

    background: white;

    transform:
        scaleY(0);

    transform-origin:
        bottom;

    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.interest:hover::before {

    transform:
        scaleY(1);

}


.interest h3 {

    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.interest:hover h3 {

    transform:
        translateX(12px);

}


/* =====================================================
   Article Hover
===================================================== */

.article-card {

    position: relative;

    overflow: hidden;

}


.article-card::before {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background: white;

    transition:
        width .5s cubic-bezier(.16,1,.3,1);

}


.article-card:hover::before {

    width: 100%;

}


.article-card h3 {

    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.article-card:hover h3 {

    transform:
        translateX(8px);

}


/* =====================================================
   Current
===================================================== */

.current-item {

    position: relative;

    overflow: hidden;

}


.current-item strong {

    display: inline-block;

    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

}


.current-item:hover strong {

    transform:
        translateX(10px);

}


/* =====================================================
   Contact Title
===================================================== */

.contact h2 {

    overflow: hidden;

}


.contact h2 span {

    display: inline-block;

    transition:
        transform .6s cubic-bezier(.16,1,.3,1);

}


.contact h2:hover span {

    transform:
        translateX(12px);

}


/* =====================================================
   Reduced Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;

    }

}

/* =====================================================
   Status Top Right
===================================================== */

.status-top-right {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 100;
    padding: 10px 18px;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: 0.3s ease;
    cursor: default;
}

    .status-top-right span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
        animation: pulse-white 2s ease-in-out infinite;
    }

    .status-top-right:hover {
        border-color: var(--white-line);
        background: rgba(5, 5, 5, 0.92);
    }

/* 移动端微调 */
@media (max-width: 600px) {
    .status-top-right {
        top: 16px;
        right: 16px;
        padding: 6px 14px;
        font-size: 8px;
    }

        .status-top-right span {
            width: 5px;
            height: 5px;
        }
}

