:root {
    --bg: #07080d;
    --bg-soft: #0c0f16;
    --surface: rgba(18, 22, 32, 0.72);
    --surface-strong: rgba(26, 31, 43, 0.86);
    --surface-muted: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f4f1e9;
    --text-soft: #b9b4aa;
    --text-muted: #777b86;
    --gold: #e7bf78;
    --gold-deep: #a97734;
    --cyan: #72e4ff;
    --blue: #7c8dff;
    --rose: #ff668a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --max: 1180px;
    --nav-height: 76px;
    --radius: 8px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sans: var(--font-body);
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text-soft);
    background:
        radial-gradient(circle at 20% 0%, rgba(231, 191, 120, 0.11), transparent 28rem),
        radial-gradient(circle at 85% 12%, rgba(114, 228, 255, 0.08), transparent 30rem),
        linear-gradient(180deg, #07080d 0%, #090b11 48%, #07080d 100%);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.018), transparent 28%, rgba(255,255,255,0.014));
    mix-blend-mode: screen;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    color: #0a0b10;
    background: var(--gold);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    transform: translateY(-140%);
    padding: 10px 14px;
    color: #090b11;
    background: var(--gold);
    border-radius: var(--radius);
    font-weight: 700;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
}

.section-shell {
    position: relative;
    padding: 128px 0;
}

.section-header {
    display: grid;
    gap: 14px;
    max-width: 780px;
    margin-bottom: 48px;
}

.section-kicker,
.eyebrow {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--cyan);
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 600;
    line-height: 0.95;
}

.section-intro {
    max-width: 660px;
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
}

.button {
    --x: 0px;
    --y: 0px;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
    transform: translate3d(var(--x), var(--y), 0);
    transition: transform 0.45s var(--ease), border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button-primary {
    color: #0a0b10;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), #f7d99e);
    box-shadow: 0 16px 44px rgba(231, 191, 120, 0.18);
}

.button-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
}

.button:hover,
.contact-link:hover,
.project-actions a:hover {
    border-color: rgba(231, 191, 120, 0.55);
}

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(7, 8, 13, 0.66);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.28s ease, border-color 0.28s ease;
}

.nav.scrolled {
    background: rgba(7, 8, 13, 0.88);
    border-bottom-color: var(--line);
}

.nav-container {
    width: min(100% - 40px, var(--max));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.logo-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(231, 191, 120, 0.36);
    border-radius: 12px;
    color: var(--gold);
    background:
        radial-gradient(circle at 45% 15%, rgba(255,255,255,0.18), transparent 38%),
        linear-gradient(160deg, rgba(231,191,120,0.16), rgba(117,217,255,0.055));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 32px rgba(0,0,0,0.22);
}

.logo-mark svg {
    width: 19px;
    height: 19px;
}

.logo-blade {
    fill: currentColor;
    opacity: 0.96;
}

.logo-guard {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: grid;
    place-items: center;
    background: rgba(7, 8, 13, 0.94);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: grid;
    gap: 22px;
    text-align: center;
}

.mobile-menu-link {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
}

.hero {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding: calc(var(--nav-height) + 42px) 0 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.54;
    transform: translateZ(0);
}

.ambient-one {
    width: 520px;
    height: 520px;
    left: 6%;
    top: 10%;
    background: rgba(231, 191, 120, 0.17);
    animation: float-one 9s ease-in-out infinite;
}

.ambient-two {
    width: 620px;
    height: 620px;
    right: -12%;
    bottom: -8%;
    background: rgba(114, 228, 255, 0.12);
    animation: float-two 11s ease-in-out infinite;
}

.circuit-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 48%, rgba(114, 228, 255, 0.12) 49%, transparent 50% 100%),
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), transparent 22rem);
    opacity: 0.42;
    mask-image: radial-gradient(circle at 60% 42%, black 0%, transparent 70%);
}

.scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    height: 24%;
    transform: translateY(-100%);
    animation: scan 8s linear infinite;
    opacity: 0.26;
}

@keyframes float-one {
    50% { transform: translate(48px, 32px) scale(1.04); }
}

@keyframes float-two {
    50% { transform: translate(-38px, -24px) scale(1.06); }
}

@keyframes scan {
    to { transform: translateY(520%); }
}

.hero-layout {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.hero-title {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 600;
    line-height: 1.04;
}

.hero-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    line-height: 0.92;
}

.hero-name-main {
    display: inline-block;
}

.motion-char {
    display: inline-block;
    transform-origin: 50% 80%;
}

.hero-name-main .motion-char {
    background: linear-gradient(180deg, #fffaf0 0%, #d9d2c5 58%, #8d8790 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-alias {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(231, 191, 120, 0.35);
    border-radius: 999px;
    color: var(--gold);
    background:
        linear-gradient(135deg, rgba(231, 191, 120, 0.18), rgba(117, 217, 255, 0.06)),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 16px 40px rgba(0, 0, 0, 0.22);
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.35vw, 18px);
    font-weight: 800;
    letter-spacing: 0;
}

.hero-roman {
    display: block;
    margin-top: 28px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 241, 233, 0.52);
    font-size: clamp(24px, 3.3vw, 44px);
}

.hero-name-note {
    max-width: 560px;
    margin: -6px 0 0;
    color: rgba(244, 241, 233, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

.hero-signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 620px;
}

.hero-signal-row span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 999px;
    padding: 5px 10px;
    color: rgba(244, 241, 233, 0.72);
    background: rgba(255,255,255,0.035);
    font-family: var(--font-mono);
    font-size: 11px;
}

.hero-subtitle {
    max-width: 660px;
    margin: 0;
    color: var(--text);
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.hero-subtitle span {
    display: block;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 640px;
}

.hero-metrics div,
.hero-console,
.profile-panel,
.capability-card,
.featured-project,
.project-card,
.honor-card,
.contact-panel {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.hero-metrics div {
    padding: 16px;
    border-radius: var(--radius);
}

.metric-value {
    display: block;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
}

.metric-label {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.45;
}

.hero-console {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
}

.hero-console::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(231,191,120,0.16), transparent 18rem);
}

.console-topbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.console-topbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line-strong);
}

.console-topbar span:nth-child(1) { background: var(--rose); }
.console-topbar span:nth-child(2) { background: var(--gold); }
.console-topbar span:nth-child(3) { background: var(--cyan); }

.console-topbar strong {
    margin-left: auto;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
}

.console-body {
    position: relative;
    display: grid;
    gap: 1px;
    padding: 18px;
}

.console-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    font-family: var(--font-mono);
    font-size: 12px;
}

.console-row span {
    color: var(--text-muted);
}

.console-row strong {
    color: var(--text);
    font-weight: 500;
}

.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.stage-tags span {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    color: rgba(244, 241, 233, 0.88);
    background: rgba(255,255,255,0.04);
    font-family: var(--font-mono);
    font-size: 10px;
}

.stage-tags span:nth-child(2) {
    border-color: rgba(231,191,120,0.28);
    color: var(--gold);
}

.console-row.live strong {
    color: var(--cyan);
}

.console-card {
    position: relative;
    margin: 0 18px 18px;
    padding: 16px;
    border: 1px solid rgba(231, 191, 120, 0.22);
    border-radius: var(--radius);
    color: var(--text);
    background: linear-gradient(135deg, rgba(231, 191, 120, 0.1), rgba(114, 228, 255, 0.045));
    font-family: var(--font-mono);
    font-size: 14px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.45; transform: scale(0.72); }
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-indicator svg {
    animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
    50% { transform: translateY(6px); }
}

.about {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025), transparent);
}

.projects {
    padding-bottom: 64px;
}

.life-section {
    padding: 36px 0 86px;
}

.life-section .life-panel {
    margin-top: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.42fr;
    gap: 22px;
    align-items: start;
}

.profile-panel,
.capability-card,
.project-card,
.timeline-card,
.honor-card {
    border-radius: var(--radius);
}

.profile-panel {
    position: sticky;
    top: calc(var(--nav-height) + 26px);
    display: grid;
    gap: 22px;
    padding: 22px;
}

.portrait-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    background: var(--surface-muted);
}

.portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-panel h3,
.capability-card h3,
.project-card h3 {
    margin: 0 0 10px;
    color: var(--text);
    line-height: 1.25;
}

.profile-panel p,
.capability-card p,
.project-card p,
.contact-panel p {
    margin: 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.capability-card {
    position: relative;
    min-height: 240px;
    padding: 24px;
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.25s ease;
}

.capability-card:hover,
.project-card:hover,
.honor-card:hover {
    border-color: rgba(231, 191, 120, 0.36);
    transform: translateY(-6px);
}

.card-index {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.chip-row span,
.project-meta span,
.life-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255,255,255,0.035);
    font-family: var(--font-mono);
    font-size: 11px;
}

.life-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: center;
    margin-top: 22px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(231, 191, 120, 0.16), transparent 18rem),
        radial-gradient(circle at 100% 80%, rgba(121, 223, 255, 0.11), transparent 18rem),
        linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.03));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 28px 80px rgba(0,0,0,0.34);
}

.life-copy h3 {
    max-width: 720px;
    margin: 10px 0 12px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
}

.life-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--text-soft);
    font-size: 16px;
}

.life-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.life-douyin {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(254,44,85,0.12), rgba(37,244,238,0.07)),
        rgba(255,255,255,0.04);
}

.life-douyin img {
    width: 104px;
    height: 104px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    object-fit: cover;
}

.life-douyin span {
    display: block;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    margin-bottom: 4px;
}

.life-douyin strong {
    color: var(--text);
}

.life-douyin p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.featured-project {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 22px;
    padding: 34px;
    border-radius: 12px;
    overflow: hidden;
}

.featured-visual {
    position: relative;
    display: grid;
    min-height: 320px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 50%, rgba(231, 191, 120, 0.2), transparent 11rem),
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}

.featured-visual img {
    width: min(44%, 180px);
    border-radius: 28%;
    box-shadow: 0 26px 60px rgba(0,0,0,0.38);
}

.orbit-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 12px;
}

.featured-copy h3 {
    margin: 18px 0 12px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 70px);
    line-height: 0.95;
}

.project-meta,
.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-actions {
    margin-top: 24px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.project-detail-grid div,
.project-notes span {
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.035);
}

.project-detail-grid div {
    min-height: 86px;
    padding: 10px;
    border-radius: var(--radius);
}

.project-detail-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
}

.project-detail-grid strong {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.45;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: clamp(20px, 2.4vw, 26px);
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.25s ease;
}

.project-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.project-card-head img,
.text-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    object-fit: cover;
}

.text-icon {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--font-mono);
    font-weight: 700;
}

.project-label {
    display: block;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
}

.project-card h3 {
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.08;
}

.project-copy-stack {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    color: rgba(244, 241, 233, 0.68);
}

.project-copy-stack p {
    margin: 0;
    padding-left: 11px;
    border-left: 1px solid rgba(231,191,120,0.34);
    font-size: 13px;
    line-height: 1.58;
}

.project-copy-stack strong {
    color: rgba(244, 241, 233, 0.9);
    font-weight: 800;
}

.project-copy-stack code {
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.project-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.project-notes span {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    color: rgba(244, 241, 233, 0.78);
    font-family: var(--font-mono);
    font-size: 10px;
}

.qr-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.035);
}

.qr-block img {
    width: 68px;
    height: 68px;
    padding: 5px;
    border-radius: var(--radius);
    background: #fff;
}

.qr-block span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.pet-preview {
    width: 100%;
    max-height: 132px;
    margin-top: 12px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #8d8d8d;
}

.project-actions.compact {
    margin-top: 12px;
}

.project-actions.compact a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255,255,255,0.045);
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.honors {
    padding-top: 86px;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.honor-card {
    min-height: 142px;
    padding: 18px;
    transition: transform 0.45s var(--ease), border-color 0.25s ease;
}

.honor-card span {
    display: block;
    margin-bottom: 16px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
}

.honor-card strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 34px;
    align-items: center;
    padding: 36px;
    border-radius: 12px;
}

.contact-links {
    display: grid;
    gap: 12px;
}

.contact-stack {
    display: grid;
    gap: 14px;
}

.contact-link {
    --x: 0px;
    --y: 0px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255,255,255,0.045);
    font-weight: 700;
    transform: translate3d(var(--x), var(--y), 0);
    transition: transform 0.45s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.contact-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    color: var(--gold);
    background:
        radial-gradient(circle at 30% 20%, rgba(231, 191, 120, 0.18), transparent 58%),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.contact-link[href*="github"] .contact-icon svg {
    fill: currentColor;
    stroke: none;
}

.contact-link:hover {
    background: rgba(255,255,255,0.065);
}

.contact-link:hover .contact-icon {
    color: var(--cyan);
    border-color: rgba(117, 217, 255, 0.34);
    background:
        radial-gradient(circle at 30% 20%, rgba(117, 217, 255, 0.2), transparent 58%),
        rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.douyin-contact {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(254, 44, 85, 0.1), rgba(37, 244, 238, 0.055)),
        rgba(255,255,255,0.035);
}

.douyin-contact img {
    width: 96px;
    height: 96px;
    padding: 5px;
    border-radius: var(--radius);
    background: #fff;
    object-fit: cover;
}

.douyin-contact span {
    display: block;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    margin-bottom: 3px;
}

.douyin-contact strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

.douyin-contact p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
}

.footer p {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.gsap-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.gsap-motion .hero-copy,
.gsap-motion .hero-stage,
.gsap-motion .featured-project,
.gsap-motion .showcase-rail,
.gsap-motion .project-card,
.gsap-motion .contact-panel {
    will-change: transform, opacity;
}

.gsap-motion .motion-char,
.gsap-motion .hero-signal-row span,
.gsap-motion .hero-metrics > div {
    will-change: transform, opacity;
}

.cursor-aura {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 240px;
    height: 240px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 228, 255, 0.12), transparent 62%);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.2s ease;
    mix-blend-mode: screen;
}

/* Apple keynote polish layer */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1400;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f6dba4, #79dfff, #ffffff);
    box-shadow: 0 0 26px rgba(121, 223, 255, 0.42);
    transform: scaleX(0);
    transform-origin: left;
}

body {
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.13), transparent 30rem),
        radial-gradient(ellipse at 72% 18%, rgba(94, 189, 255, 0.12), transparent 34rem),
        radial-gradient(ellipse at 18% 26%, rgba(231, 191, 120, 0.12), transparent 30rem),
        linear-gradient(180deg, #020306 0%, #08090f 45%, #020306 100%);
}

.hero {
    min-height: 100dvh;
}

.hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
    gap: clamp(42px, 6vw, 82px);
}

.hero-copy {
    gap: 20px;
}

.eyebrow,
.section-kicker {
    color: rgba(126, 226, 255, 0.9);
}

.hero-title {
    max-width: 640px;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.04;
    background: linear-gradient(180deg, #fffaf0 0%, #d9d2c5 56%, #7d7b83 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 28px 80px rgba(255, 255, 255, 0.12);
}

.hero-roman {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.36);
    text-shadow: none;
}

.hero-subtitle {
    max-width: 590px;
    color: rgba(255, 250, 240, 0.92);
    font-size: clamp(18px, 2.2vw, 25px);
}

.hero-metrics div {
    background:
        linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035)),
        rgba(255,255,255,0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 55px rgba(0,0,0,0.26);
    transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.hero-metrics div:hover {
    border-color: rgba(255,255,255,0.24);
    transform: translateY(-5px);
}

.hero-stage {
    isolation: isolate;
    min-height: 610px;
    padding-top: 330px;
    perspective: 1000px;
    transform-style: preserve-3d;
    opacity: var(--stage-fade, 1);
    transform: translateY(var(--stage-lift, 0));
}

.hero-stage:hover {
    border-color: rgba(126, 226, 255, 0.24);
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: 14%;
    z-index: -3;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 223, 255, 0.22), transparent 62%);
    filter: blur(28px);
}

.blade-stage {
    --blade-rotate: 0deg;
    --blade-tilt: -8deg;
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 0;
    display: grid;
    width: min(86%, 430px);
    height: 370px;
    place-items: center;
    cursor: grab;
    perspective: 900px;
    touch-action: pan-y;
    transform: translateX(-50%);
}

.blade-stage.is-dragging {
    cursor: grabbing;
}

.blade-aura,
.blade-orbit {
    position: absolute;
    pointer-events: none;
}

.blade-aura {
    inset: 4% 0 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 25%, rgba(255,255,255,0.2), transparent 10%),
        radial-gradient(circle at 50% 42%, rgba(117,217,255,0.2), transparent 36%),
        radial-gradient(circle at 50% 58%, rgba(255,255,255,0.06), transparent 62%);
    filter: blur(6px);
    opacity: 0.78;
}

.blade-orbit {
    inset: 12% 5% 3%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.13);
    background:
        conic-gradient(from 120deg, transparent, rgba(255,255,255,0.22), transparent 30%, rgba(117,217,255,0.38), transparent 68%),
        radial-gradient(circle, rgba(255,255,255,0.05), transparent 58%);
    box-shadow: inset 0 0 80px rgba(255,255,255,0.045), 0 34px 90px rgba(0,0,0,0.44);
    transform: rotateX(68deg) rotateZ(-10deg);
    animation: blade-orbit-drift 18s linear infinite;
    mask-image: radial-gradient(ellipse, transparent 47%, black 49%);
}

.blade-object {
    position: relative;
    width: 230px;
    height: 500px;
    display: grid;
    place-items: center;
    transform: rotateX(var(--blade-tilt)) rotateY(var(--blade-rotate)) translateZ(20px);
    transform-style: preserve-3d;
    filter: drop-shadow(0 34px 38px rgba(0,0,0,0.5));
    transition: filter 0.35s ease;
    will-change: transform;
}

.blade-object::before {
    content: "";
    position: absolute;
    inset: 6% 28% 6%;
    z-index: -1;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, rgba(117,217,255,0.22), rgba(255,255,255,0.26), rgba(255,255,255,0.08), transparent),
        radial-gradient(ellipse, rgba(231,191,120,0.18), transparent 64%);
    filter: blur(24px);
    opacity: 0.62;
    transform: translateZ(-45px) rotateZ(6deg);
}

.blade-object::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 18%, rgba(255,255,255,0.5) 43%, transparent 56%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-42%) skewX(-12deg);
    animation: blade-sheen 5.8s ease-in-out infinite;
}

.blade-stage:hover .blade-object {
    filter: drop-shadow(0 36px 45px rgba(0,0,0,0.5)) drop-shadow(0 0 24px rgba(117,217,255,0.14));
}

.kunwu-sword-photo {
    width: auto;
    height: 500px;
    display: block;
    max-width: none;
    filter:
        contrast(1.05)
        saturate(0.96)
        brightness(1.02)
        drop-shadow(0 26px 34px rgba(0,0,0,0.48))
        drop-shadow(0 0 18px rgba(117,217,255,0.12));
    transform: translateY(-30px);
    user-select: none;
    -webkit-user-drag: none;
    opacity: 1;
    transition: filter 0.35s ease, transform 0.35s ease;
    animation: blade-product-breathe 7s ease-in-out infinite;
}

.blade-hint {
    position: absolute;
    bottom: 2px;
    left: 50%;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: rgba(244,241,233,0.5);
    background: rgba(255,255,255,0.035);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.blade-stage:hover .blade-hint {
    opacity: 1;
}

@keyframes blade-orbit-drift {
    to { transform: rotateX(68deg) rotateZ(350deg); }
}

@keyframes blade-product-breathe {
    0%, 100% {
        filter:
            contrast(1.04)
            saturate(0.96)
            brightness(1)
            drop-shadow(0 26px 34px rgba(0,0,0,0.48))
            drop-shadow(0 0 14px rgba(117,217,255,0.1));
    }
    50% {
        filter:
            contrast(1.08)
            saturate(1)
            brightness(1.06)
            drop-shadow(0 30px 40px rgba(0,0,0,0.52))
            drop-shadow(0 0 22px rgba(117,217,255,0.18));
    }
}

@keyframes blade-sheen {
    0%, 46%, 100% { opacity: 0; transform: translateX(-48%) skewX(-12deg); }
    54% { opacity: 0.52; }
    68% { opacity: 0; transform: translateX(42%) skewX(-12deg); }
}

.stage-caption {
    margin: 0 18px 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.045);
}

.stage-timeline {
    position: absolute;
    right: 18px;
    top: 96px;
    display: grid;
    gap: 46px;
    opacity: 0.75;
}

.stage-timeline span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(126, 226, 255, 0.82);
    box-shadow: 0 0 22px rgba(126, 226, 255, 0.45);
}

.stage-timeline::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 1px;
    height: calc(100% - 12px);
    background: linear-gradient(180deg, rgba(126,226,255,0.6), rgba(231,191,120,0.36));
}

.stage-caption span {
    display: block;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    margin-bottom: 5px;
}

.stage-caption strong {
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
}

.section-shell {
    --cinema-y: 0px;
    --cinema-scale: 1;
    --cinema-presence: 1;
}

.section-header,
.profile-grid,
.featured-project,
.showcase-rail,
.honors-grid,
.contact-panel {
    transform: translateY(var(--cinema-y)) scale(var(--cinema-scale));
    transform-origin: center top;
    transition: transform 0.24s linear;
}

.section-shell::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 16%;
    z-index: -1;
    width: min(70vw, 860px);
    height: 360px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.055), transparent 66%);
    opacity: calc(var(--cinema-presence) * 0.85);
    transform: translateX(-50%);
    filter: blur(18px);
}

.featured-project,
.showcase-rail,
.contact-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.032)),
        rgba(255,255,255,0.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.11), 0 32px 90px rgba(0,0,0,0.42);
}

.featured-project::before,
.showcase-rail::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 22%, rgba(255,255,255,0.09) 42%, transparent 58%);
    transform: translateX(-75%);
    transition: transform 0.9s var(--ease);
}

.featured-project:hover::before,
.showcase-rail:hover::before,
.contact-panel:hover::before {
    transform: translateX(75%);
}

.featured-project {
    grid-template-columns: minmax(300px, 0.88fr) 1fr;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 18px;
}

.featured-visual {
    min-height: 390px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 8rem),
        radial-gradient(circle at 50% 50%, rgba(231, 191, 120, 0.19), transparent 17rem),
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
}

.featured-visual img {
    width: min(48%, 210px);
    transform: translateZ(35px);
    transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.featured-project:hover .featured-visual img {
    filter: drop-shadow(0 30px 48px rgba(121, 223, 255, 0.18));
    transform: translateY(-8px) scale(1.03);
}

.showcase-rail {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.projects-grid {
    position: relative;
    z-index: 1;
}

.project-card {
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 50%;
    min-height: 440px;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.12), transparent 14rem),
        linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.03));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 60px rgba(0,0,0,0.34);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0);
    transform-style: preserve-3d;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,0.16) 45%, transparent 60%);
    opacity: 0;
    transform: translateX(-80%);
    transition: opacity 0.4s ease, transform 0.8s var(--ease);
}

.project-card:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 34px 90px rgba(0,0,0,0.5);
}

.project-card:hover::after {
    opacity: 1;
    transform: translateX(70%);
}

.project-card-head,
.project-card p,
.project-copy-stack,
.qr-block,
.pet-preview,
.project-actions {
    position: relative;
    z-index: 1;
}

.contact-panel {
    border-radius: 18px;
}

.cursor-aura {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.14), rgba(121,223,255,0.08) 34%, transparent 68%);
}

/* Premium editorial issue layer */
.hero::before {
    content: "KUNWU";
    position: absolute;
    left: 50%;
    top: 47%;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
    font-family: var(--font-body);
    font-size: clamp(108px, 19vw, 292px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8%;
    z-index: -1;
    width: min(72vw, 880px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    box-shadow: 0 0 80px rgba(231, 191, 120, 0.24);
    transform: translateX(-50%);
}

.hero-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.96fr);
    align-items: center;
}

.hero-copy {
    max-width: 690px;
}

.hero-edition {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 600px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.026);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-edition span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: rgba(244, 241, 233, 0.74);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
}

.hero-edition span:first-child {
    color: #08090f;
    background: linear-gradient(135deg, #fff7df, #e7bf78);
}

.hero-title {
    display: grid;
    gap: 12px;
    max-width: 620px;
    font-family: var(--font-body);
    font-size: clamp(38px, 4.6vw, 66px);
    font-weight: 800;
    line-height: 0.98;
}

.hero-name-row {
    display: grid;
    justify-items: start;
    gap: 12px;
    line-height: 1;
}

.hero-name-main {
    letter-spacing: 0;
    line-height: 0.95;
}

.hero-alias {
    order: -1;
    min-height: 38px;
    margin-bottom: 0;
    padding: 6px 13px;
    border-radius: 10px;
    font-size: clamp(15px, 1.5vw, 19px);
}

.hero-roman {
    margin-top: 0;
    font-family: var(--font-mono);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 500;
    -webkit-text-stroke: 0;
    color: rgba(244, 241, 233, 0.58);
}

.hero-subtitle {
    max-width: 620px;
    font-size: clamp(18px, 1.65vw, 23px);
    line-height: 1.5;
    font-weight: 650;
}

.hero-dossier {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-dossier div {
    display: grid;
    grid-template-columns: 42px 120px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.075);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-dossier div:last-child {
    border-bottom: 0;
}

.metric-index {
    color: rgba(126, 226, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 11px;
}

.hero-dossier .metric-value {
    color: var(--text);
    font-size: 12px;
    text-transform: uppercase;
}

.hero-dossier .metric-label {
    margin: 0;
    color: rgba(244, 241, 233, 0.72);
}

.hero-artifact {
    min-height: 752px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-artifact::before {
    content: "";
    position: absolute;
    inset: 8% 3% 4%;
    z-index: -2;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 32%, rgba(255,255,255,0.14), transparent 17%),
        radial-gradient(circle at 50% 46%, rgba(126,226,255,0.14), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.012));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 50px 110px rgba(0,0,0,0.48);
}

.hero-artifact::after {
    inset: 22% 4% 10%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(231,191,120,0.18), transparent 42%),
        radial-gradient(circle, rgba(126,226,255,0.14), transparent 64%);
    filter: blur(26px);
}

.artifact-label span {
    color: rgba(126,226,255,0.78);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
}

.artifact-label span {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
}

.hero-artifact .blade-stage {
    top: 42px;
    width: min(90%, 500px);
    height: 468px;
}

.hero-artifact .blade-aura {
    filter: blur(10px);
    opacity: 0.92;
}

.hero-artifact .blade-orbit {
    inset: 21% 0 5%;
    border-color: rgba(255,255,255,0.17);
    opacity: 0.9;
}

.hero-artifact .blade-object {
    width: 222px;
    height: 530px;
    transform: rotateX(var(--blade-tilt)) rotateY(var(--blade-rotate)) rotateZ(-1.8deg) translateZ(58px);
}

.hero-artifact .blade-object::before {
    inset: 4% 20% 8%;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,0.14), rgba(126,226,255,0.22), transparent),
        radial-gradient(ellipse, rgba(231,191,120,0.18), transparent 62%);
    filter: blur(30px);
    transform: translateZ(-70px) rotateZ(8deg);
}

.hero-artifact .kunwu-sword-photo {
    height: 508px;
    transform: translateY(-34px);
    filter:
        contrast(1.1)
        saturate(0.98)
        brightness(1.05)
        drop-shadow(10px 28px 28px rgba(0,0,0,0.58))
        drop-shadow(-12px 0 0 rgba(255,255,255,0.045))
        drop-shadow(12px 0 0 rgba(0,0,0,0.32))
        drop-shadow(0 0 24px rgba(126,226,255,0.13));
}

.hero-artifact .console-topbar,
.hero-artifact .console-body,
.hero-artifact .stage-caption {
    position: relative;
    z-index: 2;
    width: min(88%, 470px);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255,255,255,0.105);
    background: rgba(6, 8, 12, 0.52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.32);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-artifact .console-topbar {
    margin-top: 560px;
    justify-content: space-between;
    border-radius: 14px 14px 0 0;
}

.hero-artifact .console-topbar strong {
    margin-left: 0;
    color: rgba(244, 241, 233, 0.86);
}

.hero-artifact .console-body {
    padding: 6px 18px 10px;
    border-top: 0;
    border-radius: 0;
}

.hero-artifact .stage-caption {
    margin-top: 0;
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

.project-ledger {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: -18px 0 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.project-ledger span {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: rgba(244, 241, 233, 0.72);
    font-size: 13px;
    font-weight: 650;
}

.project-ledger span:last-child {
    border-right: 0;
}

.project-ledger strong {
    color: rgba(126,226,255,0.8);
    font-family: var(--font-mono);
    font-size: 11px;
}

.project-number {
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.14);
    font-family: var(--font-body);
    font-size: clamp(52px, 8vw, 112px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.featured-project .project-number {
    right: 30px;
    top: 24px;
    font-size: clamp(82px, 12vw, 156px);
}

.featured-copy,
.featured-visual,
.project-card-head,
.project-card p,
.project-notes,
.project-copy-stack,
.qr-block,
.pet-preview,
.project-actions {
    position: relative;
    z-index: 1;
}

.featured-project {
    border-radius: 24px;
}

.showcase-rail {
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.022)),
        rgba(255,255,255,0.025);
}

.project-card {
    border-radius: 18px;
}

@media (max-width: 1080px) {
    .hero-layout,
    .profile-grid,
    .featured-project,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        position: relative;
        top: auto;
    }

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

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

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

    .project-ledger span:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    :root {
        --nav-height: 66px;
    }

    body {
        font-size: 15px;
    }

    .container,
    .nav-container,
    .hero-layout {
        width: min(100% - 28px, var(--max));
    }

    .section-shell {
        padding: 86px 0;
    }

    .nav-logo span:last-child {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 34px);
    }

    .hero-layout {
        gap: 34px;
    }

    .hero-title {
        font-size: clamp(42px, 13vw, 62px);
    }

    .hero-name-row {
        gap: 9px;
    }

    .hero-alias {
        min-height: 32px;
        margin-bottom: 6px;
        padding: 5px 10px;
        font-size: 14px;
    }

    .hero-roman {
        font-size: clamp(24px, 7.5vw, 34px);
    }

    .hero-name-note {
        max-width: 330px;
        margin-top: -6px;
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-subtitle {
        max-width: 330px;
        font-size: 18px;
        line-height: 1.45;
        word-break: normal;
    }

    .hero-stage {
        width: 100%;
        max-width: 100%;
        min-height: 500px;
        padding-top: 250px;
    }

    .hero::before {
        top: 35%;
        font-size: clamp(78px, 22vw, 140px);
    }

    .hero-edition {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 14px;
    }

    .hero-edition span {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .hero-title {
        line-height: 1.08;
    }

    .hero-name-row {
        line-height: 1.05;
    }

    .hero-roman {
        margin-top: 0;
        font-size: clamp(20px, 6.6vw, 28px);
        line-height: 1.1;
    }

    .hero-dossier div {
        grid-template-columns: 34px 96px 1fr;
        gap: 8px;
    }

    .hero-artifact {
        min-height: 678px;
        padding: 0;
    }

    .hero-artifact::before {
        inset: 7% 0 5%;
    }

    .blade-stage {
        top: 12px;
        width: min(92%, 320px);
        height: 280px;
    }

    .blade-object {
        width: 164px;
        height: 352px;
    }

    .kunwu-sword-photo {
        height: 352px;
    }

    .hero-artifact .blade-stage {
        top: 54px;
        width: min(96%, 360px);
        height: 330px;
    }

    .hero-artifact .blade-object {
        width: 152px;
        height: 370px;
    }

    .hero-artifact .kunwu-sword-photo {
        height: 360px;
        transform: translateY(-24px);
    }

    .hero-artifact .console-topbar {
        margin-top: 428px;
    }

    .hero-artifact .console-topbar,
    .hero-artifact .console-body,
    .hero-artifact .stage-caption {
        width: 100%;
    }

    .stage-timeline {
        display: none;
    }

    .blade-hint {
        display: none;
    }

    .hero-metrics,
    .capability-grid,
    .project-detail-grid,
    .projects-grid,
    .honors-grid {
        grid-template-columns: 1fr;
    }

    .life-panel {
        grid-template-columns: 1fr;
    }

    .life-douyin {
        grid-template-columns: 86px 1fr;
    }

    .life-douyin img {
        width: 86px;
        height: 86px;
    }

    .console-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .featured-project,
    .contact-panel {
        padding: 22px;
    }

    .projects {
        padding-bottom: 48px;
    }

    .life-section {
        padding: 28px 0 70px;
    }

    .featured-visual {
        min-height: 240px;
    }

    .project-card {
        min-height: auto;
    }

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

    .project-ledger span,
    .project-ledger span:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .project-ledger span:last-child {
        border-bottom: 0;
    }

    .contact-link {
        justify-content: flex-start;
        overflow-wrap: anywhere;
    }

    .douyin-contact {
        grid-template-columns: 82px 1fr;
    }

    .douyin-contact img {
        width: 82px;
        height: 82px;
    }
}

/* Apple Keynote product-showcase redesign layer */
main {
    display: flex;
    flex-direction: column;
}

.hero { order: 1; }
.projects { order: 2; }
.about { order: 3; }
.life-section { order: 4; }
.honors { order: 5; }
.contact { order: 6; }

.hero {
    min-height: 100svh;
    padding: calc(var(--nav-height) + 30px) 0 58px;
    background:
        radial-gradient(circle at 72% 44%, rgba(138, 222, 255, 0.15), transparent 29rem),
        radial-gradient(circle at 30% 38%, rgba(238, 194, 119, 0.11), transparent 30rem),
        linear-gradient(180deg, rgba(255,255,255,0.018), transparent 45%);
}

.hero::before {
    content: "PRODUCT ENGINEER";
    top: 54%;
    width: min(100% - 40px, 1180px);
    color: rgba(255,255,255,0.018);
    -webkit-text-stroke: 1px rgba(255,255,255,0.038);
    font-size: clamp(48px, 9.2vw, 132px);
    letter-spacing: 0;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    bottom: 6%;
    width: min(82vw, 1080px);
    opacity: 0.75;
}

.hero-layout {
    width: min(100% - 48px, 1240px);
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 0.9fr);
    gap: clamp(44px, 7vw, 110px);
}

.hero-copy {
    gap: 18px;
}

.eyebrow {
    color: rgba(141, 231, 255, 0.88);
}

.hero-edition {
    max-width: 520px;
    padding: 5px;
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
}

.hero-edition span {
    min-height: 25px;
    font-size: 10px;
}

.hero-title {
    max-width: 520px;
    gap: 10px;
    font-size: clamp(40px, 4.4vw, 64px);
    letter-spacing: 0;
}

.hero-name-main {
    color: #f7f2e7;
    text-shadow: 0 18px 60px rgba(255,255,255,0.16);
}

.hero-alias {
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255,235,184,0.22), rgba(117,217,255,0.06)),
        rgba(255,255,255,0.045);
}

.hero-roman {
    color: rgba(247, 242, 231, 0.54);
}

.hero-name-note {
    max-width: 540px;
    color: rgba(247,242,231,0.62);
}

.hero-subtitle {
    max-width: 560px;
    font-size: clamp(20px, 1.75vw, 26px);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hero-dossier {
    max-width: 560px;
}

.hero-artifact {
    min-height: 704px;
    transform-origin: center;
}

.hero-artifact::before {
    inset: 4% 0 7%;
    border-radius: 46% 46% 42% 42% / 39% 39% 24% 24%;
    background:
        radial-gradient(circle at 50% 25%, rgba(255,255,255,0.17), transparent 13%),
        radial-gradient(circle at 50% 43%, rgba(126,226,255,0.17), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.014));
}

.hero-artifact .blade-stage {
    top: 10px;
    width: min(90%, 520px);
    height: 536px;
}

.hero-artifact .blade-object {
    width: 228px;
    height: 548px;
}

.hero-artifact .kunwu-sword-photo {
    height: 528px;
    transform: translateY(0);
}

.hero-artifact .console-topbar {
    margin-top: 556px;
}

.hero-artifact .console-topbar,
.hero-artifact .console-body,
.hero-artifact .stage-caption {
    width: min(84%, 448px);
}

.projects {
    padding-top: 96px;
}

.projects .section-header {
    margin-bottom: 24px;
}

.project-ledger {
    margin: -8px 0 18px;
}

.featured-project {
    grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 36px);
    min-height: auto;
    padding: clamp(24px, 3.2vw, 40px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 25% 40%, rgba(231,191,120,0.16), transparent 17rem),
        radial-gradient(circle at 68% 28%, rgba(120,224,255,0.12), transparent 20rem),
        linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.022));
}

.featured-visual {
    min-height: 250px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,0.22), transparent 7rem),
        radial-gradient(circle at 50% 52%, rgba(231,191,120,0.22), transparent 17rem),
        linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.02));
}

.fit-stage-glow {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: conic-gradient(from 130deg, rgba(231,191,120,0.05), rgba(255,255,255,0.28), rgba(126,226,255,0.11), rgba(231,191,120,0.05));
    filter: blur(4px);
    animation: keynote-spin 18s linear infinite;
}

.featured-visual img {
    width: min(42%, 124px);
    position: relative;
    z-index: 1;
}

.featured-copy h3 {
    font-family: var(--font-body);
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 800;
    letter-spacing: 0;
}

.featured-copy > p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.62;
}

.launch-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.launch-strip span {
    min-height: 58px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: rgba(247,242,231,0.7);
    background: rgba(255,255,255,0.035);
    font-size: 12px;
}

.launch-strip strong {
    display: block;
    margin-bottom: 5px;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 11px;
}

.showcase-rail {
    padding: 12px;
    border-radius: 22px;
}

.project-card {
    min-height: 0;
    border-radius: 18px;
}

.about {
    padding-top: 126px;
}

.profile-grid {
    grid-template-columns: 0.72fr 1.55fr;
}

.capability-card {
    min-height: 218px;
    border-radius: 20px;
}

.card-index {
    margin-bottom: 28px;
}

@keyframes keynote-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
    .hero-layout,
    .featured-project,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .featured-project {
        min-height: auto;
    }

    .launch-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hero-layout {
        width: min(100% - 28px, var(--max));
        gap: 28px;
    }

    .hero::before {
        content: "AI";
        top: 44%;
        font-size: clamp(92px, 34vw, 148px);
    }

    .hero-title {
        font-size: clamp(42px, 12vw, 58px);
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(20px, 6vw, 25px);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-artifact {
        min-height: 638px;
    }

    .hero-artifact .blade-stage {
        top: 20px;
        height: 360px;
    }

    .hero-artifact .blade-object {
        width: 152px;
        height: 360px;
    }

    .hero-artifact .kunwu-sword-photo {
        height: 340px;
        transform: translateY(0);
    }

    .hero-artifact .console-topbar {
        margin-top: 394px;
    }

    .featured-project {
        padding: 22px;
        border-radius: 22px;
    }

    .featured-visual {
        min-height: 260px;
        border-radius: 18px;
    }

    .featured-copy h3 {
        font-size: clamp(40px, 13vw, 58px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .blade-orbit,
    .kunwu-sword-photo,
    .blade-object::after {
        animation: none !important;
    }

    .cursor-aura {
        display: none;
    }
}
