:root {
    --bg: #f7f5f2;
    --surface: #fffdfb;
    --surface-alt: #f1eee9;
    --ink: #1d172b;
    --muted: #6b6478;
    --faint: #98919f;
    --line: #e3ded7;
    --line-soft: #ebe7e1;
    --brand: #4e338f;
    --brand-hover: #3f2875;
    --brand-soft: #efebf9;
    --rose: #c73572;
    --rose-soft: #fbeef4;
    --header-bg: rgba(247, 245, 242, 0.86);
    --shadow: 0 1px 2px rgba(29, 23, 43, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --nav-height: 64px;
    --mono: "SF Mono", "Cascadia Code", Consolas, monospace;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #121019;
    --surface: #1a1724;
    --surface-alt: #171420;
    --ink: #ece8f3;
    --muted: #a49db3;
    --faint: #756e85;
    --line: #2b2738;
    --line-soft: #232030;
    --brand: #b39af2;
    --brand-hover: #c7b4f7;
    --brand-soft: #241e35;
    --rose: #f07aac;
    --rose-soft: #2b1c27;
    --header-bg: rgba(18, 16, 25, 0.86);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }

::selection { background: var(--brand-soft); color: var(--brand); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: none;
    vertical-align: -0.12em;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.icon-sun { --icon: url("/static/icons/sun.svg"); }
.icon-moon { --icon: url("/static/icons/moon.svg"); }
.icon-menu { --icon: url("/static/icons/menu.svg"); }
.icon-close { --icon: url("/static/icons/close.svg"); }
.icon-arrow-right { --icon: url("/static/icons/arrow-right.svg"); }
.icon-arrow-up { --icon: url("/static/icons/arrow-up.svg"); }
.icon-arrow-down { --icon: url("/static/icons/arrow-down.svg"); }
.icon-external { --icon: url("/static/icons/external.svg"); }
.icon-mail { --icon: url("/static/icons/mail.svg"); }
.icon-heart { --icon: url("/static/icons/heart.svg"); }
.icon-chat { --icon: url("/static/icons/chat.svg"); }
.icon-code { --icon: url("/static/icons/code.svg"); }
.icon-package { --icon: url("/static/icons/package.svg"); }
.icon-blocks { --icon: url("/static/icons/blocks.svg"); }
.icon-search { --icon: url("/static/icons/search.svg"); }
.icon-globe { --icon: url("/static/icons/globe.svg"); }
.icon-smile { --icon: url("/static/icons/smile.svg"); }
.icon-notebook { --icon: url("/static/icons/notebook.svg"); }
.icon-spark { --icon: url("/static/icons/spark.svg"); }
.icon-github { --icon: url("/static/icons/github.svg"); }
.icon-bilibili { --icon: url("/static/icons/bilibili.svg"); }
.icon-youtube { --icon: url("/static/icons/youtube.svg"); }
.icon-kuaishou { --icon: url("/static/icons/kuaishou.svg"); }
.icon-wechat { --icon: url("/static/icons/wechat.svg"); }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
    width: 100%;
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-soft); }
.brand-name { font-size: 16px; white-space: nowrap; }
.brand-latin {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.03em;
    color: var(--faint);
    padding-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-alt); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--ink); background: var(--surface-alt); border-color: var(--line-soft); }
.icon-btn .icon { width: 18px; height: 18px; }
.icon-sun, .icon-moon { display: none; }
html:not([data-theme="dark"]) .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle .icon-menu, .nav-toggle .icon-close { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
html[data-theme="dark"] .btn-primary { color: #14101f; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-small { padding: 8px 16px; font-size: 13.5px; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
}
.text-link .icon { width: 15px; height: 15px; transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(2px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(54% 58% at 76% 34%, var(--brand-soft) 0%, transparent 72%);
    opacity: 0.45;
    pointer-events: none;
}
.hero-art {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: min(780px, 64%);
    aspect-ratio: 1200 / 520;
    background: var(--brand);
    opacity: 0.26;
    -webkit-mask: url("/static/icons/hero-boat.svg") center / contain no-repeat;
    mask: url("/static/icons/hero-boat.svg") center / contain no-repeat;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1128px;
    margin: 0 auto;
    padding: 112px 24px 104px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 20px;
}
.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose);
}
.hero h1 {
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
}
.hero-slogan {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand);
}
.hero-lede {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 460px;
}

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line-soft); }

.section-head { margin-bottom: 36px; }
.kicker {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--brand);
    margin-bottom: 10px;
}
.section-head h2, .about-title h2, .contact-panel h2 {
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
}
.section-lede { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.section-lede a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.section-lede a:hover { text-decoration-color: var(--brand); }

/* ---------- 动态 ---------- */
.news-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.news-card {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.news-badge {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    background: var(--brand-soft);
    color: var(--brand);
    white-space: nowrap;
}
.news-card h3 { font-size: 15px; margin-bottom: 4px; }
.news-card p { font-size: 13.5px; color: var(--muted); }
.news-card time { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.news-important .news-badge { background: var(--rose-soft); color: var(--rose); }
.news-urgent .news-badge { background: var(--rose); color: #fff; }

/* ---------- 项目 ---------- */
.project-group { margin-top: 36px; }
.project-group:first-of-type { margin-top: 0; }
.group-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.group-head h3 { font-size: 13.5px; font-weight: 700; letter-spacing: 0; }
.group-head span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--faint);
}
.group-head i { flex: 1; height: 1px; background: var(--line-soft); }

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.project-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.project-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.project-icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    background: var(--surface-alt);
    color: var(--brand);
}
.project-icon img { width: 28px; height: 28px; object-fit: contain; }
.project-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--brand);
}
.project-badge .icon { width: 11px; height: 11px; }
.project-icon .icon { width: 22px; height: 22px; }
.project-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.project-name {
    font-size: 14.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-arrow {
    width: 15px;
    height: 15px;
    margin-left: auto;
    color: var(--faint);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
.project-card:hover .project-arrow { opacity: 1; transform: none; color: var(--brand); }

/* ---------- 关于 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
}
.about-copy { max-width: 660px; }
.about-lead { font-size: 19px; line-height: 1.7; font-weight: 500; letter-spacing: -0.01em; }
.about-copy p + p { margin-top: 14px; }
.about-copy p:not(.about-lead):not(.about-sign) { color: var(--muted); font-size: 14.5px; }
.about-sign {
    margin-top: 24px !important;
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    color: var(--brand);
}
.about-links { display: flex; gap: 24px; margin-top: 26px; }

/* ---------- 历程 ---------- */
.timeline-wrap { position: relative; }
.timeline {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    cursor: grab;
}
.timeline.active { cursor: grabbing; }
.timeline::-webkit-scrollbar { height: 4px; }
.timeline::-webkit-scrollbar-track { background: transparent; }
.timeline::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.timeline-item {
    flex: 0 0 262px;
    scroll-snap-align: start;
}
.timeline-content {
    height: 100%;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}
.timeline-content:hover { border-color: var(--brand); transform: translateY(-2px); }
.timeline-date {
    display: block;
    margin-bottom: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--brand);
}
.timeline-content h3 { font-size: 14.5px; font-weight: 650; line-height: 1.45; margin-bottom: 6px; }
.timeline-content p {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.timeline-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.timeline-content a:hover { text-decoration-color: var(--brand); color: var(--brand); }
@media (max-width: 640px) {
    .timeline-item { flex-basis: 80vw; }
}

/* ---------- 成员 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.member-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.member-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.member-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.member-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-alt);
}
.member-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.member-role { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.member-bio { font-size: 13.5px; line-height: 1.7; color: var(--muted); flex: 1; }
.member-sign {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--faint);
    border-left: 2px solid var(--line);
    padding-left: 12px;
}
.member-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
}
.member-link .icon { width: 14px; height: 14px; transition: transform 0.2s; }
.member-link:hover .icon { transform: translateX(2px); }
.member-avatar-group { display: flex; }
.member-avatar-group img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface);
    background: var(--surface-alt);
}
.member-avatar-group img + img { margin-left: -12px; }
.member-past { background: transparent; border-style: dashed; }

/* ---------- 联系 / 支持 ---------- */
.contact-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.contact-panel h2 { margin-bottom: 8px; }
.contact-panel p:not(.kicker) { font-size: 14.5px; color: var(--muted); }
.support-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.support-copy p { font-size: 16.5px; color: var(--ink); }
.support-copy .btn { margin-top: 18px; }
.support-art {
    flex: none;
    width: min(300px, 34%);
    aspect-ratio: 360 / 220;
    background: var(--brand);
    opacity: 0.55;
    -webkit-mask: url("/static/icons/support-boat.svg") center / contain no-repeat;
    mask: url("/static/icons/support-boat.svg") center / contain no-repeat;
    pointer-events: none;
}
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- 页脚 ---------- */
.site-footer {
    margin-top: 40px;
    padding: 60px 0 24px;
    background: var(--surface-alt);
    border-top: 1px solid var(--line-soft);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand > p { font-size: 13px; color: var(--muted); }
.social-row { display: flex; gap: 8px; margin-top: 20px; }
.footer-brand > p.footer-support { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--faint); }
.footer-support a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-support a:hover { color: var(--ink); }
.social {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social .icon { width: 17px; height: 17px; }
.social:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.footer-col h3 {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--faint);
    font-family: var(--mono);
    font-weight: 500;
    margin-bottom: 14px;
}
.footer-col li { margin-bottom: 7px; }
.footer-col a { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.footer-legal { max-width: 900px; }
.footer-legal p { font-size: 11.5px; line-height: 1.75; color: var(--faint); }
.footer-legal p + p { margin-top: 8px; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--ink); }
.footer-filing a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--faint);
    white-space: nowrap;
}
.footer-filing img { width: 14px; height: 14px; }

/* ---------- 二维码弹层 ---------- */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.qr-modal.open { display: flex; }
.qr-modal-backdrop { position: absolute; inset: 0; background: rgba(18, 15, 25, 0.55); backdrop-filter: blur(4px); }
.qr-modal-panel {
    position: relative;
    width: min(360px, 100%);
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}
.qr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.qr-modal-close:hover { background: var(--surface-alt); color: var(--ink); }
.qr-modal-title { font-size: 16px; margin-bottom: 18px; }
.qr-modal-code { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.qr-modal-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.qr-modal-id {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: 12.5px;
}
.qr-modal-id-label { color: var(--faint); }
.qr-modal-id-value { flex: 1; text-align: left; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.qr-modal-copy {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}
.qr-modal-copy:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 确认弹层 ---------- */
.qr-modal-confirm { text-align: left; }
.qr-modal-confirm .qr-modal-title { margin-bottom: 10px; }
.qr-modal-text { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin-bottom: 20px; }
.qr-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.qr-modal-actions .btn { width: 100%; }
.qr-modal-skip {
    text-align: center;
    font-size: 12.5px;
    color: var(--faint);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.qr-modal-skip:hover { color: var(--ink); }

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--muted);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { color: var(--ink); }
.back-to-top .icon { width: 17px; height: 17px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .hero-art { display: none; }
}

@media (max-width: 1024px) {
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px -16px rgba(29, 23, 43, 0.25);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; font-size: 15px; }
    .nav-toggle { display: inline-flex; }
    .nav-contact { display: none; }

    .hero-inner { padding: 64px 24px 56px; }
    .section { padding: 64px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-panel { flex-direction: column; align-items: flex-start; padding: 28px; }
    .support-row { flex-direction: column; align-items: flex-start; gap: 24px; }
    .support-art { width: 220px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
    .brand-latin { display: none; }
    .brand-name { font-size: 15px; }
    .nav-inner { gap: 12px; padding: 0 16px; }
    .container { padding: 0 18px; }
    .hero-inner { padding: 48px 18px 44px; }
    .hero h1 { font-size: clamp(34px, 10vw, 46px); }
    .hero-slogan { font-size: 15px; }
    .project-grid, .news-container, .team-grid, .footer-grid { grid-template-columns: 1fr; }
    .project-card { padding: 14px 16px; }
    .project-arrow { opacity: 1; transform: none; }
    .timeline-item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
    .timeline-item::before { display: none; }
    .timeline-item time, .timeline-item h3, .timeline-item p { grid-column: auto; grid-row: auto; }
    .timeline-item time { font-size: 11px; }
    .contact-actions { width: 100%; }
    .contact-actions .btn { width: 100%; }
    .footer-grid { gap: 26px; }
    .social-row { flex-wrap: wrap; }
    .footer-filing { white-space: normal; }
    .qr-modal-panel { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
