/* 知予AI · 东方秘境视觉层 */
:root {
    --ink-0: #050b0a;
    --ink-1: #081310;
    --ink-2: #0d1c18;
    --jade: #9ebcb0;
    --jade-dim: #66877c;
    --gold: #d7c38d;
    --gold-bright: #f0e2b5;
    --gold-dim: #8e8058;
    --paper: #edf0e7;
    --muted: rgba(220, 230, 220, .58);
    --line: rgba(198, 211, 185, .18);
    --ease-ink: cubic-bezier(.22, 1, .36, 1);
}

body.mythic-os {
    background: var(--ink-0);
    color: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

body.mythic-os ::selection { background: rgba(215, 195, 141, .28); color: #fff9e9; }
body.mythic-os ::-webkit-scrollbar-thumb { background: rgba(215, 195, 141, .22); background-clip: content-box; }

.mythic-world {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 48% -10%, rgba(85, 131, 115, .19), transparent 48%),
        radial-gradient(ellipse at 0% 58%, rgba(48, 91, 76, .12), transparent 42%),
        radial-gradient(ellipse at 100% 35%, rgba(95, 107, 71, .09), transparent 38%),
        linear-gradient(180deg, #07110f 0%, #050c0b 60%, #07100e 100%);
}

.mythic-world::before {
    content: "";
    position: absolute;
    inset: -30%;
    opacity: .12;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
    animation: grainShift .24s steps(2) infinite;
}

.mythic-world::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(1, 6, 5, .65) 100%);
}

#inkCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .82; }
.ink-mist { position: absolute; width: 70vw; height: 36vw; border-radius: 50%; filter: blur(90px); opacity: .15; mix-blend-mode: screen; }
.ink-mist-a { left: -25vw; top: 18vh; background: #799d89; animation: mistDrift 24s ease-in-out infinite alternate; }
.ink-mist-b { right: -30vw; top: 48vh; background: #8b8968; animation: mistDrift 31s ease-in-out infinite alternate-reverse; }

.world-mountains {
    position: absolute;
    left: -4%; right: -4%; bottom: -2px;
    width: 108%; height: 46vh;
    opacity: .16;
    color: #829487;
    filter: drop-shadow(0 -1px 0 rgba(209, 196, 145, .15));
}

.world-brush {
    position: absolute;
    width: 44vw; height: 44vw;
    border: 1px solid rgba(209, 195, 145, .07);
    border-radius: 50%;
    left: -29vw; top: 12vh;
    transform: rotate(-28deg);
    box-shadow: 0 0 80px rgba(196, 183, 132, .025), inset 0 0 60px rgba(196, 183, 132, .025);
}

@keyframes grainShift { 0% { transform: translate(0, 0); } 25% { transform: translate(2%, -1%); } 50% { transform: translate(-1%, 2%); } 75% { transform: translate(1%, 1%); } }
@keyframes mistDrift { to { transform: translate3d(16vw, -6vh, 0) scale(1.15); opacity: .22; } }

#homePage { position: relative; z-index: 2; }
.mythic-shell { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }

/* 顶部导航 */
.mythic-nav {
    position: fixed;
    z-index: 40;
    top: 0; left: 0; right: 0;
    height: 76px;
    border-bottom: 1px solid rgba(208, 218, 193, .1);
    background: linear-gradient(180deg, rgba(5, 13, 11, .88), rgba(5, 13, 11, .62));
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    transition: height .45s var(--ease-ink), background .45s ease;
}
.mythic-nav.is-scrolled { height: 64px; background: rgba(5, 13, 11, .94); }
.mythic-nav-inner { height: 100%; display: flex; align-items: center; gap: 42px; }
.mythic-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--paper); text-decoration: none; flex-shrink: 0; }
.brand-seal {
    position: relative;
    display: grid; place-items: center;
    width: 46px; height: 46px;
    color: var(--gold-bright);
    border: 1px solid rgba(215, 195, 141, .42);
    font: 700 20px/1 "Songti SC", "STSong", serif;
    letter-spacing: -.12em;
    text-indent: -.12em;
    background: linear-gradient(145deg, rgba(215, 195, 141, .08), transparent);
    box-shadow: inset 0 0 18px rgba(215, 195, 141, .05);
}
.brand-seal::before, .brand-seal::after { content: ""; position: absolute; width: 5px; height: 5px; border-color: var(--gold); }
.brand-seal::before { left: 3px; top: 3px; border-left: 1px solid; border-top: 1px solid; }
.brand-seal::after { right: 3px; bottom: 3px; border-right: 1px solid; border-bottom: 1px solid; }
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.brand-word strong { font: 600 20px/1.1 "Songti SC", "STSong", serif; letter-spacing: .14em; color: #f1ead4; }
.brand-word small { color: rgba(215, 195, 141, .48); font: 500 8px/1.2 ui-monospace, monospace; letter-spacing: .26em; }
.mythic-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.mythic-links a { position: relative; padding: 28px 0 25px; color: rgba(231, 236, 224, .56); text-decoration: none; font-size: 13px; letter-spacing: .12em; transition: color .3s ease; }
.mythic-links a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 17px; height: 1px; background: var(--gold); transition: left .35s var(--ease-ink), right .35s var(--ease-ink); }
.mythic-links a:hover, .mythic-links a.active { color: var(--gold-bright); }
.mythic-links a:hover::after, .mythic-links a.active::after { left: 0; right: 0; }
.nav-enter {
    display: inline-flex; align-items: center; gap: 18px;
    padding: 10px 16px 10px 20px;
    border: 1px solid rgba(215, 195, 141, .32);
    color: #e9ddba; text-decoration: none; font-size: 12px; letter-spacing: .1em;
    background: rgba(215, 195, 141, .045);
    transition: background .3s, border-color .3s, transform .3s;
}
.nav-enter:hover { background: rgba(215, 195, 141, .1); border-color: rgba(215, 195, 141, .6); transform: translateY(-1px); }
.nav-enter i { font-style: normal; font-size: 16px; }
.mythic-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 10px rgba(215, 195, 141, .6); }

/* 首屏 */
.mythic-main { padding-top: 110px; }
.mythic-hero-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(300px, .92fr); gap: 14px; }
.mythic-panel {
    --mx: 50%; --my: 20%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top-color: rgba(238, 240, 214, .16);
    border-left-color: rgba(223, 236, 219, .10);
    border-right-color: rgba(0, 0, 0, .34);
    border-bottom-color: rgba(0, 0, 0, .46);
    background:
        radial-gradient(420px circle at var(--mx) var(--my), rgba(233, 240, 218, .12), transparent 62%),
        linear-gradient(135deg, rgba(64, 108, 89, .28), rgba(9, 22, 18, .52));
    backdrop-filter: blur(22px) saturate(170%) brightness(1.14);
    -webkit-backdrop-filter: blur(22px) saturate(170%) brightness(1.14);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .5),
        inset 0 0 0 1px rgba(255, 255, 255, .03),
        inset 2px 0 0 rgba(255, 255, 255, .12),
        inset -2px 0 0 rgba(0, 0, 0, .34),
        inset 0 -3px 0 rgba(0, 0, 0, .55),
        inset 0 70px 70px -70px rgba(255, 255, 255, .16),
        inset 0 -80px 70px -70px rgba(0, 0, 0, .6),
        0 2px 0 rgba(255, 255, 255, .07),
        0 10px 18px -6px rgba(0, 0, 0, .6),
        0 30px 60px -24px rgba(0, 0, 0, .66),
        0 70px 100px -50px rgba(0, 0, 0, .5);
    border-radius: 6px;
}

/* 3D 玻璃层：厚度 · 边缘高光 · 底部折射 */
.mythic-panel > .glass-slab { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; overflow: hidden; opacity: .9; transition: opacity .45s var(--ease-ink); }
.mythic-panel > .glass-slab::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .58) 0, rgba(255, 255, 255, .22) 3px, rgba(255, 255, 255, .06) 18px, transparent 26%),
        linear-gradient(0deg, rgba(216, 198, 148, .30) 0, rgba(255, 255, 255, .12) 3px, transparent 20%),
        linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, rgba(255, 255, 255, .05) 1px 9px, transparent 14%),
        linear-gradient(270deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 11%),
        linear-gradient(122deg, transparent 34%, rgba(255, 255, 255, .10) 46%, transparent 58%),
        radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .13), transparent 60%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 1px 0 0 rgba(255, 255, 255, .16),
        inset -1px 0 0 rgba(0, 0, 0, .3),
        inset 0 -1px 0 rgba(0, 0, 0, .5),
        inset 0 0 30px rgba(255, 255, 255, .035);
}
.mythic-panel > .glass-slab::after {
    content: "";
    position: absolute; left: 5%; right: 5%; bottom: -42%; height: 62%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(219, 199, 146, .24), transparent 72%);
    filter: blur(14px);
    opacity: .95;
}
.mythic-panel::before { content: ""; position: absolute; z-index: 3; left: 12px; top: 12px; width: 9px; height: 9px; border-left: 1px solid rgba(227, 214, 165, .48); border-top: 1px solid rgba(227, 214, 165, .48); pointer-events: none; }
.mythic-panel::after { content: ""; position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 9px; height: 9px; border-right: 1px solid rgba(227, 214, 165, .32); border-bottom: 1px solid rgba(227, 214, 165, .32); pointer-events: none; }

.mythic-hero-grid { position: relative; isolation: isolate; }
.mythic-hero-grid::before {
    content: ""; position: absolute; z-index: -1; inset: -70px 0;
    background:
        radial-gradient(45% 60% at 18% 10%, rgba(122, 178, 150, .32), transparent 62%),
        radial-gradient(40% 50% at 88% 8%, rgba(215, 195, 141, .20), transparent 64%),
        radial-gradient(60% 50% at 50% 108%, rgba(74, 130, 106, .26), transparent 66%);
    filter: blur(58px); pointer-events: none;
}
.hero-primary { min-height: 400px; display: flex; align-items: center; padding: 50px 54px; isolation: isolate; }
.hero-primary::before { width: 16px; height: 16px; left: 16px; top: 16px; }
.hero-content { position: relative; z-index: 4; width: 67%; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: rgba(215, 195, 141, .64); font: 500 10px/1.4 ui-monospace, monospace; letter-spacing: .25em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold-dim); }
.hero-title { margin: 0; font: 600 clamp(42px, 4.5vw, 68px)/1.22 "Songti SC", "STSong", "SimSun", serif !important; letter-spacing: .08em !important; color: #f1ecd9 !important; text-shadow: 0 6px 28px rgba(0, 0, 0, .32); }
.hero-title .title-line { display: block; overflow: hidden; }
.hero-title .title-line > span { display: block; animation: titleRise 1.1s var(--ease-ink) both; }
.hero-title .title-line:nth-child(2) > span { animation-delay: .12s; color: var(--gold-bright); }
.hero-subtitle { margin: 20px 0 0; color: rgba(228, 235, 222, .67); font-size: 14px; line-height: 1.9; letter-spacing: .08em; max-width: 520px; animation: softEnter 1s .35s var(--ease-ink) both; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; animation: softEnter 1s .45s var(--ease-ink) both; }
.hero-tags span, .mini-tag { padding: 5px 10px; border: 1px solid rgba(189, 204, 181, .18); border-radius: 99px; color: rgba(219, 229, 211, .62); background: rgba(152, 181, 158, .045); font-size: 10px; letter-spacing: .08em; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; animation: softEnter 1s .55s var(--ease-ink) both; }
.gold-button, .ghost-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 44px; padding: 0 21px; text-decoration: none; font-size: 12px; letter-spacing: .1em; overflow: hidden; transition: transform .35s var(--ease-ink), box-shadow .35s, background .35s; }
.gold-button { color: #192019; background: linear-gradient(110deg, #bba873, #e6d8aa 52%, #b7a471); border: 1px solid #e8d9a9; box-shadow: 0 10px 32px rgba(197, 180, 123, .12); }
.gold-button::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent); transition: transform .7s ease; }
.gold-button:hover::after { transform: translateX(120%) skewX(-20deg); }
.gold-button:hover, .ghost-button:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(197, 180, 123, .2); }
.ghost-button { color: #d7ddce; border: 1px solid rgba(202, 215, 191, .2); background: rgba(8, 20, 16, .35); }
.ghost-button:hover { background: rgba(164, 188, 163, .08); border-color: rgba(215, 195, 141, .42); }

.hero-orbit { position: absolute; z-index: 1; width: 520px; height: 520px; right: -105px; top: -64px; opacity: .75; }
.orbit-ring { position: absolute; inset: 12%; border: 1px solid rgba(215, 195, 141, .17); border-radius: 50%; animation: orbitSpin 38s linear infinite; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #e6d8a7; box-shadow: 0 0 12px #d7c38d; }
.orbit-ring::before { top: 14%; left: 15%; }
.orbit-ring::after { bottom: 9%; right: 22%; }
.orbit-ring.ring-two { inset: 25%; border-style: dashed; opacity: .45; animation-duration: 26s; animation-direction: reverse; }
.orbit-ring.ring-three { inset: 4%; border-color: rgba(215, 195, 141, .07); transform: rotateX(66deg) rotateZ(-18deg); animation: none; }
.orbit-core { position: absolute; inset: 37%; border-radius: 50%; background: radial-gradient(circle, rgba(215, 220, 183, .16), transparent 65%); filter: blur(2px); animation: coreBreathe 5s ease-in-out infinite; }
.orbit-glyph { position: absolute; inset: 0; display: grid; place-items: center; font: 400 128px/1 "Songti SC", serif; color: rgba(224, 214, 171, .09); transform: rotate(-8deg); }
.hero-light-stroke { position: absolute; z-index: 2; width: 80%; height: 80%; right: -8%; top: 4%; opacity: .72; }
.hero-light-stroke path { fill: none; stroke: url(#strokeGold); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawStroke 3s .4s var(--ease-ink) forwards, strokeGlow 5s 3.4s ease-in-out infinite; }
.hero-light-stroke path:nth-child(2) { animation-delay: .65s, 3.8s; opacity: .45; }
.hero-light-stroke path:nth-child(3) { animation-delay: .9s, 4.1s; opacity: .28; }
.hero-coordinate { position: absolute; z-index: 4; right: 22px; bottom: 18px; color: rgba(215, 195, 141, .32); font: 9px/1.5 ui-monospace, monospace; letter-spacing: .14em; writing-mode: vertical-rl; }

.hero-side { min-height: 400px; padding: 28px 30px; display: flex; flex-direction: column; isolation: isolate; }
.side-number { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; color: rgba(215, 195, 141, .42); font: 9px/1 ui-monospace, monospace; letter-spacing: .22em; }
.side-number i { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px var(--gold); animation: coreBreathe 3s infinite; }
.dragon-art { position: absolute; z-index: 1; width: 112%; right: -16%; top: 2%; height: 92%; color: #c6c7a3; opacity: .52; filter: drop-shadow(0 0 8px rgba(215, 195, 141, .08)); animation: dragonFloat 9s ease-in-out infinite alternate; }
.dragon-art .dragon-line { fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dragon-art .faint { opacity: .38; }
.dragon-art .gold { stroke: #d9c88e; opacity: .72; }
.side-copy { position: relative; z-index: 4; margin-top: auto; max-width: 320px; animation: softEnter 1s .55s var(--ease-ink) both; }
.side-eyebrow { margin: 0 0 11px; color: var(--gold); font-size: 10px; letter-spacing: .24em; }
.side-copy h2 { margin: 0 0 12px; font: 500 24px/1.5 "Songti SC", serif !important; letter-spacing: .1em !important; color: #e7e5d5 !important; }
.side-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.side-foot { position: relative; z-index: 4; display: flex; align-items: center; gap: 12px; margin-top: 20px; color: rgba(215, 195, 141, .52); font: 9px/1 ui-monospace, monospace; letter-spacing: .18em; }
.side-foot::before { content: ""; width: 38px; height: 1px; background: var(--gold-dim); }

/* 项目矩阵 */
.project-section { padding: 72px 0 0; scroll-margin-top: 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading-left { display: flex; align-items: flex-end; gap: 20px; }
.section-index { color: rgba(215, 195, 141, .35); font: 10px/1.4 ui-monospace, monospace; letter-spacing: .15em; padding-bottom: 7px; }
.section-heading h2 { margin: 0; font: 500 28px/1.25 "Songti SC", serif !important; letter-spacing: .12em !important; color: #e8e8d9 !important; }
.section-heading h2 small { display: block; margin-bottom: 9px; color: rgba(215, 195, 141, .48); font: 9px/1 ui-monospace, monospace; letter-spacing: .25em; }
.section-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.project-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; perspective: 1400px; }
.project-grid::before {
    content: ""; position: absolute; z-index: 0; inset: -90px 0;
    background:
        radial-gradient(46% 40% at 20% 8%, rgba(122, 178, 150, .32), transparent 62%),
        radial-gradient(42% 38% at 82% 2%, rgba(215, 195, 141, .20), transparent 64%),
        radial-gradient(60% 46% at 50% 104%, rgba(74, 130, 106, .26), transparent 66%);
    filter: blur(60px); pointer-events: none;
}
.project-card { position: relative; z-index: 1; min-height: 292px; padding: 24px 25px 22px; display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease-ink), border-color .45s, box-shadow .45s; }
.project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 6; min-height: 320px; }
.project-card:nth-child(n+3) { grid-column: span 3; }
.project-card:hover {
    border-color: rgba(215, 195, 141, .43);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        inset 0 -1px 0 rgba(0, 0, 0, .48),
        inset 0 70px 70px -70px rgba(255, 255, 255, .14),
        0 34px 70px -26px rgba(0, 0, 0, .68),
        0 70px 100px -46px rgba(0, 0, 0, .5),
        0 0 40px rgba(145, 166, 137, .05);
}
.project-card:hover > .glass-slab { opacity: 1; }
.project-card .card-content::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit; pointer-events: none; opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.project-card .card-content { position: relative; z-index: 4; display: flex; flex-direction: column; height: 100%; transform: translateZ(12px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.card-serial { display: flex; align-items: center; gap: 10px; color: rgba(215, 195, 141, .43); font: 9px/1 ui-monospace, monospace; letter-spacing: .18em; }
.card-serial::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--gold-dim); transform: rotate(45deg); }
.card-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(215, 195, 141, .2); color: rgba(226, 216, 177, .72); font-size: 12px; background: rgba(8, 18, 15, .35); }
.project-card h3 { margin: 0 0 8px; font: 500 24px/1.35 "Songti SC", serif !important; color: #ecebdd !important; letter-spacing: .06em !important; }
.project-card:nth-child(n+3) h3 { font-size: 21px !important; }
.card-en { margin: 0 0 18px; color: rgba(215, 195, 141, .4); font: 9px/1.5 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.card-desc { margin: 0; max-width: 520px; color: rgba(220, 230, 220, .56); font-size: 12px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: #dcd5b9; text-decoration: none; border: 0; border-bottom: 1px solid rgba(215, 195, 141, .25); padding: 0 0 6px; background: none; font-size: 11px; letter-spacing: .08em; cursor: pointer; transition: gap .3s, color .3s, border-color .3s; }
.card-link:hover { gap: 16px; color: #fff0bf; border-color: var(--gold); }
/* 整卡可点：鼠标落在卡片任意位置都能进入对应项目 */
.project-card.is-clickable { cursor: pointer; }
.project-card.is-clickable:hover .card-link,
.project-card.is-clickable:focus-within .card-link { gap: 16px; color: #fff0bf; border-color: var(--gold); }
.card-watermark { position: absolute; z-index: 1; right: 14px; top: 52px; color: rgba(206, 216, 187, .035); font: 400 150px/1 "Songti SC", serif; pointer-events: none; transition: color .5s, transform .7s var(--ease-ink); }
.project-card:hover .card-watermark { color: rgba(215, 195, 141, .065); transform: translate(-5px, 4px) rotate(-4deg); }
.card-landscape { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 65%; opacity: .13; color: #b4c3a8; pointer-events: none; }
.card-landscape path { fill: none; stroke: currentColor; stroke-width: .8; vector-effect: non-scaling-stroke; }
.card-sheen { position: absolute; z-index: 2; top: -100%; left: -35%; width: 24%; height: 300%; background: linear-gradient(90deg, transparent, rgba(238, 229, 192, .055), transparent); transform: rotate(24deg); transition: left 1.1s var(--ease-ink); pointer-events: none; }
.project-card:hover .card-sheen { left: 130%; }
.project-card.featured::after { width: 18px; height: 18px; }

/* 能力长卷 */
.capability-section { padding: 88px 0; }
.capability-scroll { display: grid; grid-template-columns: 1.05fr 1.95fr; min-height: 310px; }
.capability-intro { padding: 40px; border-right: 1px solid var(--line); }
.capability-intro .section-heading { display: block; margin-bottom: 22px; }
.capability-intro p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; max-width: 390px; }
.capability-stat { display: flex; gap: 34px; margin-top: 34px; }
.capability-stat div { display: flex; flex-direction: column; gap: 7px; }
.capability-stat strong { color: var(--gold-bright); font: 400 25px/1 "Songti SC", serif; }
.capability-stat span { color: rgba(220, 230, 220, .4); font-size: 9px; letter-spacing: .14em; }
.capability-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.capability-item { position: relative; padding: 40px 28px; border-right: 1px solid var(--line); overflow: hidden; }
.capability-item:last-child { border-right: 0; }
.capability-item .cap-num { color: rgba(215, 195, 141, .35); font: 9px/1 ui-monospace, monospace; letter-spacing: .16em; }
.capability-item h3 { margin: 60px 0 13px; font: 500 18px/1.4 "Songti SC", serif !important; color: #e6e6d8 !important; letter-spacing: .08em !important; }
.capability-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.capability-item::after { content: attr(data-glyph); position: absolute; right: -5px; top: 20px; color: rgba(215, 195, 141, .035); font: 100px/1 "Songti SC", serif; }

/* 尾章 */
.mythic-cta { position: relative; margin-bottom: 70px; padding: 50px 54px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.mythic-cta h2 { margin: 0 0 12px; font: 500 30px/1.4 "Songti SC", serif !important; color: #ede8d4 !important; letter-spacing: .1em !important; }
.mythic-cta p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.mythic-cta .gold-button { flex-shrink: 0; }
.capability-scroll > *:not(.glass-slab), .mythic-cta > *:not(.glass-slab) { position: relative; z-index: 4; }
.mythic-footer { position: relative; z-index: 2; border-top: 1px solid rgba(215, 195, 141, .1); background: rgba(4, 11, 9, .62); }
.footer-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { color: rgba(232, 232, 216, .7); font: 500 15px/1 "Songti SC", serif; letter-spacing: .16em; }
.footer-meta { color: rgba(220, 230, 220, .32); font-size: 10px; line-height: 1.9; letter-spacing: .06em; text-align: right; }
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { color: var(--gold); }

/* 动效 */
html.js body.mythic-os .m-reveal { opacity: 0; transform: translateY(34px); filter: blur(5px); transition: opacity 1s var(--ease-ink), transform 1s var(--ease-ink), filter 1s var(--ease-ink); transition-delay: var(--delay, 0ms); }
html.js body.mythic-os .m-reveal.is-visible { opacity: 1; transform: none; filter: none; }
@keyframes titleRise { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes softEnter { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes coreBreathe { 50% { opacity: .45; transform: scale(.92); } }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes strokeGlow { 50% { opacity: .42; filter: drop-shadow(0 0 4px #d7c38d); } }
@keyframes dragonFloat { to { transform: translate3d(-8px, 7px, 0) rotate(.5deg); opacity: .62; } }

/* 弹窗适配新视觉 */
body.mythic-os #modalOverlay { background: rgba(2, 8, 6, .82) !important; }
body.mythic-os .welcome-bg, body.mythic-os #wechatModal { background: linear-gradient(150deg, rgba(18, 36, 30, .97), rgba(5, 14, 11, .98)) !important; border-color: rgba(215, 195, 141, .24) !important; border-radius: 6px !important; }
body.mythic-os .mythic-contact-fab button {
    display: flex; align-items: center; gap: 9px;
    height: 40px; padding: 0 14px;
    border: 1px solid rgba(215, 195, 141, .3); border-radius: 2px;
    background: rgba(12, 29, 23, .9) !important;
    color: #ddd3b3; box-shadow: 0 12px 34px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(14px); cursor: pointer;
    transition: border-color .3s, transform .3s, background .3s;
}
body.mythic-os .mythic-contact-fab button span { font-size: 11px; letter-spacing: .12em; }
body.mythic-os .mythic-contact-fab button i { font-size: 16px; }
body.mythic-os .mythic-contact-fab button:hover { transform: translateY(-3px); border-color: rgba(215, 195, 141, .6); background: rgba(28, 49, 39, .95) !important; }

/* 入梦 · 产品导览弹窗 */
.mythic-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 8, 6, .8);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    opacity: 0;
    transition: opacity .5s var(--ease-ink);
}
.mythic-overlay.hidden, .mythic-dialog.hidden { display: none !important; }
.mythic-overlay.is-open { opacity: 1; }
body.modal-open { overflow: hidden; }

.mythic-dialog {
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    padding: 34px 38px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(7px);
    transition: opacity .55s var(--ease-ink), transform .6s var(--ease-ink), filter .6s var(--ease-ink);
}
.mythic-dialog.is-open { opacity: 1; transform: none; filter: none; }
body.mythic-os .mythic-overlay :focus-visible { outline: 1px solid rgba(215, 195, 141, .55); outline-offset: 2px; border-radius: 0; }
body.mythic-os .mythic-overlay .mythic-dialog:focus,
body.mythic-os .mythic-overlay .mythic-dialog:focus-visible { outline: none; }
.mythic-dialog::-webkit-scrollbar { width: 6px; }
.mythic-dialog::-webkit-scrollbar-thumb { background: rgba(215, 195, 141, .22); }
.dialog-inner { position: relative; z-index: 4; }
.dialog-watermark { position: absolute; z-index: 1; right: 26px; top: 4px; color: rgba(206, 216, 187, .045); font: 400 148px/1 "Songti SC", serif; pointer-events: none; }
.dialog-landscape { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; opacity: .12; color: #b4c3a8; pointer-events: none; }
.dialog-landscape path { fill: none; stroke: currentColor; stroke-width: .8; vector-effect: non-scaling-stroke; }

.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.dialog-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; color: rgba(215, 195, 141, .55); font: 500 9px/1 ui-monospace, monospace; letter-spacing: .28em; text-transform: uppercase; }
.dialog-kicker::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--gold-dim); transform: rotate(45deg); }
.dialog-head h2 { margin: 0 0 9px; font: 500 27px/1.3 "Songti SC", "STSong", serif; letter-spacing: .14em; color: #f0ead6; }
.dialog-sub { margin: 0; color: rgba(220, 230, 220, .52); font-size: 12px; letter-spacing: .06em; }
.dialog-close { position: relative; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid rgba(215, 195, 141, .2); background: rgba(8, 18, 15, .4); cursor: pointer; transition: border-color .3s, background .3s, transform .45s var(--ease-ink); }
.dialog-close::before, .dialog-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1px; background: rgba(226, 216, 177, .7); }
.dialog-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dialog-close:hover { border-color: rgba(215, 195, 141, .6); background: rgba(28, 49, 39, .7); transform: rotate(90deg); }

.dialog-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dialog-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 15px 17px; border: 1px solid rgba(198, 211, 185, .13); background: rgba(9, 22, 18, .42); text-decoration: none; overflow: hidden; transition: border-color .4s, background .4s, transform .4s var(--ease-ink); }
.dialog-item::before { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(240, 229, 190, .07), transparent); transition: transform .9s var(--ease-ink); }
.dialog-item:hover { border-color: rgba(215, 195, 141, .45); background: rgba(20, 38, 31, .66); transform: translateY(-2px); }
.dialog-item:hover::before { transform: translateX(120%) skewX(-18deg); }
.dialog-item:focus-visible { outline: 1px solid rgba(215, 195, 141, .7); outline-offset: 2px; }
.dialog-idx { color: rgba(215, 195, 141, .4); font: 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.dialog-name { display: block; min-width: 0; color: #e9e8d9; font: 500 16px/1.35 "Songti SC", serif; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialog-name em { display: block; margin-top: 6px; color: rgba(219, 226, 209, .44); font: normal 11px/1.35 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialog-arrow { color: rgba(215, 195, 141, .45); font-size: 13px; transition: transform .4s var(--ease-ink), color .4s; }
.dialog-item:hover .dialog-arrow { color: var(--gold-bright); transform: translate(2px, -2px); }

.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(215, 195, 141, .12); }

.dialog-contact { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.dialog-qr { width: 46px; height: 46px; flex-shrink: 0; object-fit: cover; padding: 3px; background: rgba(236, 233, 211, .9); border: 1px solid rgba(215, 195, 141, .3); transition: border-color .35s, box-shadow .35s; }
.dialog-contact:hover .dialog-qr { border-color: rgba(215, 195, 141, .6); box-shadow: 0 0 14px rgba(215, 195, 141, .12); }
.dialog-contact-copy { display: block; min-width: 0; }
.dialog-contact-label { display: block; color: rgba(215, 195, 141, .62); font: 500 9px/1 ui-monospace, monospace; letter-spacing: .26em; }
.dialog-contact-id { display: block; margin-top: 6px; color: #e9e4cd; font: 500 13px/1.1 ui-monospace, monospace; letter-spacing: .1em; }
.dialog-contact-hint { display: block; margin-top: 5px; color: rgba(220, 230, 220, .36); font-size: 10px; line-height: 1.4; letter-spacing: .04em; }
.dialog-copy-flag { flex-shrink: 0; padding: 5px 9px; border: 1px solid rgba(202, 215, 191, .16); color: rgba(226, 216, 177, .6); font-size: 10px; letter-spacing: .1em; transition: border-color .3s, color .3s, background .3s; }
.dialog-contact:hover .dialog-copy-flag { border-color: rgba(215, 195, 141, .45); color: #f0e6c8; background: rgba(164, 188, 163, .08); }
.dialog-contact:focus-visible { outline: 1px solid rgba(215, 195, 141, .55); outline-offset: 3px; }

.dialog-timer { position: relative; flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; }
.dialog-timer-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dialog-timer-track { fill: none; stroke: rgba(215, 195, 141, .13); stroke-width: 1.4; }
.dialog-timer-bar { fill: none; stroke: rgba(215, 195, 141, .55); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; }
.mythic-dialog.is-open .dialog-timer-bar { animation: dialogTimer 15s linear forwards; }
.dialog-timer-num { color: rgba(226, 216, 177, .78); font: 500 12px/1 ui-monospace, monospace; letter-spacing: 0; }
@keyframes dialogTimer { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 106.8; } }

.mythic-dialog.is-open .dialog-head, .mythic-dialog.is-open .dialog-foot { animation: softEnter .9s .08s var(--ease-ink) backwards; }
.mythic-dialog.is-open .dialog-item { animation: dialogItemIn .85s var(--ease-ink) backwards; animation-delay: calc(.12s + var(--i) * .06s); }
@keyframes dialogItemIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 820px) {
    .mythic-dialog { padding: 26px 24px 20px; max-height: calc(100vh - 32px); }
    .dialog-head h2 { font-size: 23px; }
    .dialog-watermark { font-size: 116px; }
}

@media (max-width: 600px) {
    .mythic-overlay { padding: 12px; }
    .mythic-dialog { width: 100%; max-height: calc(100vh - 24px); padding: 22px 18px 18px; }
    .dialog-head { padding-bottom: 16px; }
    .dialog-grid { grid-template-columns: 1fr; gap: 8px; }
    .dialog-item { padding: 12px 13px; gap: 12px; }
    .dialog-name { font-size: 15px; }
    .dialog-name em { margin-top: 5px; font-size: 10.5px; letter-spacing: .03em; }
    .dialog-watermark { right: 8px; top: 4px; font-size: 96px; }
    .dialog-foot { flex-direction: row; align-items: center; gap: 12px; flex-wrap: nowrap; }
    .dialog-qr { width: 42px; height: 42px; }
    .dialog-copy-flag { display: none; }
    .dialog-contact-hint { font-size: 9px; }
    .dialog-timer { width: 36px; height: 36px; }
    .dialog-timer-num { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .mythic-overlay, .mythic-dialog { transition: none; }
    .mythic-dialog.is-open .dialog-head, .mythic-dialog.is-open .dialog-foot, .mythic-dialog.is-open .dialog-item { animation: none; }
    .dialog-close:hover { transform: none; }
}

@media (max-width: 1180px) {
    .mythic-shell { width: min(100% - 40px, 1120px); }
    .mythic-links { gap: 22px; }
    .hero-primary { padding: 42px 38px; }
    .hero-content { width: 74%; }
    .hero-orbit { right: -190px; }
    .project-card:nth-child(n+3) { grid-column: span 6; }
    .capability-scroll { grid-template-columns: 1fr; }
    .capability-intro { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
    .mythic-nav { height: 66px; }
    .mythic-nav-inner { gap: 16px; }
    .mythic-links { display: none; }
    .nav-enter { margin-left: auto; }
    .mythic-main { padding-top: 88px; }
    .mythic-hero-grid { grid-template-columns: 1fr; }
    .hero-primary, .hero-side { min-height: 390px; }
    .hero-side { min-height: 320px; }
    .dragon-art { width: 70%; right: -4%; top: -12%; }
    .side-copy { max-width: 55%; }
    .section-heading { align-items: flex-start; }
    .section-heading > p { display: none; }
    .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 12; }
    .mythic-cta { padding: 38px; }
}

@media (max-width: 600px) {
    .mythic-shell { width: calc(100% - 24px); }
    .brand-seal { width: 39px; height: 39px; font-size: 17px; }
    .brand-word strong { font-size: 17px; }
    .brand-word small { display: none; }
    .nav-enter { padding: 9px 12px; gap: 8px; font-size: 10px; }
    .mythic-main { padding-top: 82px; }
    .mythic-hero-grid, .project-grid { gap: 10px; }
    .hero-primary { min-height: 480px; padding: 38px 25px; align-items: flex-start; }
    .hero-content { width: 100%; }
    .hero-title { font-size: clamp(37px, 11vw, 52px) !important; letter-spacing: .04em !important; }
    .hero-subtitle { font-size: 12px; max-width: 92%; }
    .hero-orbit { width: 380px; height: 380px; right: -150px; top: 150px; opacity: .5; }
    .hero-light-stroke { top: 34%; right: -30%; width: 120%; }
    .hero-actions { align-items: stretch; flex-direction: column; width: 190px; }
    .gold-button, .ghost-button { gap: 16px; }
    .hero-coordinate { display: none; }
    .hero-side { min-height: 340px; padding: 25px; }
    .dragon-art { width: 100%; right: -27%; top: -6%; opacity: .4; }
    .side-copy { max-width: 82%; }
    .side-copy h2 { font-size: 21px !important; }
    .project-section { padding-top: 56px; }
    .section-heading-left { gap: 12px; }
    .section-heading h2 { font-size: 23px !important; }
    .section-index { display: none; }
    .project-card, .project-card:nth-child(1), .project-card:nth-child(2), .project-card:nth-child(n+3) { grid-column: span 12; min-height: 282px; padding: 22px; }
    .card-top { margin-bottom: 28px; }
    .card-bottom { align-items: flex-start; flex-direction: column; }
    .card-watermark { font-size: 120px; }
    .capability-section { padding: 64px 0; }
    .capability-intro { padding: 28px 24px; }
    .capability-list { grid-template-columns: 1fr; }
    .capability-item { padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
    .capability-item:last-child { border-bottom: 0; }
    .capability-item h3 { margin-top: 30px; }
    .mythic-cta { margin-bottom: 40px; padding: 32px 25px; align-items: flex-start; flex-direction: column; }
    .mythic-cta h2 { font-size: 24px !important; }
    .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; }
    .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .mythic-world::before, .ink-mist, .orbit-ring, .orbit-core, .dragon-art, .side-number i { animation: none !important; }
    .hero-title .title-line > span, .hero-subtitle, .hero-tags, .hero-actions, .side-copy { animation: none !important; }
    .hero-light-stroke path { stroke-dashoffset: 0; animation: none !important; }
    html.js body.mythic-os .m-reveal { opacity: 1; transform: none; filter: none; }
    .project-card { transition: none; }
}
