/* 引入 Inter 字体 */
@import url('fonts/inter.css');

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 平滑滚动，阻止水平溢出 + 全局隐藏滚动条 */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    color-scheme: light dark;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }

/* 页面主体 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    min-height: 100vh;
    line-height: 1.6;
    color: #1a1a1a;
    transition: background-color 0.3s, color 0.3s;
}

/* ===== Hero 首屏 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@keyframes glowBreath {
    0%   { transform: translateY(-50%) scale(1); opacity: 0.8; }
    50%  { transform: translateY(-50%) scale(1.1); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 0.8; }
}

.glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(ellipse at center, rgba(100, 90, 210, 0.55) 0%, rgba(135, 140, 230, 0.35) 40%, transparent 75%);
    filter: blur(70px);
    border-radius: 50%;
    pointer-events: none;
    animation: glowBreath 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.content-wrapper {
    text-align: center;
    width: 100%;
    padding: 0 5vw;
}

.title-wrapper {
    position: relative;
    display: inline-block;
    animation: titleFloat 6s ease-in-out infinite;
}

@keyframes titleFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.title {
    font-size: clamp(3rem, 14vw, 11rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
    color: #000;
    display: block;
    animation: titleFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, shine 5s linear 1.2s infinite;
    opacity: 0;
    transform: translateY(30px);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(120deg, #000 0%, #000 35%, #888 50%, #000 65%, #000 100%);
    background-size: 200% auto;
}

@keyframes titleFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.label-text {
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    letter-spacing: 0.2em;
    font-weight: 550;
    text-transform: uppercase;
    color: #000;
    position: absolute;
    white-space: nowrap;
    animation: labelFadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes labelFadeIn {
    to { opacity: 1; }
}

.label-name     { top: -1.8em; left: 0; animation-delay: 0.4s; }
.label-year     { top: -1.8em; right: 0; animation-delay: 0.5s; }
.label-subtitle { bottom: -1.5em; right: 0; animation-delay: 0.6s; }

/* ===== 菜单按钮 ===== */
.menu-toggle {
    position: fixed;
    top: 18px;
    right: 5vw;
    z-index: 999;
    width: 26px;
    height: 26px;
    cursor: pointer;
    overflow: visible;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translate3d(0,0,0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.18s ease;
}

.menu-toggle:active {
    transform: translateZ(0) scale(0.92);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    border-radius: 99px;
    position: absolute;
    left: 0;
    top: 50%;
    transform-origin: 50% 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.menu-toggle span:first-child {
    transform: translateY(-6.5px) translateZ(0);
}

.menu-toggle span:last-child {
    transform: translateY(6.5px) translateZ(0);
}

.menu-toggle.active span:first-child {
    transform: translateY(0) rotate(45deg) translateZ(0);
}

.menu-toggle.active span:last-child {
    transform: translateY(0) rotate(-45deg) translateZ(0);
}

/* ===== 深色切换按钮 ===== */
@keyframes darkTextIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dark-toggle {
    position: fixed;
    top: 18px;
    right: calc(5vw + 42px);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    color: #000;
    height: 26px;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    transform: translateZ(0);
    -webkit-transform: translate3d(0,0,0);
}
.dark-toggle .dark-icon,
.dark-toggle .light-icon {
    animation: darkTextIn 0.3s ease both;
}

.dark-toggle.visible {
    opacity: 1;
    pointer-events: auto;
}

.menu-mask {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.menu-mask.active {
    transform: translateY(0);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

@keyframes menuItemSoftIn {
    from { opacity: 0; transform: translateY(22px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.menu-list a {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    will-change: transform, opacity;
    transition: opacity 0.2s ease;
    cursor: pointer;
    position: relative;
}

.menu-mask.active .menu-list a:nth-child(1) { animation: menuItemSoftIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.08s; }
.menu-mask.active .menu-list a:nth-child(2) { animation: menuItemSoftIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.18s; }
.menu-mask.active .menu-list a:nth-child(3) { animation: menuItemSoftIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.28s; }
.menu-mask.active .menu-list a:nth-child(4) { animation: menuItemSoftIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.38s; }

.menu-list a:hover { opacity: 0.6; }

.menu-list a.active::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff3b30;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: top;
    margin-top: -0.03em;
}

/* ===== 区块标签 ===== */
.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 16px;
}

/* ===== Works 作品区块 ===== */
.works-section {
    padding: 100px 5vw 0;
    max-width: 1200px;
    margin: 0 auto;
}

.works-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.works-image {
    flex: 0 0 55%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #f5f5f8;
    aspect-ratio: 4 / 3;
    will-change: transform;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-color: rgba(255, 255, 255, 0.35);
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.55) grayscale(1);
}

.works-image:hover img {
    transform: scale(1.05);
    filter: brightness(0.75) grayscale(0);
}

.works-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.works-image:hover::before {
    opacity: 1;
}

.works-info {
    flex: 1;
}

.works-info h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.works-info .works-desc {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: #000;
    opacity: 0.6;
    font-weight: 400;
    margin-bottom: 24px;
}

/* ===== 品牌合作伙伴跑马灯 ===== */
.works-section .brands-title {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 80px 5vw 0;
    margin-bottom: 0;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    letter-spacing: -0.02em;
    text-align: center;
}

.brands-subtitle {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 8px 5vw 48px;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    font-weight: 400;
    color: #000;
    opacity: 0.6;
    text-align: center;
}

.marquee {
    --gap: 24px;
    --duration: 40s;
    width: 100vw;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

.marquee-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    will-change: transform;
    animation: marqueeScroll var(--duration) linear infinite;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.works-section .marquee {
    padding-bottom: 8px;
}

.marquee-hint {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 12px 5vw 120px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #000;
    opacity: 0.3;
    letter-spacing: 0.04em;
    text-align: right;
}

.brand-card {
    width: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f5f5f8;
    flex-shrink: 0;
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(1);
}

.brand-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(8px);
    transition: transform 0.35s ease;
}

.brand-card:hover .brand-name {
    transform: translateY(0);
}

.brand-tag {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
    transform: translateY(8px);
    transition: transform 0.35s ease 0.05s;
}

.brand-card:hover .brand-tag {
    transform: translateY(0);
}

/* ===== About 关于区块 ===== */
.about-section {
    padding: 0 5vw 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 0 0 55%;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f8;
    position: relative;
    aspect-ratio: 4 / 3;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-color: rgba(255, 255, 255, 0.35);
    will-change: transform;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.55) grayscale(1);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(0.75) grayscale(0);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.about-image:hover::before {
    opacity: 1;
}

.about-info {
    flex: 1;
}

.about-name {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #000;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
    margin-bottom: 24px;
}

.about-meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.about-meta-item .label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    opacity: 0.45;
    min-width: 52px;
}

.about-meta-item .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000;
}

.about-bio {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: #000;
    opacity: 0.6;
    font-weight: 400;
    margin-bottom: 24px;
}

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

.about-skills span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 99px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.about-skills span:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ===== Contact 联系区块 ===== */
.contact-section {
    padding: 0 5vw 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-intro {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: #000;
    opacity: 0.6;
    font-weight: 400;
}

.contact-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg, #000);
    padding: 80px 60px;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 15%);
    --mouse-x: 50%;
    --mouse-y: 50%;
    --spotlight-color: rgba(255, 255, 255, 0.25);
    will-change: transform;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-inner {
    display: flex;
    flex-direction: column;
}

/* ===== Contact 卡片内容 ===== */
.contact-primary-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 600;
    transition: opacity 0.25s;
}

.contact-primary-email svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.contact-primary-email:hover {
    opacity: 0.6;
}

.contact-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 40px 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
}

.method-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: background 0.25s;
}

.contact-method:hover .method-icon {
    background: rgba(255,255,255,0.12);
}

/* ===== Copy button ===== */
.copy-btn {
    border: none;
    background: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    line-height: 0;
    display: inline;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    vertical-align: middle;
}
.method-body:hover .copy-btn,
.contact-primary-email:hover .copy-btn {
    opacity: 1;
}
.copy-btn:hover {
    color: rgba(255,255,255,0.8);
}
.copy-btn.copied {
    color: #86efac;
    opacity: 1 !important;
}
.copy-btn svg {
    width: 14px;
    height: 14px;
}
.contact-primary-email .copy-btn svg {
    width: 18px;
    height: 18px;
}

.method-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
}

.method-label {
    flex: 0 0 100%;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.method-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.method-value:hover {
    opacity: 0.6;
}

/* ===== 页脚备案信息 ===== */
.footer-beian {
    width: 100%;
    background: #000;
    padding: 48px 5vw;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #888;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #888;
    display: inline-block;
}

.footer-copy,
.footer-icp {
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
    letter-spacing: 0.04em;
}
.footer-icp {
    flex-wrap: nowrap;
    white-space: nowrap;
}
.footer-icp a {
    flex-shrink: 0;
}

.footer-beian a {
    color: #888;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-beian a:hover {
    opacity: 1;
}

/* ===== 骨架屏动画 ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e8e8ec;
}

/* 骨架扫光层（z-index 高于图片） */
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.6) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

/* 图片默认透明，骨架背景可见 */
.skeleton img {
    opacity: 0;
}

/* 加载完成后：图片淡入，骨架隐藏 */
.skeleton.loaded {
    background: transparent;
}
.skeleton.loaded img {
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.skeleton.loaded::after {
    display: none;
}

/* ===== 画廊容器 ===== */
.about-gallery-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 28px;
    height: 420px;
    overflow: hidden;
    position: relative;
}
.about-gallery-wrapper .circular-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}
.about-gallery-wrapper .circular-gallery:active { cursor: grabbing; }
.about-gallery-wrapper .circular-gallery:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.gallery-skeleton {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 5vw;
    overflow: hidden;
}
.gallery-skeleton.loaded {
    display: none;
}
.gallery-skeleton .sk-card {
    flex: 0 0 auto;
    height: 60%;
    aspect-ratio: 7 / 9;
    border-radius: 12px;
    background: #e8e8ec;
    position: relative;
    overflow: hidden;
}
.gallery-skeleton .sk-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.6) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}
.dark-mode .gallery-skeleton .sk-card {
    background: #1a1a1a;
}

/* ===== 响应式适配 ===== */
@media (max-width: 768px) {
    .works-layout, .about-layout {
        flex-direction: column;
        gap: 20px;
    }
    .works-image, .about-image {
        flex: none;
        width: 100%;
    }
    .works-section {
        padding: 60px 5vw 0;
    }
    .about-section {
        padding: 0 5vw 80px;
    }
    .about-gallery-wrapper {
        height: 300px;
        margin-top: 18px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    .gallery-skeleton .sk-card:nth-child(n+4) {
        display: none;
    }
    .gallery-skeleton .sk-card {
        height: 60%;
    }
    .contact-section {
        padding: 0 5vw 80px;
    }
    .contact-card {
        padding: 48px 24px;
        border-radius: 16px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-divider {
        margin: 32px 0;
    }
    .about-meta {
        grid-template-columns: 1fr 1fr;
        gap: 10px 24px;
    }
    .works-section .brands-title {
        padding-top: 0;
        text-align: left;
    }
    .brands-subtitle {
        text-align: left;
        padding-bottom: 28px;
    }
    .works-section .marquee {
        padding-bottom: 4px;
    }
    .marquee-hint {
        padding-bottom: 60px;
    }
}

@media (max-width: 640px) {
    .brand-card {
        width: 200px;
    }
    .marquee {
        --gap: 16px;
        --duration: 28s;
    }
    .menu-list a.active::after {
        width: 7px;
        height: 7px;
        margin-left: 4px;
        margin-top: -0.01em;
    }
    .menu-toggle {
        right: 16px;
    }
    .dark-toggle {
        right: 54px;
        font-size: 1.15rem;
        top: 18.5px;
    }
    .contact-card {
        padding: 40px 24px;
    }
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-divider {
        margin: 24px 0;
    }
}

/* ===== 深色模式 ===== */
.dark-mode body {
    background-color: #0f0f0f;
    color: #d4d4d4;
}
.dark-mode .title {
    color: #fff;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% auto;
    background-image: linear-gradient(120deg, #fff 0%, #fff 35%, #444 50%, #fff 65%, #fff 100%);
}
.dark-mode .label-text {
    color: #fff;
    opacity: 0.5;
}
.dark-mode .menu-toggle span {
    background-color: #fff;
}
.dark-mode .dark-toggle {
    color: #fff;
}
.dark-mode .menu-mask {
    background: #0f0f0f;
}
.dark-mode .menu-list a {
    color: #fff;
}
.dark-mode .section-label {
    color: #fff;
}
.dark-mode .works-info h2,
.dark-mode .works-section .brands-title,
.dark-mode .about-name,
.dark-mode .contact-heading {
    color: #fff;
}
.dark-mode .works-info .works-desc,
.dark-mode .brands-subtitle,
.dark-mode .about-bio,
.dark-mode .contact-intro {
    color: #fff;
    opacity: 0.55;
}
.dark-mode .works-image,
.dark-mode .about-image,
.dark-mode .brand-card {
    background: #1a1a1a;
}
.dark-mode .about-meta-item .label {
    color: #fff;
    opacity: 0.45;
}
.dark-mode .about-meta-item .value {
    color: #fff;
    opacity: 0.85;
}
.dark-mode .about-skills span {
    border-color: #333;
    color: #fff;
    opacity: 0.85;
}
.dark-mode .about-skills span:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.dark-mode .footer-beian {
    color: #fff;
    opacity: 0.5;
}
.dark-mode .footer-copy {
    color: #fff;
    opacity: 0.5;
}
.dark-mode .footer-beian a {
    color: #fff;
    opacity: 0.5;
}
.dark-mode .footer-beian a:hover {
    color: #fff;
}
.dark-mode .skeleton {
    background: #1a1a1a;
}

/* ===== 滚动进场动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.section-label {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1);
}
.section-label.revealed {
    opacity: 1;
    transform: translateX(0);
}
.meta-item-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
    transition-delay: calc(var(--i, 0) * 0.1s);
}
.meta-item-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.method-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
    transition-delay: calc(var(--i, 0) * 0.1s);
}
.method-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.skill-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
    transition-delay: calc(var(--i, 0) * 0.08s);
}
.skill-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    .marquee:hover .marquee-track {
        animation-play-state: running;
    }
    .reveal, .section-label, .meta-item-reveal, .method-reveal, .skill-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
