
        /* ---- CSS 变量：定义全站通用的颜色、阴影等 ---- */
        /* 这些变量可以在整个页面中重复使用，改一处全局生效 */
        :root {
            --bg: #090a0d;
            --paper: #14161b;
            --paper-strong: #1b1e25;
            --ink: #f5f1e8;
            --muted: #a6a093;
            --line: rgba(245, 241, 232, 0.13);
            --blue: #7894ff;
            --red: #ff735d;
            --green: #62c89d;
            --gold: #d7a84f;
            --shadow: 0 28px 86px rgba(0, 0, 0, 0.46);
            --radius: 8px;
            --card-bg: rgba(20, 22, 27, 0.76);
            --hover-bg: rgba(245, 241, 232, 0.1);
            --glass-bg: rgba(20, 22, 27, 0.2);
            --glass-blur: blur(20px);
        }

        /* ---- 全局重置：让所有元素的宽高计算方式统一 ---- */
        * {
            box-sizing: border-box;
        }

        /* 点击锚点链接时，页面会平滑滚动而不是瞬间跳转 */
        html {
            scroll-behavior: smooth;
        }

        /* ---- 页面主体样式 ---- */
        /* 深色背景 + 微妙的网格线 + 左上和右上各一个彩色光晕 */
        /* 这就是你看到的网站那个带网格和光斑的背景效果 */
        body {
            margin: 0;
            color: var(--ink);
            animation: pageIn 0.8s ease;
            cursor: none;
            background:
                radial-gradient(circle at 14% 8%, rgba(120, 148, 255, 0.22), transparent 30%),
                radial-gradient(circle at 86% 18%, rgba(255, 115, 93, 0.16), transparent 28%),
                linear-gradient(90deg, rgba(245, 241, 232, 0.045) 1px, transparent 1px),
                linear-gradient(180deg, rgba(245, 241, 232, 0.035) 1px, transparent 1px),
                var(--bg);
            background-size: 42px 42px;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
            line-height: 1.65;
            letter-spacing: 0;
        }

        /* 强制所有交互元素隐藏系统光标 */
        a, button, input, textarea, select,
        .button, .nav-links a, .contact-list a,
        .menu-toggle, .work-link, .brand {
            cursor: none;
        }

        /* 手机端菜单打开时，禁止页面滚动 */
        body.menu-open {
            overflow: hidden;
        }

        /* 链接样式：继承父元素颜色，去掉下划线 */
        a {
            color: inherit;
            text-decoration: none;
        }

        /* 图片/矢量图/画布：块级显示，最大宽度不超过父容器 */
        img,
        svg,
        canvas {
            display: block;
            max-width: 100%;
        }

        /* ---- 顶部导航栏 ---- */
        /* 固定在页面顶部，滚动时始终可见 */
        /* pointer-events: none 让容器本身不拦截点击，里面的元素单独开启 */
        .site-header {
            position: fixed;
            top: 18px;
            left: 0;
            right: 0;
            z-index: 20;
            pointer-events: none;
            transition: transform 400ms cubic-bezier(.4,0,.2,1);
        }

        /* 导航栏的"胶囊"容器：半透明深色背景 + 圆角 + 毛玻璃模糊效果 */
        .nav-shell {
            width: min(1120px, calc(100% - 32px));
            margin: 0 auto;
            padding: 9px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            background: rgba(14, 16, 21, 0.78);
            border: 1px solid var(--line);
            border-radius: 999px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
            -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
            pointer-events: auto;
        }

        /* 左侧品牌标识（logo + "主站"文字）的布局 */
        .brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 7px 13px 7px 8px;
            font-weight: 750;
        }

        /* logo 圆形图标：白色背景 + 深色文字的圆形 "X" 标记 */
        .brand-mark {
            width: 30px;
            height: 30px;
            display: grid;
            place-items: center;
            color: var(--bg);
            background: var(--ink);
            border-radius: 50%;
            font-size: 0.78rem;
            letter-spacing: 0.02em;
        }

        /* 右侧导航链接栏：水平排列各个页面锚点链接 */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* 单个导航链接的样式：灰色文字 + 胶囊圆角 */
        .nav-links a {
            padding: 8px 12px;
            color: var(--muted);
            border-radius: 999px;
            font-size: 0.92rem;
            transition: color 240ms ease, background 240ms ease, transform 240ms ease;
        }

        /* 鼠标悬停 或 当前所在板块对应的导航链接：变亮 + 微微上浮 */
        .nav-links a:hover,
        .nav-links a.is-active {
            color: var(--ink);
            background: var(--hover-bg);
            transform: translateY(-1px);
        }

        /* ---- 手机端汉堡菜单按钮 ---- */
        /* 默认隐藏（桌面端不需要），在小屏幕媒体查询中才显示 */
        .menu-toggle {
            display: none;
            width: 40px;
            height: 40px;
            place-items: center;
            border: 0;
            border-radius: 50%;
            color: var(--ink);
            background: var(--hover-bg);
            cursor: none;
        }

        /* 汉堡图标由一条横线 + 上下两条伪元素横线组成（三条线） */
        .menu-toggle span,
        .menu-toggle span::before,
        .menu-toggle span::after {
            width: 17px;
            height: 2px;
            display: block;
            position: relative;
            background: currentColor;
            border-radius: 99px;
            transition: transform 240ms ease, opacity 240ms ease;
        }

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

        .menu-toggle span::before {
            top: -6px;
        }

        .menu-toggle span::after {
            top: 6px;
        }

        /* 菜单打开时：中间那条线隐藏，上下两条旋转成 "X" 形状 */
        .menu-open .menu-toggle span {
            background: transparent;
        }

        .menu-open .menu-toggle span::before {
            transform: translateY(6px) rotate(45deg);
        }

        .menu-open .menu-toggle span::after {
            transform: translateY(-6px) rotate(-45deg);
        }

        /* ---- 主内容区域 ---- */
        /* overflow: hidden 防止动画元素溢出到页面外 */
        main {
            overflow: hidden;
        }

        /* 每个内容板块的通用样式：上下留白 104px */
        .section {
            padding: 104px 0;
        }

        /* 带 .alt 的板块：稍微亮一点的背景 + 上下边框，用来交替区分不同板块 */
        .section.alt {
            background: rgba(245, 241, 232, 0.035);
            border-block: 1px solid var(--line);
        }

        /* .wrap 是内容容器：最大宽度 1120px，自动居中 */
        .wrap {
            width: min(1120px, calc(100% - 40px));
            margin: 0 auto;
        }

        /* ---- Hero 首屏区域 ---- */
        /* 占满整个视口高度，内容靠底部对齐 */
        .hero {
            min-height: 100vh;
            padding: 132px 0 70px;
            display: grid;
            align-items: end;
            position: relative;
        }

        /* Hero 底部的渐变遮罩：从透明过渡到深色，让下方内容自然衔接 */
        .hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 34%;
            background: linear-gradient(180deg, transparent, rgba(9, 10, 13, 0.96));
            pointer-events: none;
        }

        /* Hero 背景的粒子动画画布：铺满整个区域，半透明显示 */
        .hero-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0.42;
        }

        /* Hero 内容布局：标题+按钮填满整行 */
        .hero-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr;
            gap: clamp(34px, 5vw, 74px);
            align-items: end;
        }

        /* ---- 标题和段落排版 ---- */
        h1,
        h2,
        h3,
        p {
            margin-top: 0;
        }

        /* hero-greeting：首页小字引导 "Hi, Here is" */
        .hero-greeting {
            margin-bottom: 0;
            color: var(--muted);
            font-size: clamp(1.4rem, 3vw, 2.6rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: 0.02em;
        }

        /* h1：首页主体名字 "Xiang"，超大字号 */
        h1 {
            max-width: 850px;
            margin-bottom: 28px;
            font-size: clamp(5.5rem, 14vw, 14rem);
            line-height: 0.88;
            letter-spacing: 0;
        }

        /* h2：各板块的标题，比如 "一个镜头后面的人。" */
        h2 {
            margin-bottom: 20px;
            font-size: clamp(2.35rem, 5vw, 5.4rem);
            line-height: 0.95;
            letter-spacing: 0;
        }

        /* h3：卡片内的小标题 */
        h3 {
            margin-bottom: 10px;
            font-size: clamp(1.25rem, 2vw, 1.75rem);
            line-height: 1.16;
        }

        /* .lead：大号正文，用于重要描述段落 */
        .lead {
            max-width: 660px;
            color: var(--muted);
            font-size: clamp(1.08rem, 2vw, 1.35rem);
        }

        /* ---- 按钮组 ---- */
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        /* 主按钮："看作品"等实心按钮，白色背景 + 深色文字 */
        .button {
            min-height: 44px;
            padding: 10px 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border: 1px solid var(--ink);
            border-radius: 999px;
            color: var(--paper);
            background: var(--ink);
            font-weight: 720;
            transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease, color 240ms ease;
        }

        .button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        /* 次要按钮："联系"等透明边框按钮 */
        .button.secondary {
            color: var(--ink);
            background: transparent;
        }

        /* ---- 右侧个人信息卡片（待补充内容后启用） ---- */
        /* ---- 板块标题区域（通用样式）---- */
        /* 左边是英文小标签（如 "About Me"），右边是中文大标题 */
        .section-head {
            display: grid;
            grid-template-columns: minmax(160px, 0.38fr) minmax(0, 0.62fr);
            gap: clamp(24px, 5vw, 76px);
            align-items: end;
            margin-bottom: 54px;
        }

        /* 板块英文小标签：全大写、小字号、灰色 */
        .section-kicker {
            margin: 0;
            color: var(--muted);
            font-size: 0.78rem;
            font-weight: 780;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        /* ---- "关于我" 板块布局 ---- */
        /* 左边是自我介绍文本，右边是标签卡片列表 */
        .about-layout {
            display: grid;
            grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
            gap: 28px;
        }

        /* 左侧自我介绍区块：带边框和深色背景的卡片 */
        .statement {
            padding: clamp(26px, 5vw, 54px);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            box-shadow: var(--shadow);
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        .statement:hover {
            border-color: rgba(245, 241, 232, 0.25);
            box-shadow: var(--shadow);
        }

        .statement p:last-child {
            margin-bottom: 0;
        }

        /* 右侧标签列表容器 */
        .fact-list {
            display: grid;
            gap: 12px;
        }

        /* 单个标签卡片：如 "Identity → 人类"、"Height → 170大高个" */
        .fact {
            padding: 20px;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        .fact:hover {
            border-color: rgba(245, 241, 232, 0.25);
            box-shadow: var(--shadow);
        }

        .fact span {
            display: block;
            margin-bottom: 6px;
            color: var(--muted);
            font-size: 0.78rem;
            font-weight: 780;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        /* ---- 当前状态和项目卡片网格 ---- */
        .status-grid,
        .project-grid {
            display: grid;
            gap: 14px;
        }

        .status-grid {
            grid-template-columns: 1.15fr 0.85fr;
            align-items: stretch;
        }

        /* 状态卡片和项目卡片的通用样式：边框圆角 + 毛玻璃背景 */
        .status-card,
        .project-card {
            position: relative;
            overflow: hidden;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
        }

        /* 左侧大状态卡片：显示当前专注方向，带渐变光晕 */
        .status-card {
            min-height: 340px;
            padding: clamp(24px, 4vw, 46px);
            display: grid;
            align-content: space-between;
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        .status-card:hover {
            border-color: rgba(245, 241, 232, 0.25);
            box-shadow: var(--shadow);
        }

        /* 卡片左上角的彩色渐变光晕效果 */
        .status-card::before,
        .project-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0.5) 100%);
            z-index: -2;
            pointer-events: none;
        }

        /* 项目卡片图片填充 */
        .project-img {
            position: absolute;
            inset: 0;
            z-index: -3;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 520ms ease;
        }

        .project-card:hover .project-img {
            transform: scale(1.05);
        }

        .status-card > *,
        .project-card > * {
            position: relative;
            z-index: 1;
        }

        .status-card strong {
            display: block;
            max-width: 760px;
            font-size: clamp(2rem, 5vw, 4.8rem);
            line-height: 0.98;
            letter-spacing: 0;
        }

        .status-card p,
        .project-card p {
            color: var(--muted);
        }

        /* 右侧小信息卡片网格：学校、专业、联系方式、下载状态 */
        .status-mini {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .status-mini .fact {
            min-height: 163px;
            display: grid;
            align-content: space-between;
        }

        /* 项目卡片：三列等宽网格布局 */
        .project-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        /* 单个项目卡片：悬停时上浮 + 边框变亮 */
        .project-card {
            min-height: 320px;
            padding: 24px;
            display: grid;
            align-content: space-between;
            transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
        }

        .project-card:hover {
            border-color: rgba(245, 241, 232, 0.28);
            box-shadow: var(--shadow);
        }

        /* 项目卡片左上角的彩色小标签（如 "公益音乐节"） */
        .project-card .tag {
            width: fit-content;
            padding: 5px 9px;
            color: var(--ink);
            background: var(--accent);
            border-radius: 999px;
            font-size: 0.76rem;
            font-weight: 800;
        }

        /* ---- 经历时间线 ---- */
        /* 纵向排列的时间线条目 */
        .timeline {
            display: grid;
            gap: 14px;
        }

        /* 单个时间线条目：左边日期+角色，右边详情 */
        .timeline-item {
            padding: 24px;
            display: grid;
            grid-template-columns: 180px minmax(0, 1fr);
            gap: 28px;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        /* 鼠标悬停时上浮效果 */
        .timeline-item:hover {
            border-color: rgba(245, 241, 232, 0.25);
            box-shadow: var(--shadow);
        }

        /* 日期文字样式 */
        .date {
            color: var(--muted);
            font-size: 0.88rem;
            font-weight: 720;
        }

        /* 角色标签：绿色文字，如 "member"、"Team Leader" */
        .role {
            margin-bottom: 10px;
            color: var(--green);
            font-size: 0.88rem;
            font-weight: 760;
            text-transform: uppercase;
        }

        .timeline-item p {
            margin-bottom: 0;
            color: var(--muted);
        }

        /* ---- 技能网格 ---- */
        /* 7列等宽网格，展示各项技能 */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(7, minmax(92px, 1fr));
            gap: 10px;
        }

        /* 单个技能方块：底部有渐变色填充，高度代表技能熟练度 */
        /* --level 变量控制填充比例，如 90% 就填充 90% 的高度 */
        .skill {
            min-height: 136px;
            padding: 14px;
            display: grid;
            align-content: end;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
        }

        /* 技能方块的背景填充层：从底部向上生长的动画 */
        .skill::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: var(--level);
            background: linear-gradient(180deg, rgba(120, 148, 255, 0.14), rgba(120, 148, 255, 0.42));
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform 950ms cubic-bezier(.2, .8, .2, 1);
        }

        .skill.is-visible::before {
            transform: scaleY(1);
        }

        .skill strong,
        .skill span {
            position: relative;
            z-index: 1;
        }

        .skill span {
            color: var(--muted);
            font-size: 0.8rem;
        }

        /* ---- 摄影作品展示网格 ---- */
        /* 4列布局，每个作品是一个带彩色渐变的卡片 */
        .work-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        /* 单个作品卡片：图片背景 + 暗色遮罩 */
        .work {
            min-height: 330px;
            padding: 18px;
            display: grid;
            align-content: space-between;
            overflow: hidden;
            position: relative;
            border: 1px solid var(--line);
            border-radius: var(--radius);
            color: var(--ink);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            isolation: isolate;
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        /* 作品卡片的暗色遮罩层，覆盖在图片上方 */
        .work::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -2;
            background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0.5) 100%);
            transform: scale(1.04);
            transition: transform 520ms ease;
        }

        /* 作品卡片图片填充 */
        .work-img {
            position: absolute;
            inset: 0;
            z-index: -3;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 520ms ease;
        }

        .work:hover .work-img {
            transform: scale(1.05);
        }

        .work::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background-image:
                linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
                linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
            background-size: 34px 34px;
            mix-blend-mode: overlay;
            opacity: 0.42;
        }

        /* 作品卡片悬停时上浮 + 显示阴影 */
        .work:hover {
            box-shadow: var(--shadow);
        }

        .work:hover::before {
            transform: scale(1);
        }

        .work time,
        .work .place {
            color: rgba(255, 253, 248, 0.72);
            font-size: 0.86rem;
            font-weight: 720;
        }

        .work p {
            color: rgba(255, 253, 248, 0.76);
        }

        /* ---- 他人评价区域 ---- */
        /* 两列并排的引用卡片 */
        .quote-strip {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        /* 单条评价卡片：毛玻璃背景 + 阴影 */
        .quote {
            padding: clamp(24px, 4vw, 38px);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
            transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        }

        .quote:hover {
            border-color: rgba(245, 241, 232, 0.25);
            box-shadow: var(--shadow);
        }

        .quote p {
            color: var(--muted);
        }

        .quote footer {
            margin-top: 24px;
            color: var(--ink);
            font-weight: 760;
        }

        .quote footer span {
            display: block;
            color: var(--muted);
            font-weight: 520;
        }

        /* ---- 联系方式区域 ---- */
        /* 左边是超大 "Hello world." 标题，右边是链接列表 */
        .contact-band {
            display: grid;
            grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.38fr);
            gap: 28px;
            align-items: end;
        }

        /* "Hello world." 超大标题样式 */
        .contact-title {
            margin: 0;
            font-size: clamp(3rem, 9vw, 8.4rem);
            line-height: 0.9;
            background: linear-gradient(90deg, var(--ink), var(--blue), var(--red), var(--ink));
            background-size: 300% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientFlow 6s ease infinite;
        }

        /* 联系方式链接列表 */
        .contact-list {
            display: grid;
            gap: 10px;
        }

        /* 单个联系链接：悬停时向右缩进 + 文字变亮 */
        .contact-list a {
            padding: 16px 0;
            display: flex;
            justify-content: space-between;
            gap: 20px;
            border-bottom: 1px solid var(--line);
            color: var(--muted);
            transition: color 220ms ease, padding-left 220ms ease;
        }

        .contact-list a:hover {
            padding-left: 10px;
            color: var(--ink);
        }

        /* ---- 页脚 ---- */
        /* 版权信息 + 备案号，最底部的横条 */
        .footer {
            padding: 28px 0;
            color: var(--muted);
            font-size: 0.85rem;
            border-top: 1px solid var(--line);
        }

        .footer .wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 12px;
        }

        .footer a {
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        /* ---- 滚动渐显动画 ---- */
        /* 元素初始状态：透明 + 向下偏移 26px */
        /* 当滚动到可视区域时，添加 .is-visible 类使其渐显归位 */
        .reveal {
            opacity: 0;
            transform: translateY(26px);
            transition: opacity 760ms ease, transform 760ms cubic-bezier(.2, .8, .2, 1);
        }

        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ---- 页面加载动画 ---- */
        @keyframes pageIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* ---- 滚动进度条 ---- */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--blue), var(--red));
            z-index: 999;
            transition: width 80ms linear;
            pointer-events: none;
        }

        /* ---- 自定义光标 ---- */
        .cursor-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--ink);
            position: fixed;
            pointer-events: none;
            z-index: 10000;
            transition: transform 200ms cubic-bezier(.2,.8,.2,1), width 200ms ease, height 200ms ease;
            mix-blend-mode: difference;
        }

        .cursor-dot.hover {
            opacity: 0;
        }

        .cursor-expand {
            position: fixed;
            width: 108px;
            height: 108px;
            border-radius: 50%;
            background: var(--ink);
            pointer-events: none;
            z-index: 9998;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
            mix-blend-mode: difference;
        }

        .cursor-expand.hover {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .cursor-ring {
            width: 32px;
            height: 32px;
            border: 1.5px solid rgba(245, 241, 232, 0.4);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            transition: width 300ms ease, height 300ms ease, border-color 300ms ease, margin-left 300ms ease, margin-top 300ms ease;
        }

        .cursor-ring.hover {
            width: 56px;
            height: 56px;
            margin-left: -12px;
            margin-top: -12px;
            border-color: rgba(245, 241, 232, 0.15);
        }

        /* ---- Hero 标题逐字动画 ---- */
        .hero-char {
            display: inline-block;
            opacity: 0;
            transform: translateY(50px);
            animation: charIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
        }

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

        /* ---- 渐变流光动画 ---- */
        @keyframes gradientFlow {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* ---- 卡片鼠标光晕 ---- */
        .card-glow {
            position: absolute;
            width: 250px;
            height: 250px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(120,148,255,0.25), transparent 70%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 300ms ease;
            transform: translate(-50%, -50%);
            z-index: 0;
        }

        .project-card:hover .card-glow,
        .work:hover .card-glow,
        .timeline-item:hover .card-glow {
            opacity: 1;
        }

        /* ---- 3D 卡片倾斜动画 ---- */

        /* ---- 时间线卡片弹出动画 ---- */
        .timeline .timeline-item.reveal,
        #education .timeline-item.reveal {
            opacity: 0;
            transform: translateY(60px) scale(0.92);
            transition:
                opacity 900ms cubic-bezier(.22, 1, .36, 1),
                transform 900ms cubic-bezier(.22, 1, .36, 1);
        }

        .timeline .timeline-item.reveal.is-visible,
        #education .timeline-item.reveal.is-visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* ---- 当前状态卡片弹出动画 ---- */
        #now .status-card.reveal,
        #now .fact.reveal {
            opacity: 0;
            transform: scale(0.5);
            transition:
                opacity 1350ms cubic-bezier(.175, .885, .32, 1.275),
                transform 1350ms cubic-bezier(.175, .885, .32, 1.275);
        }

        #now .status-card.reveal.is-visible,
        #now .fact.reveal.is-visible {
            opacity: 1;
            transform: scale(1);
        }

        .statement,
        .fact,
        .status-card,
        .project-card,
        .timeline-item,
        .skill,
        .work,
        .quote {
            transform-style: preserve-3d;
            will-change: transform;
        }

        /* ---- 按钮涟漪效果 ---- */
        .button {
            position: relative;
            overflow: hidden;
        }

        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(0,0,0,0.2);
            transform: scale(0);
            animation: rippleOut 600ms ease-out forwards;
            pointer-events: none;
        }

        @keyframes rippleOut {
            to { transform: scale(4); opacity: 0; }
        }

        /* ---- 手机端隐藏自定义光标 ---- */
        @media (pointer: coarse) {
            .cursor-dot, .cursor-ring { display: none !important; }
            body, a, button { cursor: auto !important; }
        }

        /* ---- 无障碍：如果用户系统设置了"减少动画"，则关闭所有动画和过渡 ---- */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: 1ms !important;
                transition-duration: 1ms !important;
            }
        }

        /* ---- 响应式布局：平板尺寸（≤960px）---- */
        /* 多列布局变为单列，网格调整列数 */
        @media (max-width: 960px) {
            .hero-grid,
            .about-layout,
            .section-head,
            .contact-band,
            .status-grid {
                grid-template-columns: 1fr;
            }

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

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

            .skills-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .hero {
                min-height: auto;
                padding-bottom: 54px;
            }

        }

        /* ---- 响应式布局：手机尺寸（≤720px）---- */
        /* 显示汉堡菜单按钮，导航变为下拉面板 */
        /* 按钮全宽，卡片内边距缩小 */
        @media (max-width: 720px) {
            .site-header {
                top: 10px;
            }

            .nav-shell {
                width: min(100% - 20px, 1120px);
                padding: 7px;
                align-items: flex-start;
                border-radius: 22px;
            }

            .brand {
                min-height: 40px;
                padding-right: 10px;
            }

            .menu-toggle {
                display: grid;
                flex: 0 0 auto;
            }

            .nav-links {
                position: absolute;
                top: 62px;
                left: 12px;
                right: 12px;
                padding: 10px;
                display: grid;
                gap: 2px;
                border: 1px solid var(--line);
                border-radius: 20px;
                background: rgba(14, 16, 21, 0.96);
                box-shadow: var(--shadow);
                opacity: 0;
                transform: translateY(-12px);
                pointer-events: none;
                transition: opacity 240ms ease, transform 240ms ease;
            }

            .menu-open .nav-links {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

            .nav-links a {
                padding: 13px 14px;
                font-size: 1rem;
            }

            .hero {
                padding-top: 102px;
            }

            h1 {
                font-size: clamp(4.5rem, 22vw, 8rem);
            }

            .hero-greeting {
                font-size: clamp(1.2rem, 5vw, 1.8rem);
            }

            h2 {
                font-size: clamp(2.1rem, 11vw, 3.9rem);
            }

            .lead {
                font-size: 1.06rem;
            }

            .hero-actions {
                align-items: stretch;
            }

            .button {
                width: 100%;
            }

            .profile-panel,
            .statement,
            .status-card,
            .project-card,
            .timeline-item,
            .quote {
                padding: 20px;
            }

            .status-card {
                min-height: 260px;
            }

            .status-card strong {
                font-size: clamp(2rem, 12vw, 3.4rem);
            }

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

            .work-grid,
            .quote-strip,
            .status-mini {
                grid-template-columns: 1fr;
            }

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

            .section {
                padding: 70px 0;
            }

            .work {
                min-height: 260px;
            }

            .contact-title {
                font-size: clamp(3rem, 17vw, 5.2rem);
            }

            .contact-list a {
                gap: 12px;
                overflow-wrap: anywhere;
            }
        }

        /* ---- 响应式布局：小屏手机（≤420px）---- */
        /* 技能网格变为单列，卡片进一步缩小 */
        @media (max-width: 420px) {
            .wrap {
                width: min(100% - 24px, 1120px);
            }

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

            .hero-grid {
                gap: 26px;
            }

            .skill {
                min-height: 104px;
            }

            .project-card,
            .work {
                min-height: 230px;
            }

            .footer .wrap {
                display: grid;
            }
        }

