:root {
    --ink-deepest: #1a1a1a;
    --ink-deep: #333333;
    --ink-medium: #666666;
    --ink-light: #999999;
    --ink-faint: #cccccc;
    --seal-red: #C41E3A;
    --seal-red-dark: #a01830;
    --gold: #D4AF37;
    --green-teal: #2E8B57;
    --paper-white: #F8F5F0;
    --paper-ivory: #FFFFF0;
    --paper-beige: #FAF0E6;
    --paper-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    --ease-ink: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-paper: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.font-calligraphy-cao { font-family: 'Liu Jian Mao Cao', cursive; }
.font-calligraphy-xing { font-family: 'Ma Shan Zheng', cursive; }
.font-calligraphy-xingcao { font-family: 'Zhi Mang Xing', cursive; }
.font-body-kai { font-family: 'ZCOOL XiaoWei', serif; }
.font-seal { font-family: 'ZCOOL KuaiLe', cursive; }

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: rgba(196, 30, 58, 0.15); color: var(--ink-deepest); }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--seal-red) transparent;
}

body {
    font-family: 'ZCOOL XiaoWei', serif;
    background: var(--paper-white);
    color: var(--ink-deep);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: default;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--seal-red), var(--seal-red-dark));
    border-radius: 8px;
}

.paper-texture-bg {
    position: fixed;
    inset: 0;
    background: var(--paper-white);
    background-image: var(--paper-texture);
    pointer-events: none;
    z-index: 0;
}

.ink-filter-svg { display: none; }

.side-nav {
    position: fixed;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.side-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s var(--ease-ink);
    position: relative;
}

.side-nav-cn {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 22px;
    color: var(--ink-light);
    transition: all 0.5s var(--ease-ink);
    line-height: 1;
}

.side-nav-en {
    font-family: 'Noto Serif SC', serif;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--ink-faint);
    margin-top: 4px;
    transition: all 0.5s var(--ease-ink);
    opacity: 0;
    transform: translateY(-4px);
}

.side-nav-item:hover .side-nav-cn {
    color: var(--seal-red);
}

.side-nav-item:hover .side-nav-en {
    opacity: 1;
    transform: translateY(0);
}

.side-nav-item.active .side-nav-cn {
    color: var(--seal-red);
    font-size: 26px;
}

.side-nav-item.active .side-nav-en {
    opacity: 1;
    transform: translateY(0);
    color: var(--seal-red);
}

.side-nav-item.active::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--seal-red);
    border-radius: 50%;
}

.side-nav-line {
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--ink-faint), transparent);
    pointer-events: none;
    z-index: -1;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px;
    background: linear-gradient(180deg, rgba(248,245,240,0.95) 0%, rgba(248,245,240,0) 100%);
    pointer-events: none;
}

.top-bar > * { pointer-events: auto; }

.top-bar-back {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--ink-medium);
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--ink-faint);
    background: rgba(248,245,240,0.8);
    backdrop-filter: blur(8px);
    transition: all 0.4s var(--ease-ink);
}

.top-bar-back:hover {
    color: var(--seal-red);
    border-color: var(--seal-red);
    transform: translateX(-4px);
}

.top-bar-seal {
    width: 40px;
    height: 40px;
    background: var(--seal-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(3deg);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.3), 0 2px 8px rgba(196,30,58,0.3);
    transition: transform 0.7s var(--ease-ink);
}

.top-bar-seal:hover {
    transform: rotate(0deg);
}

.seal-char {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.seal-char-sm {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.seal-char-xs {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.ink-main {
    position: relative;
    z-index: 1;
}

.ink-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 80px;
    overflow: hidden;
}

.hero-section {
    background: var(--paper-white);
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    pointer-events: none;
}

.mountain {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mountain-far { animation: mountainFloat 20s ease-in-out infinite; }
.mountain-mid { animation: mountainFloat 16s ease-in-out infinite reverse; }
.mountain-near { animation: mountainFloat 22s ease-in-out infinite; }

@keyframes mountainFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-seal {
    width: 64px;
    height: 64px;
    background: var(--seal-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    transform: rotate(-3deg);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3), 0 4px 16px rgba(196,30,58,0.3);
    animation: sealAppear 2s var(--ease-ink) forwards;
    opacity: 0;
}

.seal-text {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: #fff;
    font-size: 28px;
    writing-mode: vertical-rl;
    letter-spacing: 4px;
    line-height: 1;
}

@keyframes sealAppear {
    0% { opacity: 0; transform: rotate(-3deg) scale(0.5); }
    60% { opacity: 1; transform: rotate(-3deg) scale(1.1); }
    100% { opacity: 1; transform: rotate(-3deg) scale(1); }
}

.hero-title {
    font-size: 96px;
    color: var(--ink-deepest);
    letter-spacing: 16px;
    margin-bottom: 20px;
    opacity: 0;
    animation: inkReveal 2.5s var(--ease-ink) 0.3s forwards;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--ink-medium);
    letter-spacing: 8px;
    margin-bottom: 32px;
    opacity: 0;
    animation: inkReveal 2.5s var(--ease-ink) 0.8s forwards;
}

.hero-ink-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ink-faint), var(--ink-medium), var(--ink-faint), transparent);
    margin: 0 auto 32px;
    opacity: 0;
    animation: lineExpand 2s var(--ease-ink) 1.2s forwards;
}

@keyframes inkReveal {
    0% { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes lineExpand {
    0% { opacity: 0; width: 0; }
    100% { opacity: 1; width: 120px; }
}

.hero-desc {
    font-size: 18px;
    color: var(--ink-light);
    letter-spacing: 2px;
    opacity: 0;
    animation: inkReveal 2.5s var(--ease-ink) 1.5s forwards;
}

.hero-vertical-poem {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 24px;
    opacity: 0;
    animation: inkReveal 3s var(--ease-ink) 2s forwards;
}

.hero-vertical-poem .vertical-text {
    font-size: 28px;
    color: var(--ink-light);
    letter-spacing: 8px;
    opacity: 0.5;
}

.ink-drop {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,26,26,0.15) 0%, rgba(26,26,26,0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: inkDropPulse 6s ease-in-out infinite;
}

.ink-drop-1 { width: 200px; height: 200px; left: 10%; top: 20%; animation-delay: 0s; }
.ink-drop-2 { width: 150px; height: 150px; right: 25%; bottom: 30%; animation-delay: -2s; }
.ink-drop-3 { width: 100px; height: 100px; left: 40%; top: 60%; animation-delay: -4s; }

@keyframes inkDropPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-seal {
    width: 48px;
    height: 48px;
    background: var(--seal-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transform: rotate(2deg);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 2px 8px rgba(196,30,58,0.25);
}

.seal-text-sm {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.section-title {
    font-size: 56px;
    color: var(--ink-deepest);
    letter-spacing: 12px;
    margin-bottom: 8px;
}

.section-title-en {
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--ink-faint);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-ink-line {
    width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--seal-red), transparent);
    margin: 0 auto;
}

.about-section {
    background: var(--paper-ivory);
    padding-top: 160px;
    padding-bottom: 160px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
}

.about-portrait {
    flex-shrink: 0;
    position: relative;
}

.photo-stack {
    position: relative;
    width: 220px;
    height: 280px;
}

.photo-stack-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.stacked-photo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 180px;
    height: 240px;
    border: 3px solid var(--paper-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.5s var(--ease-ink), box-shadow 0.5s var(--ease-ink);
    cursor: pointer;
}

.stacked-photo:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    z-index: 100 !important;
    transform: rotate(0deg) scale(1.05) !important;
}

.stacked-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-stack-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--ink-light);
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 14px;
}

.portrait-frame {
    width: 200px;
    height: 260px;
    border: 2px solid var(--ink-faint);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.portrait-ink-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(26,26,26,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(196,30,58,0.03) 0%, transparent 50%);
}

.portrait-avatar {
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.portrait-seal {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    background: var(--seal-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 2px 6px rgba(196,30,58,0.3);
}

.about-text {
    flex: 1;
}

.about-lead {
    font-size: 24px;
    color: var(--ink-deepest);
    margin-bottom: 24px;
    letter-spacing: 2px;
    line-height: 1.8;
}

.about-body {
    font-size: 17px;
    color: var(--ink-medium);
    line-height: 2;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.about-ink-divider {
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--ink-faint), var(--ink-light), var(--ink-faint));
    margin: 32px 0;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ink-tag {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 14px;
    color: var(--ink-medium);
    padding: 6px 18px;
    border: 1px solid var(--ink-faint);
    border-radius: 2px;
    background: rgba(248,245,240,0.6);
    transition: all 0.5s var(--ease-ink);
    letter-spacing: 2px;
}

.ink-tag:hover {
    color: var(--seal-red);
    border-color: var(--seal-red);
    background: rgba(196,30,58,0.05);
    transform: translateY(-2px);
}

.skills-section {
    background: var(--paper-white);
    padding-top: 160px;
    padding-bottom: 160px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    width: 100%;
}

.skill-card {
    position: relative;
    padding: 40px 36px;
    background: var(--paper-ivory);
    border: 1px solid rgba(204,204,204,0.4);
    transition: all 0.7s var(--ease-ink);
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ink-faint), transparent);
    opacity: 0;
    transition: opacity 0.7s var(--ease-ink);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    border-color: var(--ink-light);
}

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

.skill-card-brush-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ink-faint) 0%, var(--ink-light) 30%, var(--ink-faint) 60%, transparent 100%);
    opacity: 0.5;
}

.skill-icon-wrap {
    margin-bottom: 20px;
    opacity: 0.7;
    transition: opacity 0.5s var(--ease-ink);
}

.skill-card:hover .skill-icon-wrap {
    opacity: 1;
}

.skill-name {
    font-size: 26px;
    color: var(--ink-deepest);
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.skill-desc {
    font-size: 14px;
    color: var(--ink-light);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.skill-ink-bar {
    width: 100%;
    height: 3px;
    background: rgba(204,204,204,0.3);
    position: relative;
    overflow: hidden;
}

.skill-ink-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ink-faint), var(--ink-medium));
    width: 0;
    transition: width 2s var(--ease-ink);
    position: relative;
}

.skill-ink-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 7px;
    height: 7px;
    background: var(--seal-red);
    border-radius: 50%;
    opacity: 0.7;
}

.works-section {
    background: var(--paper-beige);
    padding-top: 160px;
    padding-bottom: 160px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    width: 100%;
}

.work-card {
    position: relative;
    background: var(--paper-white);
    border: 1px solid rgba(204,204,204,0.3);
    padding: 40px 32px;
    transition: all 0.7s var(--ease-ink);
    overflow: hidden;
}

.work-card-ink-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--seal-red), var(--ink-faint));
    transition: height 1s var(--ease-ink);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.work-card:hover .work-card-ink-border {
    height: 100%;
}

.work-card-content {
    position: relative;
    z-index: 1;
}

.work-seal {
    width: 32px;
    height: 32px;
    background: var(--seal-red);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transform: rotate(-3deg);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
}

.work-title {
    font-size: 24px;
    color: var(--ink-deepest);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.work-desc {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.work-tech-tag {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 12px;
    color: var(--ink-light);
    padding: 3px 10px;
    border: 1px solid var(--ink-faint);
    letter-spacing: 1px;
}

.work-link {
    font-size: 14px;
    color: var(--seal-red);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-ink);
    display: inline-block;
}

.work-link:hover {
    letter-spacing: 6px;
}

.contact-section {
    background: var(--paper-white);
    padding-top: 160px;
    padding-bottom: 160px;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
}

.contact-scroll {
    flex: 1;
}

.scroll-paper {
    position: relative;
    background: var(--paper-ivory);
    border: 1px solid rgba(204,204,204,0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.scroll-top-rod,
.scroll-bottom-rod {
    height: 16px;
    background: linear-gradient(180deg, #8B7355, #6B5340, #8B7355);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.scroll-body {
    padding: 48px 40px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    min-height: 280px;
}

.contact-poem {
    font-size: 24px;
    color: var(--ink-light);
    letter-spacing: 6px;
    line-height: 2;
    opacity: 0.6;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(204,204,204,0.2);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--ink-faint);
    letter-spacing: 2px;
    flex-shrink: 0;
    min-width: 48px;
}

.contact-value {
    font-size: 16px;
    color: var(--ink-deep);
    letter-spacing: 1px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.contact-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    text-decoration: none;
    color: var(--ink-medium);
    border: 1px solid var(--ink-faint);
    background: var(--paper-white);
    font-size: 15px;
    letter-spacing: 2px;
    transition: all 0.5s var(--ease-ink);
}

.contact-link-btn:hover {
    color: var(--ink-deep);
    border-color: var(--ink-light);
    transform: translateX(4px);
}

.contact-link-primary {
    background: var(--seal-red);
    color: #fff;
    border-color: var(--seal-red);
}

.contact-link-primary:hover {
    background: var(--seal-red-dark);
    color: #fff;
    border-color: var(--seal-red-dark);
    transform: translateX(4px);
}

.ink-footer {
    text-align: center;
    padding: 60px 40px;
    background: var(--paper-white);
    border-top: 1px solid rgba(204,204,204,0.2);
    position: relative;
    z-index: 1;
}

.footer-seal {
    width: 36px;
    height: 36px;
    background: var(--seal-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transform: rotate(-2deg);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
}

.footer-text {
    font-size: 14px;
    color: var(--ink-light);
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.footer-beian a {
    font-size: 12px;
    color: var(--ink-faint);
    text-decoration: none;
    letter-spacing: 1px;
}

.ink-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,26,26,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0;
}

.ink-section.reveal .section-header {
    animation: sectionReveal 1.5s var(--ease-ink) forwards;
}

.ink-section.reveal .about-content,
.ink-section.reveal .skills-grid,
.ink-section.reveal .works-grid,
.ink-section.reveal .contact-content {
    animation: contentReveal 2s var(--ease-ink) 0.3s forwards;
}

@keyframes sectionReveal {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes contentReveal {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ink-ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,26,26,0.1) 0%, rgba(26,26,26,0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    animation: inkRipple 2s var(--ease-ink) forwards;
}

@keyframes inkRipple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

@media (max-width: 1024px) {
    .side-nav { right: 16px; gap: 20px; }
    .side-nav-cn { font-size: 18px; }
    .ink-section { padding: 100px 40px; }
    .hero-title { font-size: 72px; }
    .hero-vertical-poem { display: none; }
    .about-content { flex-direction: column; align-items: center; gap: 48px; }
    .about-text { text-align: center; }
    .about-tags { justify-content: center; }
    .skills-grid { grid-template-columns: 1fr; max-width: 500px; }
    .works-grid { grid-template-columns: 1fr; max-width: 500px; }
    .contact-content { flex-direction: column; align-items: center; gap: 48px; }
    .scroll-body { flex-direction: column; align-items: center; }
    .contact-links { flex-direction: row; }
}

@media (max-width: 640px) {
    .side-nav { display: none; }
    .ink-section { padding: 80px 20px; }
    .hero-title { font-size: 48px; letter-spacing: 8px; }
    .hero-subtitle { font-size: 20px; letter-spacing: 4px; }
    .section-title { font-size: 40px; }
    .about-lead { font-size: 20px; }
    .portrait-frame { width: 160px; height: 210px; }
    .works-grid { gap: 24px; }
    .contact-links { flex-direction: column; width: 100%; }
    .contact-link-btn { justify-content: center; }
}
