/* ===== 非首屏样式（sections.css）：关于 / 相册 / 作品 / 联系 / 页脚，异步加载 ===== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border)
}

.section-index {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 14px
}

.section-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -.03em
}

.section-title em {
    font-style: italic;
    color: var(--accent)
}

.section-subtitle {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: .1em
}

.about-manifesto {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.45;
    letter-spacing: -.02em;
    max-width: 1080px;
    margin-bottom: 96px
}

.about-manifesto .line {
    display: flex;
    align-items: baseline;
    gap: 28px;
    margin-bottom: 4px;
    flex-wrap: wrap
}

.about-manifesto .year {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: .12em;
    min-width: 56px;
    padding-top: 8px
}

.about-manifesto .muted {
    color: var(--fg-mute);
    font-style: italic;
    font-size: .5em;
    margin-top: 24px;
    padding-left: 84px
}

.about-compare {
    display: grid;
    grid-template-columns:1fr 1fr;
    margin-bottom: 96px;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    position: relative;
    overflow: hidden
}

.about-compare::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    color: var(--fg-dim);
    background: var(--bg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    z-index: 2;
    letter-spacing: .05em
}

.compare-col {
    padding: 44px 40px;
    border-right: 1px solid var(--border);
    position: relative
}

.compare-col:last-child {
    border-right: none
}

.compare-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border)
}

.compare-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: .15em;
    padding: 4px 9px;
    border: 1px solid var(--border);
    border-radius: 2px
}

.compare-col-truth .compare-tag {
    color: var(--accent);
    border-color: var(--accent)
}

.compare-head h3 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 22px
}

.compare-col ul {
    list-style: none
}

.compare-col li {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.7;
    padding: 11px 0 11px 24px;
    border-bottom: 1px dashed var(--border-soft);
    color: var(--fg-mute);
    position: relative
}

.compare-col li:last-child {
    border-bottom: none
}

.compare-col li::before {
    content: '·';
    color: var(--fg-dim);
    position: absolute;
    left: 6px;
    top: 6px;
    font-size: 24px;
    line-height: 1
}

.compare-col-truth li {
    color: var(--fg)
}

.compare-col-truth li::before {
    content: '↳';
    color: var(--accent);
    font-size: 13px;
    top: 14px;
    font-family: var(--mono)
}

.compare-col li em {
    color: var(--fg-mute);
    font-style: italic;
    font-size: 13px;
    display: block;
    margin-top: 2px
}

.compare-col-truth li em {
    color: var(--accent)
}

.work-preview {
    position: fixed;
    pointer-events: none;
    width: 500px;
    height: 300px;
    z-index: 100;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .1, 1);
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5)
}

.work-preview.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
}

.work-preview .ph {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(.3) contrast(1.05)
}

.work-preview .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, transparent 40%, rgba(255, 92, 53, .4));*/
    mix-blend-mode: multiply
}

.about-stats {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin-bottom: 96px;
    border: 1px solid var(--border)
}

.stat {
    background: var(--bg);
    padding: 36px 28px;
    position: relative;
    transition: background .4s;
    overflow: hidden
}

.stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    transition: transform .8s
}

.stat:hover {
    background: var(--bg-elev)
}

.stat:hover::after {
    transform: translateX(100%)
}

.stat-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(48px, 5.5vw, 68px);
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 14px
}

.stat-num em {
    font-style: italic;
    color: var(--accent);
    font-size: .5em;
    font-weight: 400
}

.stat-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fg);
    margin-bottom: 8px
}

.stat-note {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--fg-mute);
    line-height: 1.45
}

.skills-strip {
    margin-top: 0;
    padding: 44px 40px 36px;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    position: relative;
    overflow: hidden
}

.skills-strip::before {
    content: '// flexing...';
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em
}

.skills-strip .lead {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 820px
}

.skills-strip .lead em {
    color: var(--accent);
    font-style: italic
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.skill-tag {
    font-family: var(--mono);
    font-size: 11px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--fg-mute);
    background: rgba(255, 255, 255, .02);
    transition: all .3s;
    cursor: default
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px)
}

.skill-tag.faded {
    opacity: .45;
    text-decoration: line-through
}

/* ====== Album Cover Flow ====== */
.album-intro {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--fg-mute);
    max-width: 680px;
    margin-bottom: 24px;
    line-height: 1.5
}

.album-intro em {
    color: var(--accent);
    font-style: italic
}

.coverflow-stage {
    perspective: 1800px;
    perspective-origin: 50% 38%;
    position: relative;
    height: 600px;
    margin: 30px 0 80px;
    user-select: none;
    touch-action: pan-y
}

/* 视差层：JS 每帧直写，不走 transition */
.coverflow-tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none
}

/* 切换层：只由 layout() 更新，视差在外层，互不打断 */
.coverflow {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.coverflow-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 400px;
    margin: -200px 0 0 -140px;
    transform-style: preserve-3d;
    pointer-events: auto;
    transition: transform .75s cubic-bezier(.22, 1, .36, 1), opacity .45s ease;
    will-change: transform, opacity;
    cursor: pointer;
    -webkit-box-reflect: below 6px linear-gradient(transparent 55%, rgba(15, 15, 14, .35) 88%)
}

.coverflow-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .85);
    transition: border-color .4s, box-shadow .5s
}

.coverflow-card.is-center .coverflow-card-inner {
    border-color: var(--accent);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .95), 0 0 0 1px var(--accent), 0 0 90px -16px rgba(255, 92, 53, .5)
}

/* 悬停提亮改在 inner 伪元素遮罩上，避免动画 filter */
.coverflow-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .09);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none
}

.coverflow-card:not(.is-center):hover .coverflow-card-inner::after {
    opacity: 1
}

.coverflow-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.65) contrast(1) brightness(.65);
    transition: filter .7s ease, transform .6s ease
}

.coverflow-card.is-center img {
    filter: grayscale(0) contrast(1.05) brightness(1)
}

.coverflow-card.is-center:hover img {
    transform: scale(1.04)
}

.coverflow-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 15, 14, .92) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none
}

.coverflow-card-num {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--fg);
    background: rgba(15, 15, 14, .7);
    backdrop-filter: blur(8px);
    padding: 5px 9px;
    border-radius: 2px;
    border: 1px solid var(--border);
    letter-spacing: .1em;
    transition: all .4s
}

.coverflow-card.is-center .coverflow-card-num {
    color: var(--accent);
    border-color: var(--accent)
}

.coverflow-card-corner {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    opacity: 0;
    transition: opacity .4s
}

.coverflow-card.is-center .coverflow-card-corner {
    opacity: 1
}

.coverflow-card-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 8px
}

.coverflow-card-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fg)
}

.coverflow-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(15, 15, 14, .55);
    backdrop-filter: blur(12px);
    color: var(--fg);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all .35s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono)
}

.coverflow-nav:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-50%) scale(1.1)
}

.coverflow-prev {
    left: 24px
}

.coverflow-next {
    right: 24px
}

.coverflow-info {
    text-align: center;
    margin-top: 18px;
    min-height: 90px;
    position: relative
}

.coverflow-info .info-index {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .18em;
    margin-bottom: 10px
}

.coverflow-info .info-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.2;
    transition: opacity .35s
}

.coverflow-info .info-desc {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--fg-mute);
    line-height: 1.5;
    transition: opacity .35s
}

.coverflow-info.fade .info-title, .coverflow-info.fade .info-desc {
    opacity: 0
}

.coverflow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px
}

.coverflow-dot {
    width: 22px;
    height: 2px;
    background: var(--border);
    cursor: pointer;
    transition: all .35s;
    border: none;
    padding: 0
}

.coverflow-dot.active {
    background: var(--accent);
    width: 40px
}

.coverflow-dot:hover:not(.active) {
    background: var(--fg-mute)
}

.album-hint {
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-top: 24px
}

.album-hint .accent {
    color: var(--accent)
}

.works-list {
    display: flex;
    flex-direction: column
}

.work-item {
    display: grid;
    grid-template-columns:60px 1.1fr 2fr 100px 40px;
    align-items: center;
    gap: 32px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--fg);
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    position: relative
}

.work-item:hover {
    padding-left: 24px;
    padding-right: 24px;
    background: var(--bg-elev)
}

.work-item:hover .work-arrow {
    color: var(--accent);
    transform: translateX(6px) rotate(-45deg)
}

.work-item:hover .work-title {
    color: var(--accent)
}

.work-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-mute)
}

.work-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    transition: color .4s
}

.work-desc {
    font-size: 13px;
    color: var(--fg-mute);
    font-family: var(--mono)
}

.work-year {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-mute);
    text-align: right
}

.work-arrow {
    font-size: 20px;
    color: var(--fg-mute);
    transition: all .4s;
    text-align: right
}

.contact-hero {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 48px
}

.contact-hero em {
    color: var(--accent);
    font-style: italic
}

.contact-email {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    display: inline-block;
    margin-bottom: 56px;
    transition: transform .3s
}

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

.contact-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap
}

.contact-links a {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--fg-mute);
    text-decoration: none;
    transition: color .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.contact-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-6px);
    transition: all .3s;
    color: var(--accent)
}

.contact-links a:hover {
    color: var(--accent)
}

.contact-links a:hover::before {
    opacity: 1;
    transform: translateX(0)
}

.contact-qr {
    position: relative
}

.contact-qr .qr-pop {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    width: 170px;
    height: 170px;
    object-fit: cover;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px) scale(.95);
    transition: opacity .3s, transform .3s, visibility .3s;
    pointer-events: none
}

.contact-qr:hover .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto
}

.footer {
    border-top: 1px solid var(--border);
    padding: 0;
    margin-top: 80px
}

.footer-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 32s linear infinite;
    white-space: nowrap;
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    color: var(--fg-mute);
    width: max-content
}

.marquee-track span {
    display: flex;
    align-items: center;
    gap: 60px
}

.marquee-track span::after {
    content: '✦';
    color: var(--accent);
    font-style: normal
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50%)
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 32px 0
}

.footer-bottom a {
    color: var(--fg-mute);
    text-decoration: none
}

.footer-bottom a:hover {
    color: var(--accent)
}

.footer-bottom .accent {
    color: var(--accent)
}

/* ===== 非首屏响应式 ===== */
@media (max-width: 768px) {
    .about-manifesto {
        font-size: 24px
    }

    .about-manifesto .line {
        gap: 16px
    }

    .about-manifesto .muted {
        padding-left: 0
    }

    .about-compare {
        grid-template-columns:1fr
    }

    .about-compare::before {
        display: none
    }

    .compare-col {
        border-right: none;
        border-bottom: 1px solid var(--border)
    }

    .compare-col:last-child {
        border-bottom: none
    }

    .about-stats {
        grid-template-columns:1fr 1fr
    }

    .coverflow-card {
        width: 220px;
        height: 320px;
        margin: -160px 0 0 -110px
    }

    .coverflow-nav {
        width: 42px;
        height: 42px;
        font-size: 15px
    }

    .work-item {
        grid-template-columns:40px 1fr 60px;
        gap: 14px;
        padding: 22px 0
    }

    .work-desc, .work-arrow {
        display: none
    }

    .work-title {
        font-size: 22px
    }

    .skills-strip {
        padding: 32px 22px 26px
    }

    .skills-strip .lead {
        font-size: 17px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding: 24px 22px
    }

    .coverflow-stage {
        height: 460px;
    }
}
