:root {
  --ink: #07131e;
  --ink-soft: #0d2030;
  --steel: #607080;
  --muted: #8b98a3;
  --line: rgba(27, 54, 73, 0.16);
  --paper: #f2f0ea;
  --paper-bright: #fbfaf7;
  --orange: #ff641e;
  --orange-dark: #d84b0a;
  --blue: #2d6cdf;
  --max-width: 1240px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DIN Alternate", "Bahnschrift", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
::selection { color: white; background: var(--orange); }

.page-progress {
  position: fixed; z-index: 1000; inset: 0 auto auto 0; height: 3px; width: 0;
  background: var(--orange); box-shadow: 0 0 14px rgba(255, 100, 30, .55);
}

.site-header {
  height: var(--header-h); padding: 0 max(32px, calc((100vw - var(--max-width)) / 2));
  display: flex; align-items: center; gap: 42px; position: fixed; inset: 0 0 auto;
  z-index: 100; color: white; border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(7, 19, 30, .78); backdrop-filter: blur(18px); transition: height .3s ease, background .3s ease;
}
.site-header.scrolled { height: 68px; background: rgba(7, 19, 30, .94); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; color: var(--orange); }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.brand b { display: block; font-size: 18px; line-height: 1; letter-spacing: .18em; }
.brand small { display: block; margin-top: 5px; color: #91a0ad; font-size: 8px; letter-spacing: .17em; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a { color: #c0c9d0; font-size: 13px; letter-spacing: .06em; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.header-contact { padding: 10px 0; color: white; font-size: 13px; border-bottom: 1px solid var(--orange); }
.header-contact span { margin-left: 14px; color: var(--orange); }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  min-height: 940px; position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .62fr);
  grid-template-rows: 1fr auto; column-gap: 80px; padding: 190px max(32px, calc((100vw - var(--max-width)) / 2)) 0;
  color: white; background: var(--ink); overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 73% 40%, rgba(45,108,223,.15), transparent 31%), linear-gradient(115deg, transparent 55%, rgba(255,255,255,.025) 55%); }
.hero-grid, .contact-grid {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(135,164,184,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(135,164,184,.28) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 80%, transparent);
}
.hero-copy { position: relative; z-index: 2; align-self: center; padding-bottom: 100px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #aab6c0; font-size: 12px; letter-spacing: .22em; }
.eyebrow span { display: inline-block; width: 32px; height: 2px; background: var(--orange); }
.hero h1 { margin: 28px 0 24px; max-width: 760px; font-size: clamp(58px, 6.4vw, 94px); line-height: 1.02; letter-spacing: -.055em; font-weight: 750; }
.hero h1 span { position: relative; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.hero h1 span::after { content: ""; position: absolute; left: 4px; bottom: 4px; width: 64%; height: 7px; background: var(--orange); z-index: -1; }
.hero-name { margin: 0 0 28px; color: white; font-size: 23px; letter-spacing: .22em; }
.hero-name em { margin-left: 16px; color: #6f8190; font-size: 10px; font-style: normal; letter-spacing: .2em; }
.hero-lead { max-width: 640px; color: #b7c3cc; font-family: "Microsoft YaHei UI", sans-serif; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-width: 156px; padding: 15px 21px; display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; font-size: 13px; transition: transform .2s, color .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--orange); }
.button-primary:hover { background: #ff783d; }
.button-ghost { border: 1px solid rgba(255,255,255,.2); }
.button-ghost:hover { color: var(--orange); border-color: var(--orange); }

.hero-portrait { position: relative; z-index: 2; align-self: center; justify-self: end; width: min(100%, 390px); padding-bottom: 72px; }
.portrait-frame { position: relative; aspect-ratio: .76; padding: 10px; background: linear-gradient(140deg, rgba(255,255,255,.18), rgba(255,255,255,.02)); clip-path: polygon(0 0, 86% 0, 100% 11%, 100% 100%, 14% 100%, 0 89%); }
.portrait-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.14); clip-path: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.82) contrast(1.04); clip-path: inherit; }
.portrait-frame::before { content: ""; position: absolute; z-index: 2; inset: 10px; background: linear-gradient(180deg, transparent 62%, rgba(7,19,30,.7)); clip-path: inherit; pointer-events: none; }
.portrait-scan { position: absolute; z-index: 3; top: 23%; left: 4px; width: calc(100% - 8px); height: 1px; background: rgba(255,100,30,.7); box-shadow: 0 0 8px var(--orange); animation: scan 4.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 18%; opacity: 0; } 10%, 90% { opacity: .75; } 50% { top: 80%; } }
.portrait-corner { position: absolute; z-index: 4; width: 31px; height: 31px; border-color: var(--orange); }
.corner-a { left: 1px; top: 1px; border-left: 2px solid; border-top: 2px solid; }
.corner-b { right: 1px; bottom: 1px; border-right: 2px solid; border-bottom: 2px solid; }
.portrait-tag { position: absolute; z-index: 5; right: -25px; bottom: 39px; display: flex; align-items: center; gap: 13px; min-width: 225px; padding: 15px 20px; background: rgba(17,38,55,.92); border-left: 2px solid var(--orange); box-shadow: 0 18px 50px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #52d67a; box-shadow: 0 0 0 5px rgba(82,214,122,.12); }
.portrait-tag small, .portrait-tag b { display: block; }
.portrait-tag small { color: #6e8291; font-size: 8px; letter-spacing: .2em; }
.portrait-tag b { margin-top: 5px; font-size: 13px; letter-spacing: .06em; }
.hero-technical { position: absolute; top: 70px; right: -270px; width: 720px; height: 720px; opacity: .12; }
.draft-lines { fill: none; stroke: #a9c6d8; stroke-width: 1; stroke-dasharray: 4 6; }
.hero-stats { grid-column: 1 / -1; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats > div { min-height: 126px; padding: 30px 28px; display: flex; align-items: baseline; gap: 15px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats strong { font-size: 38px; letter-spacing: -.03em; }
.hero-stats sup { color: var(--orange); font-size: 13px; }
.hero-stats span { color: #7f8f9b; font-size: 11px; }

.section { position: relative; padding: 120px max(32px, calc((100vw - var(--max-width)) / 2)); }
.section-label { margin-bottom: 75px; padding-bottom: 14px; display: flex; align-items: center; gap: 14px; color: #82909b; font-size: 10px; letter-spacing: .2em; border-bottom: 1px solid var(--line); }
.section-label span { color: var(--orange); font-size: 14px; font-weight: 700; }
.section-heading .kicker, .kicker { margin: 0 0 17px; color: var(--orange); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.section h2, .contact-section h2 { margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.12; letter-spacing: -.055em; }
.section h2 span { color: var(--orange); }
.intro-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: end; }
.intro-copy { padding-bottom: 5px; }
.intro-main { margin: 0; max-width: 680px; color: #2f4352; font-family: "Microsoft YaHei UI", sans-serif; font-size: 17px; line-height: 2; }
.traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.traits span, .project-tags span { padding: 7px 13px; color: #4e5d69; font-size: 11px; border: 1px solid rgba(27,54,73,.2); background: rgba(255,255,255,.35); }

.education-card { margin-top: 80px; display: grid; grid-template-columns: 170px 1.25fr 1fr; background: var(--paper-bright); border: 1px solid var(--line); box-shadow: 0 22px 70px rgba(26,42,54,.07); }
.education-year { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); font-size: 28px; font-weight: 700; line-height: .8; background: #e4e3de; }
.education-year span { margin: 10px 0; color: var(--orange); }
.education-main { padding: 40px 45px; display: flex; align-items: center; gap: 22px; border-right: 1px solid var(--line); }
.education-icon { flex: 0 0 50px; width: 50px; color: var(--orange); }
.education-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.education-main p { margin: 0 0 9px; color: #526572; font-size: 14px; }
.education-main h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.education-main h3 span { display: inline-block; margin-left: 10px; padding: 4px 8px; color: var(--orange); font-size: 10px; border: 1px solid rgba(255,100,30,.35); vertical-align: 3px; }
.course-list { padding: 35px; }
.course-list p { margin: 0 0 14px; color: var(--orange); font-size: 9px; letter-spacing: .18em; }
.course-list div { display: flex; flex-wrap: wrap; gap: 7px 15px; }
.course-list span { color: #3d515f; font-size: 12px; }

.experience-section { color: white; background: var(--ink-soft); }
.experience-section .section-label { border-color: rgba(255,255,255,.1); }
.experience-header { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: end; }
.experience-header h2 span { color: var(--orange); }
.experience-header > p { margin: 0 0 5px; color: #b2bec7; font-family: "Microsoft YaHei UI", sans-serif; font-size: 15px; line-height: 1.9; }
.experience-card { margin-top: 72px; display: grid; grid-template-columns: 285px 1fr; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.experience-meta { padding: 36px; border-right: 1px solid rgba(255,255,255,.1); }
.date-badge { display: inline-block; padding: 6px 10px; color: var(--orange); font-size: 11px; letter-spacing: .12em; border: 1px solid rgba(255,100,30,.4); }
.experience-meta p { margin: 30px 0 10px; font-size: 20px; line-height: 1.5; }
.experience-meta > span:last-child { color: #7f919e; font-size: 12px; }
.experience-point { min-height: 160px; padding: 30px 36px; display: grid; grid-template-columns: 40px 1fr 58px; gap: 25px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.experience-point:last-child { border-bottom: 0; }
.experience-point:hover { background: rgba(255,255,255,.035); }
.point-index { color: var(--orange); font-size: 11px; align-self: start; margin-top: 5px; }
.experience-point h3 { margin: 0 0 10px; font-size: 18px; }
.experience-point p { margin: 0; color: #b7c3cb; font-family: "Microsoft YaHei UI", sans-serif; font-size: 14px; line-height: 1.85; }
.experience-point svg { width: 50px; fill: none; stroke: #526a7a; stroke-width: 1.4; }

.projects-section { background: var(--paper-bright); }
.projects-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 75px; }
.projects-heading > p { color: #8c979f; font-size: 10px; letter-spacing: .2em; }
.projects-heading > p b { margin-left: 12px; color: var(--orange); font-size: 30px; }
.project { min-height: 510px; display: grid; grid-template-columns: 1.1fr .9fr; margin-bottom: 28px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.project-secondary { grid-template-columns: .9fr 1.1fr; }
.project-visual { min-height: 510px; position: relative; display: grid; place-items: center; overflow: hidden; background-color: #102333; perspective: 1200px; }
.project-visual::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(128,160,181,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(128,160,181,.3) 1px, transparent 1px); background-size: 32px 32px; }
.project-visual::after { content: ""; position: absolute; inset: 13% 10%; border: 1px solid rgba(125,164,188,.12); pointer-events: none; }
.lotus-visual { background: radial-gradient(circle at 50% 45%, #f8f9fb 0, #e4e7ec 52%, #cbd1d8 100%); }
.lotus-visual::before { opacity: .35; background-image: linear-gradient(rgba(56,77,89,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(56,77,89,.17) 1px, transparent 1px); }
.visual-label { position: absolute; z-index: 8; right: 22px; bottom: 20px; color: #688296; font-size: 8px; letter-spacing: .16em; pointer-events: none; }
.lotus-visual .visual-label { color: #6e7b82; }
.tilt-card {
  --tilt-x: 0deg; --tilt-y: 0deg; --tilt-scale: 1;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale3d(var(--tilt-scale), var(--tilt-scale), var(--tilt-scale));
  transform-style: preserve-3d; transition: transform .18s ease-out; will-change: transform;
}
.tilt-card.is-tilting { --tilt-scale: 1.012; transition-duration: .06s; }
.media-stage { width: 86%; height: 78%; position: relative; padding: 0; color: white; border: 0; background: transparent; cursor: zoom-in; }
.blueprint-stage::before { content: ""; position: absolute; z-index: -1; inset: -16px; border: 1px solid rgba(104,168,202,.28); background: rgba(8,24,36,.5); transform: translateZ(-25px) rotateZ(-1.2deg); box-shadow: 0 35px 70px rgba(0,0,0,.3); }
.blueprint-sheet { width: 100%; height: 100%; position: relative; display: block; overflow: hidden; border: 1px solid rgba(126,199,228,.35); background: #020506; box-shadow: 0 22px 55px rgba(0,0,0,.42); transform: translateZ(40px); transition: transform .35s ease, box-shadow .35s ease; }
.blueprint-sheet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(112,213,255,.12) 49%, transparent 63%); transform: translateX(-120%); transition: transform .8s ease; pointer-events: none; }
.blueprint-stage:hover .blueprint-sheet { transform: translateZ(58px) scale(1.018); box-shadow: 0 32px 75px rgba(0,0,0,.52); }
.blueprint-stage:hover .blueprint-sheet::after { transform: translateX(120%); }
.blueprint-sheet img { width: 100%; height: 100%; object-fit: contain; }
.stage-index { position: absolute; z-index: 5; left: -18px; top: -24px; padding: 8px 12px; color: var(--orange); font-size: 9px; letter-spacing: .18em; border-left: 2px solid var(--orange); background: rgba(7,19,30,.9); transform: translateZ(65px); }
.axis-line { position: absolute; z-index: 4; display: block; background: rgba(255,100,30,.72); pointer-events: none; transform: translateZ(70px); }
.axis-x { left: -5%; top: 50%; width: 110%; height: 1px; }
.axis-y { left: 50%; top: -7%; width: 1px; height: 114%; }
.axis-line::after { content: ""; position: absolute; width: 5px; height: 5px; border: 1px solid var(--orange); border-radius: 50%; background: #102333; }
.axis-x::after { right: 0; top: -2px; }
.axis-y::after { left: -2px; bottom: 0; }
.media-expand { position: absolute; z-index: 7; right: -8px; bottom: -10px; padding: 12px 15px; color: white; font-size: 10px; letter-spacing: .08em; background: var(--orange); box-shadow: 0 12px 28px rgba(255,100,30,.25); transform: translateZ(85px); }
.media-expand i { margin-left: 18px; font-style: normal; }

.lotus-stage { width: 88%; height: 82%; position: relative; transform-style: preserve-3d; }
.lotus-stage::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 3%; height: 17%; border-radius: 50%; background: rgba(41,55,66,.22); filter: blur(20px); transform: translateZ(-70px) rotateX(74deg); }
.lotus-index { left: 4px; top: -5px; color: var(--ink); border-color: var(--orange); background: rgba(246,247,249,.9); }
.model-card { position: absolute; padding: 0; overflow: hidden; color: var(--ink); border: 1px solid rgba(39,58,72,.22); background: #fff; box-shadow: 0 24px 55px rgba(22,36,47,.2); cursor: zoom-in; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, filter .35s ease; }
.model-card img { width: 100%; height: calc(100% - 37px); object-fit: contain; background: linear-gradient(150deg, #fff, #edf0f5); }
.model-card > span { height: 37px; padding: 0 13px; display: flex; justify-content: space-between; align-items: center; color: #53626d; font-size: 9px; letter-spacing: .12em; border-top: 1px solid #d9dee2; background: #f8f9fa; }
.model-card > span i { color: var(--orange); font-style: normal; }
.model-card-core { z-index: 2; left: 2%; top: 16%; width: 62%; height: 63%; transform: translate3d(0,0,25px) rotateY(11deg) rotateZ(-4deg); }
.model-card-assembly { z-index: 3; right: 2%; bottom: 3%; width: 49%; height: 66%; transform: translate3d(0,0,80px) rotateY(-10deg) rotateZ(4deg); }
.lotus-stage:hover .model-card-core { transform: translate3d(-18px,-8px,42px) rotateY(14deg) rotateZ(-6deg); filter: saturate(1.04); }
.lotus-stage:hover .model-card-assembly { transform: translate3d(20px,-10px,105px) rotateY(-13deg) rotateZ(5deg); box-shadow: 0 34px 70px rgba(22,36,47,.29); }
.model-card:hover { z-index: 6; filter: saturate(1.08) contrast(1.02); }
.orbit-ring { position: absolute; z-index: 1; left: 50%; top: 50%; border: 1px dashed rgba(46,73,91,.23); border-radius: 50%; pointer-events: none; }
.orbit-ring-a { width: 92%; height: 56%; transform: translate3d(-50%,-50%,-10px) rotateX(68deg) rotateZ(8deg); animation: orbit 16s linear infinite; }
.orbit-ring-b { width: 68%; height: 92%; transform: translate3d(-50%,-50%,-20px) rotateY(68deg) rotateZ(-13deg); animation: orbit-alt 20s linear infinite; }
@keyframes orbit { to { transform: translate3d(-50%,-50%,-10px) rotateX(68deg) rotateZ(368deg); } }
@keyframes orbit-alt { to { transform: translate3d(-50%,-50%,-20px) rotateY(68deg) rotateZ(-373deg); } }
.interaction-tip { position: absolute; z-index: 7; left: 6%; bottom: -4px; color: #74818a; font-size: 8px; letter-spacing: .13em; transform: translateZ(105px); }
.project-content { padding: 58px 55px; display: flex; flex-direction: column; align-items: flex-start; }
.project-number { color: var(--orange); font-size: 9px; letter-spacing: .19em; }
.project-content h3 { margin: 24px 0 22px; font-size: 37px; line-height: 1.25; letter-spacing: -.04em; }
.project-content > p { margin: 0; color: #3d5260; font-family: "Microsoft YaHei UI", sans-serif; font-size: 14px; line-height: 1.95; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.project-result { margin-top: auto; padding-top: 32px; width: 100%; border-top: 1px solid var(--line); }
.project-result b, .project-result span { display: block; }
.project-result b { margin-bottom: 8px; color: var(--orange); font-size: 10px; letter-spacing: .12em; }
.project-result span { color: #364b59; font-size: 12px; line-height: 1.7; }

.skills-section { background: #e6e5e0; }
.skills-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 80px; }
.skills-heading > p:last-child { margin: 30px 0 0; max-width: 360px; color: #4d606d; font-family: "Microsoft YaHei UI", sans-serif; font-size: 14px; line-height: 1.9; }
.skill-board { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(27,54,73,.25); border-left: 1px solid rgba(27,54,73,.25); }
.skill-cell { min-height: 185px; padding: 28px 30px; position: relative; border-right: 1px solid rgba(27,54,73,.25); border-bottom: 1px solid rgba(27,54,73,.25); background: rgba(255,255,255,.18); transition: background .25s, transform .25s; }
.skill-cell:hover { z-index: 2; transform: translateY(-4px); background: rgba(255,255,255,.55); }
.skill-cell > span { color: var(--orange); font-size: 8px; letter-spacing: .17em; }
.skill-cell b { display: block; margin: 18px 0 9px; font-size: 22px; }
.skill-cell p { margin: 0; color: #50616c; font-size: 12px; line-height: 1.7; }
.skill-cell i { position: absolute; bottom: 0; left: 0; width: var(--level); height: 3px; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform 1s .2s ease; }
.skill-board.visible .skill-cell i { transform: scaleX(1); }
.skill-featured { background: var(--ink-soft); color: white; }
.skill-featured:hover { background: #132a3b; }
.skill-featured p { color: #afbdc7; }
.more-experience { margin-top: 95px; border-top: 1px solid rgba(27,54,73,.25); }
.more-title { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(27,54,73,.25); }
.more-title span { color: var(--orange); font-size: 9px; letter-spacing: .16em; }
.more-title h3 { margin: 0; font-size: 22px; }
.more-item { padding: 25px 0; display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid rgba(27,54,73,.18); }
.more-item > span { color: #89949b; font-size: 10px; letter-spacing: .08em; }
.more-item h4 { margin: 0 0 8px; font-size: 15px; }
.more-item p { margin: 0; color: #4c606d; font-family: "Microsoft YaHei UI", sans-serif; font-size: 13px; line-height: 1.8; }

.contact-section { position: relative; padding: 130px max(32px, calc((100vw - var(--max-width)) / 2)) 0; color: white; background: var(--ink); overflow: hidden; }
.contact-section::before { content: "WSP"; position: absolute; right: -30px; bottom: -80px; color: rgba(255,255,255,.018); font-size: 380px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.contact-copy, .contact-links, .contact-footer { position: relative; z-index: 1; }
.contact-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 90px; }
.contact-copy .kicker { grid-column: 1 / -1; }
.contact-copy h2 span { color: var(--orange); }
.contact-copy > p:last-child { margin: 10px 0 0; align-self: end; color: #b1bdc6; font-family: "Microsoft YaHei UI", sans-serif; font-size: 15px; line-height: 1.9; }
.contact-links { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-links > * { min-height: 150px; padding: 34px; position: relative; border-right: 1px solid rgba(255,255,255,.12); transition: background .25s; }
.contact-links > *:hover { background: rgba(255,255,255,.035); }
.contact-links > *:last-child { border-right: 0; }
.contact-links span, .contact-links b { display: block; }
.contact-links span { margin-bottom: 24px; color: var(--orange); font-size: 9px; letter-spacing: .18em; }
.contact-links b { font-size: 17px; letter-spacing: .04em; }
.contact-links i { position: absolute; right: 30px; top: 32px; color: #5f7180; font-size: 16px; font-style: normal; }
.contact-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; color: #596b78; font-size: 9px; letter-spacing: .14em; }
.contact-footer a:hover, .print-button:hover { color: white; }
.print-button { padding: 9px 14px; color: #7f919e; border: 1px solid #314352; background: transparent; cursor: pointer; letter-spacing: .08em; font-size: 10px; transition: .2s; }

.media-lightbox { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; perspective: 1400px; }
.media-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,10,16,.89); backdrop-filter: blur(14px); cursor: zoom-out; }
.lightbox-panel { width: min(1120px, 92vw); max-height: 88vh; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; color: white; border: 1px solid rgba(255,255,255,.18); background: #0a1925; box-shadow: 0 45px 120px rgba(0,0,0,.62); }
.lightbox-panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.06); pointer-events: none; transform: translateZ(-20px); }
.lightbox-image-wrap { min-height: 430px; max-height: 76vh; padding: 26px; display: grid; place-items: center; overflow: hidden; background-image: linear-gradient(rgba(121,157,180,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(121,157,180,.12) 1px, transparent 1px); background-size: 30px 30px; transform: translateZ(24px); }
.lightbox-image-wrap img { max-width: 100%; max-height: calc(76vh - 52px); object-fit: contain; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.lightbox-meta { padding: 42px 30px; border-left: 1px solid rgba(255,255,255,.11); transform: translateZ(40px); }
.lightbox-meta span { color: var(--orange); font-size: 8px; letter-spacing: .2em; }
.lightbox-meta h3 { margin: 25px 0 16px; font-size: 24px; line-height: 1.35; }
.lightbox-meta p { margin: 0; color: #b3c0c9; font-family: "Microsoft YaHei UI", sans-serif; font-size: 13px; line-height: 1.85; }
.lightbox-close { position: absolute; z-index: 8; right: -16px; top: -16px; width: 42px; height: 42px; color: white; font-size: 28px; font-weight: 200; line-height: 1; border: 1px solid rgba(255,255,255,.18); background: var(--orange); cursor: pointer; transform: translateZ(70px); }
body.lightbox-open { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Personal resume theme: engineering student / mechanical automation */
body { background: #f4f6f7; }
.site-header {
  height: 74px; color: var(--ink); border-bottom-color: rgba(37,57,71,.13);
  background: rgba(249,250,250,.9); box-shadow: 0 8px 28px rgba(25,42,54,.045);
}
.site-header.scrolled { height: 64px; background: rgba(249,250,250,.97); }
.brand b { font-size: 16px; letter-spacing: .12em; }
.brand small { color: #73818b; font-size: 9px; letter-spacing: .08em; }
.desktop-nav a { color: #4e606d; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--orange); }
.header-contact { color: var(--ink); }

.hero {
  min-height: 870px; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .55fr); column-gap: 92px;
  padding-top: 155px; color: var(--ink);
  background: linear-gradient(115deg, #f8f9f8 0%, #f8f9f8 58%, #e8edf0 58%, #eef2f4 100%);
}
.hero::before { background: radial-gradient(circle at 77% 38%, rgba(45,108,223,.1), transparent 30%), linear-gradient(115deg, transparent 57.8%, rgba(255,255,255,.7) 58%); }
.hero-grid { opacity: .3; background-image: linear-gradient(rgba(63,91,109,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(63,91,109,.14) 1px, transparent 1px); }
.hero-technical { top: 78px; right: -245px; opacity: .1; }
.draft-lines { stroke: #496475; }
.hero-copy { padding-bottom: 68px; }
.eyebrow { color: #607481; font-size: 11px; font-weight: 600; }
.hero h1 {
  width: max-content; position: relative; margin: 26px 0 23px; color: var(--ink);
  font-size: clamp(74px, 7.2vw, 108px); line-height: 1; letter-spacing: .1em; font-weight: 800;
}
.hero h1::after { content: ""; position: absolute; left: 2px; right: .1em; bottom: -10px; height: 5px; background: linear-gradient(90deg, var(--orange) 0 34%, #b8c3ca 34% 100%); }
.hero-name { margin: 31px 0 13px; padding-left: 15px; color: #243b4b; font-size: 19px; font-weight: 700; letter-spacing: .04em; border-left: 3px solid var(--orange); }
.hero-name em { color: #637581; font-size: 12px; letter-spacing: .08em; }
.hero-role { margin: 0 0 20px; color: #365b72; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hero-lead { max-width: 680px; color: #425866; font-size: 15px; line-height: 2; }
.hero-contact-line { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px 24px; color: #526875; font-size: 12px; }
.hero-contact-line > * { position: relative; }
.hero-contact-line > *:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 3px; width: 1px; height: 12px; background: #bac4ca; }
.hero-contact-line a:hover { color: var(--orange); }
.hero-actions { margin-top: 30px; }
.button-primary { box-shadow: 0 12px 25px rgba(255,100,30,.16); }
.button-ghost { color: #273f4f; border-color: #aebbc3; background: rgba(255,255,255,.42); }
.button-ghost:hover { color: var(--orange); }
.portrait-frame { padding: 9px; background: #d7dfe4; box-shadow: 0 28px 60px rgba(38,58,72,.14); }
.portrait-frame::after { border-color: rgba(17,43,59,.16); }
.portrait-frame::before { background: linear-gradient(180deg, transparent 72%, rgba(12,31,44,.28)); }
.portrait-tag { background: rgba(25,50,67,.96); }
.hero-stats { color: var(--ink); border-top-color: rgba(37,57,71,.16); background: rgba(255,255,255,.48); }
.hero-stats > div { min-height: 108px; padding-block: 25px; border-right-color: rgba(37,57,71,.13); }
.hero-stats strong { color: #1d394b; font-size: 30px; letter-spacing: -.01em; }
.hero-stats span { color: #617582; font-size: 12px; }

.section { padding-top: 100px; padding-bottom: 100px; }
.section-label { margin-bottom: 58px; color: #75848e; letter-spacing: .13em; }
.section h2, .contact-section h2 { font-size: clamp(39px, 4.2vw, 56px); letter-spacing: -.035em; }
.kicker, .section-heading .kicker { letter-spacing: .12em; }
.intro-section { background: #f7f8f7; }
.intro-layout { grid-template-columns: .82fr 1.18fr; }
.intro-main { color: #354d5c; font-size: 16px; line-height: 2; }
.education-card { margin-top: 62px; box-shadow: 0 15px 45px rgba(26,42,54,.055); }
.education-year { color: white; background: #173246; }
.education-main { background: #fff; }
.course-list { background: #f6f7f6; }

.experience-section { color: var(--ink); background: #edf1f3; }
.experience-section .section-label { border-color: rgba(27,54,73,.16); }
.experience-header > p { color: #4f6675; }
.experience-card { border-color: #ccd5da; background: #fff; box-shadow: 0 16px 48px rgba(31,52,67,.06); }
.experience-meta { border-right-color: #d7dee2; background: #f7f8f8; }
.experience-meta p { color: #19384c; }
.experience-meta > span:last-child { color: #607582; }
.experience-point { border-bottom-color: #dce2e5; }
.experience-point:hover { background: #f7f9fa; }
.experience-point h3 { color: #18384c; }
.experience-point p { color: #4b6271; }
.experience-point svg { stroke: #607f92; }

.projects-section { background: #fafaf8; }
.project { box-shadow: 0 14px 45px rgba(32,51,64,.045); }
.skills-section { background: #edf1f3; }
.skills-heading > p:last-child { color: #435c6b; }
.skill-cell { background: rgba(255,255,255,.55); }
.skill-cell:hover { background: #fff; }
.skill-featured { background: #173246; }
.skill-featured:hover { background: #1d3c52; }
.more-item p { color: #435b69; }

.contact-section { padding-top: 105px; background: #142d3f; }
.contact-section::before { opacity: .6; }
.contact-copy > p:last-child { color: #b7c3ca; }

@media (max-width: 1020px) {
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { margin-left: auto; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; color: white; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 90; inset: var(--header-h) 0 auto; padding: 25px 32px 35px; display: flex; flex-direction: column; gap: 0; background: rgba(7,19,30,.98); transform: translateY(-130%); transition: transform .3s ease; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { padding: 18px 0; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { min-height: auto; grid-template-columns: 1fr .7fr; gap: 40px; padding-top: 150px; }
  .hero h1 { font-size: clamp(52px, 7.5vw, 72px); }
  .hero-stats { margin-top: 20px; }
  .intro-layout, .experience-header, .skills-layout { gap: 50px; }
  .education-card { grid-template-columns: 130px 1fr; }
  .course-list { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .project { grid-template-columns: 1fr 1fr; }
  .project-content { padding: 45px 35px; }
  .project-content h3 { font-size: 30px; }
  .project-visual { min-height: 480px; }
  .media-stage { width: 88%; height: 73%; }
  .lotus-stage { width: 92%; }
  .menu-toggle { color: var(--ink); }
  .mobile-nav { color: var(--ink); border-bottom: 1px solid #d7dee2; background: rgba(249,250,250,.98); box-shadow: 0 16px 35px rgba(25,42,54,.1); }
  .mobile-nav a { color: #2f4858; border-bottom-color: #dfe4e7; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .site-header { height: var(--header-h); padding-inline: 20px; }
  .brand small { display: none; }
  .section { padding: 85px 20px; }
  .section-label { margin-bottom: 52px; }
  .hero { display: block; min-height: 0; padding: 120px 20px 0; }
  .hero-copy { padding-bottom: 50px; }
  .hero h1 { margin-top: 23px; font-size: clamp(52px, 16vw, 70px); letter-spacing: .08em; }
  .hero h1 span::after { height: 5px; }
  .hero-name { font-size: 18px; }
  .hero-name em { display: block; margin: 9px 0 0; }
  .hero-role { font-size: 12px; line-height: 1.7; }
  .hero-contact-line { gap: 9px 18px; line-height: 1.7; }
  .hero-contact-line > *::after { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-portrait { width: min(92%, 390px); margin: 0 auto 42px; padding: 0; }
  .portrait-tag { right: -10px; bottom: -18px; }
  .hero-stats { margin: 0 -20px; grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { min-height: 105px; padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-stats > div:first-child { padding-left: 20px; }
  .hero-stats strong { font-size: 30px; }
  .hero-stats span { font-size: 10px; }
  .intro-layout, .experience-header, .skills-layout, .contact-copy { grid-template-columns: 1fr; gap: 36px; }
  .education-card { margin-top: 55px; grid-template-columns: 1fr; }
  .education-year { flex-direction: row; justify-content: flex-start; gap: 10px; font-size: 24px; line-height: 1; }
  .education-year span { margin: 0; }
  .education-main { padding: 30px 25px; border-right: 0; }
  .education-icon { display: none; }
  .course-list { grid-column: auto; padding: 28px 25px; }
  .experience-card { grid-template-columns: 1fr; margin-top: 55px; }
  .experience-meta { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .experience-point { padding: 27px 23px; grid-template-columns: 28px 1fr; gap: 14px; }
  .experience-point svg { display: none; }
  .projects-heading { align-items: start; }
  .projects-heading > p { display: none; }
  .project, .project-secondary { display: flex; flex-direction: column; }
  .project-secondary .project-content { order: 2; }
  .project-visual { min-height: 350px; }
  .project-visual::after { inset: 10% 7%; }
  .media-stage { width: 88%; height: 69%; }
  .stage-index { left: -8px; top: -18px; }
  .media-expand { right: -4px; bottom: -9px; padding: 10px 12px; }
  .axis-y { top: -10%; height: 120%; }
  .lotus-stage { width: 94%; height: 85%; }
  .model-card-core { left: 2%; top: 17%; width: 64%; height: 61%; }
  .model-card-assembly { right: 2%; bottom: 4%; width: 50%; height: 65%; }
  .interaction-tip { display: none; }
  .project-content { min-height: 500px; padding: 40px 25px; }
  .project-content h3 { font-size: 29px; }
  .skills-layout { gap: 55px; }
  .skill-board { grid-template-columns: 1fr; }
  .more-title { align-items: flex-end; gap: 20px; }
  .more-title h3 { text-align: right; font-size: 18px; }
  .more-item { grid-template-columns: 1fr; gap: 10px; }
  .contact-section { padding: 90px 20px 0; }
  .contact-copy { display: block; }
  .contact-copy h2 { font-size: 43px; }
  .contact-copy > p:last-child { margin-top: 30px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links > * { min-height: 120px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .contact-links > *:last-child { border-bottom: 0; }
  .contact-footer { min-height: 150px; flex-wrap: wrap; gap: 12px; }
  .contact-footer p { width: 100%; margin-bottom: 0; }
  .media-lightbox { padding: 20px; }
  .lightbox-panel { width: 100%; max-height: 92vh; grid-template-columns: 1fr; overflow: auto; }
  .lightbox-image-wrap { min-height: 280px; max-height: 62vh; padding: 18px; }
  .lightbox-image-wrap img { max-height: calc(62vh - 36px); }
  .lightbox-meta { padding: 24px; border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .lightbox-meta h3 { margin: 14px 0 9px; font-size: 19px; }
  .lightbox-close { right: 6px; top: 6px; }
}

@media (hover: none), (pointer: coarse) {
  .tilt-card { --tilt-x: 0deg !important; --tilt-y: 0deg !important; --tilt-scale: 1 !important; }
  .blueprint-stage:hover .blueprint-sheet { transform: translateZ(40px); }
  .lotus-stage:hover .model-card-core { transform: translate3d(0,0,25px) rotateY(11deg) rotateZ(-4deg); }
  .lotus-stage:hover .model-card-assembly { transform: translate3d(0,0,80px) rotateY(-10deg) rotateZ(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  @page { size: A4; margin: 10mm; }
  body { background: white; }
  .site-header, .mobile-nav, .page-progress, .hero-grid, .hero-technical, .portrait-scan, .contact-grid, .print-button, .media-lightbox { display: none !important; }
  .hero, .section, .contact-section { min-height: 0; padding: 12mm 8mm; break-inside: avoid; }
  .hero { display: grid; grid-template-columns: 1.3fr .45fr; color: var(--ink); background: white; }
  .hero h1 { font-size: 42px; }
  .hero h1 span { color: var(--orange); -webkit-text-stroke: 0; }
  .hero-lead, .hero-name em { color: #52616d; }
  .hero-actions { display: none; }
  .hero-portrait { width: 150px; padding: 0; }
  .portrait-tag { display: none; }
  .hero-stats { grid-column: 1 / -1; color: var(--ink); border-color: #ddd; }
  .hero-stats > div { min-height: 65px; padding: 10px; border-color: #ddd; }
  .section-label { margin-bottom: 18px; }
  .section h2, .contact-section h2 { font-size: 32px; }
  .education-card, .project, .experience-card { box-shadow: none; break-inside: avoid; }
  .experience-section, .contact-section { color: var(--ink); background: white; }
  .experience-header > p, .experience-point p, .experience-meta > span:last-child { color: #52616d; }
  .experience-card, .experience-meta, .experience-point { border-color: #ccd2d6; }
  .experience-point svg { stroke: #52616d; }
  .contact-section { border-top: 2px solid var(--ink); }
  .contact-links { margin-top: 24px; border-color: #ccc; }
  .contact-links > * { min-height: 80px; padding: 18px; color: var(--ink); border-color: #ccc; }
  .contact-footer { min-height: 55px; }
  .reveal { opacity: 1; transform: none; }
  .tilt-card, .blueprint-sheet, .model-card-core, .model-card-assembly { transform: none !important; }
}
