:root {
    --bg: #f7fbff;
    --surface: rgba(255, 255, 255, 0.68);
    --surface-strong: #ffffff;
    --glass: rgba(255, 255, 255, 0.58);
    --glass-bright: rgba(255, 255, 255, 0.78);
    --ink: #17252b;
    --muted: #5e7279;
    --teal: #00a8a8;
    --teal-dark: #007879;
    --coral: #ff6f61;
    --gold: #ffd166;
    --sky: #70d6ff;
    --pink: #ff9ecb;
    --line: rgba(0, 120, 121, 0.16);
    --shadow: 0 18px 52px rgba(22, 110, 125, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% 12%, rgba(112, 214, 255, 0.34), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(255, 158, 203, 0.28), transparent 28%),
        radial-gradient(circle at 78% 78%, rgba(255, 209, 102, 0.28), transparent 30%),
        linear-gradient(135deg, rgba(0, 168, 168, 0.14), rgba(255, 111, 97, 0.08) 46%, rgba(112, 214, 255, 0.14)),
        var(--bg);
    background-attachment: fixed;
    line-height: 1.7;
}

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

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

.site-header {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0 20px;
}

.nav {
    width: min(1180px, 100%);
    min-height: 62px;
    margin: 0 auto;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: var(--glass-bright);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(0, 120, 121, 0.13);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-weight: 700;
}

.brand-avatar {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 6px 18px rgba(24, 36, 39, 0.18);
}

.nav-links {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    flex: 1 1 auto;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--teal), #10b6c8);
    box-shadow: 0 10px 24px rgba(0, 168, 168, 0.22);
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.float-action {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 18;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--coral), #ff8f70);
    box-shadow: var(--shadow);
    font-weight: 700;
}

.section-band {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 660px;
    padding: 122px 32px 46px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 34px;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 8px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 700;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 14px;
    font-size: 56px;
    line-height: 1.08;
}

h2 {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.2;
}

h3 {
    margin-bottom: 8px;
    font-size: 21px;
    line-height: 1.35;
}

.hero-text {
    max-width: 560px;
    color: #405154;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.button.secondary {
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--line);
}

.wechat-hover {
    position: relative;
    display: inline-flex;
}

.wechat-popover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    width: 220px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 30;
}

.wechat-popover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 14px;
    height: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) rotate(45deg);
}

.wechat-popover img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

.wechat-popover span {
    display: block;
    margin-top: 8px;
    color: var(--teal-dark);
    text-align: center;
    font-weight: 800;
}

.wechat-hover:hover .wechat-popover,
.wechat-hover:focus-within .wechat-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.hero-media {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
}

.quick-panel {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 34px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.92fr));
    gap: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(244, 255, 255, 0.54)),
        var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.quick-card {
    min-height: 178px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(22, 110, 125, 0.07);
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--teal), var(--sky));
}

.quick-primary {
    border-color: rgba(0, 168, 168, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(226, 250, 255, 0.66)),
        rgba(255, 255, 255, 0.78);
}

.quick-primary::before {
    background: linear-gradient(180deg, var(--coral), var(--gold), var(--teal));
}

.quick-panel strong,
.quick-panel span,
.quick-panel p {
    display: block;
}

.quick-index {
    width: fit-content;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 800;
}

.quick-index::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 5px rgba(255, 111, 97, 0.13);
}

.quick-card strong {
    margin-bottom: 12px;
    font-size: 21px;
    line-height: 1.35;
}

.quick-primary strong {
    font-size: 25px;
}

.quick-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

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

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 168, 168, 0.12);
}

.quick-tags span {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 14px;
    color: var(--teal-dark);
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 800;
}

.quick-tags span::before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sky);
}

.education,
.experience,
.projects,
.contact {
    padding: 48px 32px;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 8px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.section-title {
    max-width: 650px;
    margin-bottom: 24px;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill-list span {
    min-height: 48px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.education-card,
.work-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(23, 48, 51, 0.09);
}

.education-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: center;
}

.school-logo-wrap {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 8px rgba(15, 141, 141, 0.06);
}

.school-logo-wrap img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.school-label,
.work-type {
    margin-bottom: 6px;
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 700;
}

.major {
    margin-bottom: 12px;
    color: var(--coral);
    font-weight: 700;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.course-list span {
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--teal-dark);
    background: rgba(15, 141, 141, 0.09);
    border: 1px solid rgba(15, 141, 141, 0.16);
    font-weight: 700;
}

.work-list {
    display: grid;
    gap: 18px;
}

.work-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 22px;
}

.featured-work {
    border-color: rgba(255, 111, 97, 0.34);
    box-shadow: 0 18px 46px rgba(255, 111, 97, 0.12);
}

.work-date {
    align-self: start;
    display: grid;
    gap: 8px;
}

.work-date span,
.work-date em {
    min-height: 36px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--coral), #ff917a);
    font-style: normal;
    font-weight: 700;
}

.work-date em {
    color: rgba(24, 36, 39, 0.72);
    background: rgba(255, 111, 97, 0.12);
}

.work-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.position-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    font-size: 13px;
    font-weight: 700;
}

.company-summary {
    color: #405154;
}

.work-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.work-columns h4 {
    margin: 0 0 8px;
    color: var(--teal-dark);
}

.work-columns ul {
    margin: 0;
    padding-left: 18px;
}

.work-columns li {
    margin-bottom: 6px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(23, 48, 51, 0.08);
}

.project-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 168, 168, 0.16), rgba(255, 111, 97, 0.12)),
        #111b22;
}

.project-visual > video,
.standalone-video-trigger > video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: transparent;
}

.standalone-video-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    color: inherit;
    background:
        linear-gradient(115deg, rgba(83, 151, 88, 0.58), transparent 34%),
        linear-gradient(245deg, rgba(142, 210, 154, 0.62), transparent 36%),
        linear-gradient(135deg, #dff5e7, #ecfbff 54%, #d6f0de);
    cursor: zoom-in;
}

.feed-card::before,
.standalone-video-trigger::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), transparent 0 42px),
        linear-gradient(135deg, rgba(8, 19, 24, 0.18), rgba(8, 19, 24, 0.48));
    transition: opacity 0.2s ease, background 0.2s ease;
}

.feed-card::after,
.standalone-video-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    pointer-events: none;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #fff;
    transform: translate(-38%, -50%);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.28));
}

.feed-card:hover::before,
.standalone-video-trigger:hover::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.34), transparent 0 46px),
        linear-gradient(135deg, rgba(8, 19, 24, 0.12), rgba(8, 19, 24, 0.4));
}

.project-visual video::-webkit-media-controls-picture-in-picture-button,
.project-visual video::-webkit-media-controls-fullscreen-button,
.project-visual video::-webkit-media-controls-toggle-closed-captions-button,
.feed-lightbox video::-webkit-media-controls-picture-in-picture-button,
.feed-lightbox video::-webkit-media-controls-fullscreen-button,
.feed-lightbox video::-webkit-media-controls-toggle-closed-captions-button {
    display: none !important;
}

.project-visual > video.portrait-video {
    object-fit: contain;
}

.project-visual > video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #03070a;
}

.project-visual > video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #03070a;
}

.project-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.feed-stack-player {
    touch-action: pan-y;
    background:
        linear-gradient(115deg, rgba(83, 151, 88, 0.58), transparent 34%),
        linear-gradient(245deg, rgba(142, 210, 154, 0.62), transparent 36%),
        linear-gradient(135deg, #dff5e7, #ecfbff 54%, #d6f0de);
}

.feed-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.feed-scene::before,
.feed-scene::after {
    content: "";
    position: absolute;
    width: 46%;
    height: 140%;
    top: -20%;
    background:
        linear-gradient(140deg, transparent 0 20%, rgba(52, 132, 72, 0.32) 21% 24%, transparent 25% 38%, rgba(104, 178, 91, 0.28) 39% 43%, transparent 44%),
        linear-gradient(45deg, transparent 0 25%, rgba(255, 255, 255, 0.42) 26% 29%, transparent 30%);
    opacity: 0.72;
}

.feed-scene::before {
    left: -8%;
    transform: rotate(-8deg);
}

.feed-scene::after {
    right: -10%;
    transform: rotate(10deg);
}

.feed-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 88%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    overflow: hidden;
    background: #111b22;
    box-shadow: 0 16px 36px rgba(23, 48, 51, 0.22);
    cursor: pointer;
    transition: transform 0.34s ease, opacity 0.34s ease, box-shadow 0.34s ease;
}

.feed-card video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #081318;
}

.feed-card video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #03070a;
}

.feed-card video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #03070a;
}

.feed-card.is-active {
    z-index: 4;
    opacity: 1;
    box-shadow: 0 18px 42px rgba(23, 48, 51, 0.28);
    transform: translate(-50%, -50%) scale(1);
}

.feed-card.is-prev {
    z-index: 3;
    opacity: 0.76;
    filter: brightness(0.72);
    transform: translate(calc(-50% - clamp(28px, 4vw, 42px)), -50%) scale(0.9);
}

.feed-card.is-next {
    z-index: 2;
    opacity: 0.68;
    filter: brightness(0.66);
    transform: translate(calc(-50% + clamp(28px, 4vw, 42px)), -50%) scale(0.9);
}

.feed-card:focus-visible {
    outline: 3px solid rgba(255, 111, 97, 0.72);
    outline-offset: 2px;
}

.feed-card:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #03070a;
    transform: none;
}

.feed-card:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #03070a;
    transform: none;
}

.feed-card:fullscreen video,
.feed-card:-webkit-full-screen video {
    object-fit: contain;
}

.feed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9990;
    padding: 28px;
    display: block;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: rgba(3, 7, 10, 0.94);
}

.feed-lightbox[hidden] {
    display: none;
}

.feed-lightbox video {
    position: fixed;
    z-index: 9991;
    left: 50%;
    top: 50%;
    width: min(calc(100vw - 56px), 1180px);
    height: calc(100dvh - 104px);
    max-height: 86dvh;
    object-fit: contain;
    background: #03070a;
    transform: translate(-50%, -50%);
}

.feed-lightbox-close {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    z-index: 9999;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.feed-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

body.feed-viewer-open {
    overflow: hidden;
}

.project-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-weight: 800;
}

.project-number {
    width: 38px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--coral), #ff9a76);
    font-size: 14px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.project-card p {
    margin-bottom: 18px;
    color: var(--muted);
}

.project-tags span {
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--teal-dark);
    background: rgba(0, 168, 168, 0.1);
    border: 1px solid rgba(0, 168, 168, 0.14);
    font-weight: 700;
}

.contact-only {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-card {
    min-height: 132px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(23, 48, 51, 0.09);
    overflow-wrap: anywhere;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 141, 141, 0.35);
    box-shadow: 0 18px 46px rgba(23, 48, 51, 0.14);
}

.contact-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal-dark), var(--sky));
}

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

.contact-card strong,
.contact-card em {
    display: block;
}

.contact-card strong {
    margin-bottom: 4px;
    font-size: 18px;
}

.contact-card em {
    color: var(--muted);
    font-style: normal;
}

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 38px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.footer a {
    color: var(--teal-dark);
    font-weight: 700;
}

@media (max-width: 860px) {
    .site-header {
        top: 8px;
        padding: 0 12px;
    }

    .nav-toggle {
        display: block;
    }

    .brand {
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        left: 12px;
        right: 12px;
        display: none;
        grid-template-columns: 1fr;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: grid;
    }

    .nav-links a {
        justify-content: flex-start;
        text-align: left;
    }

    .hero,
    .education-card,
    .work-card,
    .work-columns {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 28px;
    }

    .quick-panel,
    .project-grid,
    .contact-only {
        grid-template-columns: 1fr;
    }

    .skill-list {
        grid-template-columns: 1fr;
    }

    .hero-media img {
        min-height: 300px;
    }

    .float-action {
        right: 12px;
        bottom: 14px;
    }
}

@media (max-width: 560px) {
    .section-band,
    .quick-panel,
    .footer {
        width: min(100% - 24px, 1180px);
    }

    .hero-actions {
        display: grid;
    }

    .wechat-hover {
        width: 100%;
    }

    .wechat-hover .button {
        width: 100%;
    }

    .wechat-popover {
        left: 0;
        width: min(260px, 100%);
        transform: translate(0, 8px);
    }

    .wechat-popover::after {
        left: 24px;
        transform: rotate(45deg);
    }

    .wechat-hover:hover .wechat-popover,
    .wechat-hover:focus-within .wechat-popover {
        transform: translate(0, 0);
    }

    .school-logo-wrap {
        width: 110px;
        height: 110px;
    }

    .footer {
        display: grid;
    }

    .feed-card.is-prev {
        transform: translate(calc(-50% - 34px), -50%) scale(0.9);
    }

    .feed-card.is-next {
        transform: translate(calc(-50% + 34px), -50%) scale(0.9);
    }
}
