/* ==========================================================================
   思域众创 · 设计系统
   浅色为默认主题，:root[data-theme="dark"] 覆盖为深色「三维视口」基调
   两版共用同一套令牌名，品牌琥珀单强调色按主题分别取可达标对比度的色值
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
    color-scheme: light;

    /* 色彩：冷调近白中性层，强调色只保留深琥珀一种 */
    --bg:        #ffffff;
    --bg-2:      #f4f6f9;
    --surface:   #ffffff;
    --surface-2: #eaeef4;
    --line:      rgba(13, 20, 32, .10);
    --line-2:    rgba(13, 20, 32, .18);
    --ink:       #0d1420;
    --ink-2:     #4a566a;
    --ink-3:     #64707e;   /* 白底 5.05:1 */
    --accent:    #a2640f;   /* 白底 4.81:1，可作小字号文本 */
    --accent-2:  #8a5809;   /* hover 加深，白字仍 6.03:1 */
    --accent-ink:#ffffff;
    --accent-a08:rgba(162, 100, 15, .08);
    --accent-a18:rgba(162, 100, 15, .18);
    --accent-glow:rgba(162, 100, 15, .30);
    --glow-a:    rgba(162, 100, 15, .07);
    --glow-b:    rgba(92, 127, 158, .18);
    --cool:      #5c7f9e;   /* 仅用于背景网格等结构元素，不作第二强调色 */
    --grid-line: rgba(52, 84, 116, .26);

    /* 深色底专用表面在浅色下的对应物 */
    --header-bg:        rgba(255, 255, 255, .82);
    --header-bg-stuck:  rgba(255, 255, 255, .94);
    --scrim:            rgba(13, 20, 32, .38);
    --lightbox-bg:      rgba(248, 249, 252, .95);
    --media-bg:         #e7ebf1;
    --hover-tint:       rgba(13, 20, 32, .025);
    --frame-veil: linear-gradient(160deg, rgba(162, 100, 15, .06), transparent 42%, rgba(13, 20, 32, .10));

    /* 版式 */
    --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
                 "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", "Roboto Mono",
                 Consolas, "Liberation Mono", monospace;

    /* 尺度 */
    --shell-max: 1240px;
    --pad-x:     clamp(20px, 5vw, 60px);
    --sec-py:    clamp(74px, 10vw, 146px);
    --header-h:  74px;

    --r-s: 4px;
    --r-m: 12px;
    --r-l: 22px;

    --ease:    cubic-bezier(.16, 1, .3, 1);
    --ease-out: cubic-bezier(.22, .61, .36, 1);

    --shadow-frame:  0 30px 60px -34px rgba(13, 20, 32, .30), 0 2px 6px -2px rgba(13, 20, 32, .10);
    --shadow-drawer: -30px 0 70px -34px rgba(13, 20, 32, .34);
    --inset-edge:    inset 0 1px 0 rgba(255, 255, 255, .7);
    --grain:         .022;
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg:        #070a10;
    --bg-2:      #090d15;
    --surface:   #0e131d;
    --surface-2: #131a26;
    --line:      rgba(255, 255, 255, .075);
    --line-2:    rgba(255, 255, 255, .14);
    --ink:       #e8edf5;
    --ink-2:     #98a4b8;
    --ink-3:     #6e7a8e;   /* 由 #616d81 的 3.79:1 提到 4.56:1 */
    --accent:    #f0a63f;
    --accent-2:  #ffc16b;
    --accent-ink:#171004;
    --accent-a08:rgba(240, 166, 63, .08);
    --accent-a18:rgba(240, 166, 63, .18);
    --accent-glow:rgba(240, 166, 63, .70);
    --glow-a:    rgba(240, 166, 63, .13);
    --glow-b:    rgba(111, 147, 184, .16);
    --cool:      #6f93b8;
    --grid-line: rgba(111, 147, 184, .17);

    --header-bg:        rgba(7, 10, 16, .82);
    --header-bg-stuck:  rgba(7, 10, 16, .94);
    --scrim:            rgba(4, 6, 10, .72);
    --lightbox-bg:      rgba(4, 6, 10, .93);
    --media-bg:         #05070c;
    --hover-tint:       rgba(255, 255, 255, .02);
    --frame-veil: linear-gradient(160deg, rgba(240, 166, 63, .07), transparent 42%, rgba(5, 7, 12, .5));

    --shadow-frame:  0 44px 88px -48px rgba(0, 0, 0, .92);
    --shadow-drawer: -30px 0 70px -30px rgba(0, 0, 0, .9);
    --inset-edge:    inset 0 1px 0 rgba(255, 255, 255, .06);
    --grain:         .035;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 细颗粒质感：固定在视口，不参与滚动重绘 */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: var(--grain);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.012em; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
strong { font-weight: 600; color: var(--ink); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--r-s);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    border-radius: 0 0 var(--r-m) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. 通用构件 ---------- */
.shell {
    width: 100%;
    max-width: calc(var(--shell-max) + var(--pad-x) * 2);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.eyebrow__idx { color: var(--accent); }
.eyebrow__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent-a18);
    animation: pulse 2.8s var(--ease-out) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-a18); }
    55%      { box-shadow: 0 0 0 9px transparent; }
}

.section {
    padding-block: var(--sec-py);
    border-top: 1px solid var(--line);
    background-color: var(--bg);
}
.section--alt { background-color: var(--bg-2); }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.section__head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 60px); }
.section__title {
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    line-height: 1.18;
    margin-top: 18px;
    color: var(--ink);
}
.section__desc {
    margin-top: 16px;
    max-width: 62ch;
    color: var(--ink-2);
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
}

/* 媒体框：所有图片/视频共用同一套「视口」语言 */
.frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-m);
    border: 1px solid var(--line-2);
    background-color: var(--media-bg);
    box-shadow: var(--shadow-frame), var(--inset-edge);
}
.frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter .7s var(--ease);
}
[data-lightbox] { cursor: zoom-in; }
[data-lightbox]:hover img { transform: scale(1.055); filter: saturate(1.08) brightness(1.05); }

/* HUD 角标 */
.tick {
    position: absolute;
    width: 16px; height: 16px;
    border: 0 solid var(--accent);
    opacity: .85;
    pointer-events: none;
}
.tick--tl { top: 10px;    left: 10px;  border-top-width: 1.5px;    border-left-width: 1.5px; }
.tick--tr { top: 10px;    right: 10px; border-top-width: 1.5px;    border-right-width: 1.5px; }
.tick--bl { bottom: 10px; left: 10px;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.tick--br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .45s var(--ease), background-color .35s, border-color .35s,
                color .35s, box-shadow .45s var(--ease);
}
.btn__icon { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .45s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: scale(.975); }

.btn--solid {
    background-color: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 16px 34px -18px var(--accent-glow);
}
.btn--solid:hover { background-color: var(--accent-2); transform: translateY(-2px); }

.btn--outline {
    border-color: var(--line-2);
    color: var(--ink);
    background-color: var(--hover-tint);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--outline:hover .btn__icon { color: var(--accent); }

.btn--ghost { color: var(--ink-2); padding-inline: 6px; }
.btn--ghost:hover { color: var(--ink); }

.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- 4. 顶部辅助信息条 ---------- */
.utility {
    border-bottom: 1px solid var(--line);
    background-color: var(--bg-2);
}
.utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 9px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    color: var(--ink-3);
}
.utility__org { margin: 0; text-transform: none; }
.utility__meta { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.utility__sep { width: 1px; height: 11px; background: var(--line-2); }
.utility__tel { color: var(--ink-2); text-decoration: none; transition: color .3s; }
.utility__tel:hover { color: var(--accent); }

/* ---------- 5. 主导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: var(--header-bg);
    border-bottom: 1px solid transparent;
    transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
/* 玻璃质感只在桌面开启：backdrop-filter 会成为 fixed 后代的包含块，
   若在手机上也应用，抽屉式导航的定位会被压缩到 74px 高的头部盒内 */
@media (min-width: 901px) {
    .site-header {
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        backdrop-filter: blur(16px) saturate(150%);
    }
}
.site-header.is-stuck {
    background-color: var(--header-bg-stuck);
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 3vw, 40px);
    height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); text-decoration: none; min-width: 0; }
.brand__mark { height: 38px; width: auto; flex: 0 0 auto; }
.brand__tag {
    padding-left: clamp(12px, 1.6vw, 18px);
    border-left: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    line-height: 1.5;
    color: var(--ink-3);
    white-space: nowrap;
}

.primary-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.primary-nav__foot { display: none; }
.nav-link {
    position: relative;
    display: inline-block;
    padding: 8px 1px;
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .35s var(--ease);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }

/* 并列站点入口：竖分隔线把它与站内导航区隔开 */
.nav-peer {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}
.nav-link--peer {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
}
.nav-link--peer:hover { color: var(--accent); }
.nav-peer__icon { width: 11px; height: 11px; flex: 0 0 auto; margin-left: 5px; }

.site-header__actions {
    position: relative;
    z-index: 890;
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger {
    display: none;
    width: 46px; height: 46px;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color .3s, background-color .3s;
}
.burger span {
    display: block;
    width: 17px; height: 1.5px;
    margin: 4px auto;
    background: var(--ink);
    transition: transform .45s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 双主题 logo：浅色用原版蓝金，深色用反白 + 琥珀 */
.brand__mark--inverted,
.site-footer__logo--inverted { display: none; }
[data-theme="dark"] .brand__mark:not(.brand__mark--inverted),
[data-theme="dark"] .site-footer__logo:not(.site-footer__logo--inverted) { display: none; }
[data-theme="dark"] .brand__mark--inverted,
[data-theme="dark"] .site-footer__logo--inverted { display: block; }

.theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    transition: color .3s, border-color .3s, transform .45s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle__icon {
    grid-area: 1 / 1;
    width: 18px; height: 18px;
    pointer-events: none;
    transition: opacity .4s var(--ease), transform .55s var(--ease);
}
.theme-toggle__icon--moon { opacity: 1; transform: none; }
.theme-toggle__icon--sun  { opacity: 0; transform: rotate(-70deg) scale(.55); }
[data-theme="dark"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(70deg) scale(.55); }
[data-theme="dark"] .theme-toggle__icon--sun  { opacity: 1; transform: none; }

.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 870;
    background: var(--scrim);
    opacity: 0;
    transition: opacity .45s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(52px, 8vh, 108px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

/* 三维视口地面网格 */
.hero__grid {
    position: absolute;
    left: -25%; right: -25%;
    bottom: -6%;
    height: 76%;
    background-image:
        linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 68px 68px;
    transform: perspective(560px) rotateX(67deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(to top, #000 4%, transparent 74%);
            mask-image: linear-gradient(to top, #000 4%, transparent 74%);
    animation: gridflow 16s linear infinite;
}
@keyframes gridflow { to { background-position: 0 68px, 0 68px; } }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--a {
    top: -18%; left: -12%;
    width: 52vw; height: 52vw;
    background: radial-gradient(circle, var(--glow-a), transparent 68%);
    animation: drift 22s var(--ease-out) infinite alternate;
}
.hero__glow--b {
    right: -14%; bottom: -22%;
    width: 58vw; height: 58vw;
    background: radial-gradient(circle, var(--glow-b), transparent 68%);
    animation: drift 27s var(--ease-out) infinite alternate-reverse;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(5%, 7%, 0) scale(1.14); }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.hero__title {
    margin-top: 24px;
    font-size: clamp(2.3rem, 5.6vw, 4.05rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}
.hero__title-accent { color: var(--accent); }
.hero__lead {
    margin-top: 24px;
    max-width: 46ch;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.85;
    color: var(--ink-2);
    text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vw, 40px); }

/* 载入序列 */
.hero__copy > * { animation: riseIn .95s var(--ease) backwards; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .14s; }
.hero__copy > *:nth-child(3) { animation-delay: .23s; }
.hero__copy > *:nth-child(4) { animation-delay: .32s; }
.hero__copy > *:nth-child(5) { animation-delay: .41s; }
.hero__stage { animation: riseIn 1.1s var(--ease) .3s backwards; }
@keyframes riseIn {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to   { opacity: 1; transform: none; }
}

/* 数据统计条 */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: clamp(38px, 5.5vw, 62px) 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.stat-strip__item { padding-left: 18px; border-left: 1px solid var(--line); }
.stat-strip__item:first-child { padding-left: 0; border-left: 0; }
.stat-strip dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.stat-strip dd {
    margin: 6px 0 0;
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.stat-strip .unit { color: var(--accent); margin-left: 1px; }

/* Hero 舞台：主视口 + 错位小图 */
.hero__stage { position: relative; }
.viewport { margin: 0; }
.viewport__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 4px 10px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.viewport__live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.viewport__live i {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: blink 1.9s var(--ease-out) infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.viewport__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-m);
    border: 1px solid var(--line-2);
    background-color: var(--media-bg);
    box-shadow: var(--shadow-frame), var(--inset-edge);
}
.viewport__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: slowZoom 24s var(--ease-out) infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.075); } }
.viewport__frame::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--frame-veil);
    pointer-events: none;
}
.viewport__cap {
    padding: 12px 4px 0;
    font-size: 12.5px;
    color: var(--ink-3);
}

.viewport--mini {
    position: absolute;
    right: -5%;
    bottom: 7%;
    left: auto;
    z-index: 2;
    width: 37%;
    margin: 0;
    animation: float 8s var(--ease-out) infinite alternate;
}
.viewport--mini .viewport__frame { aspect-ratio: 4 / 3; border-radius: var(--r-s); }
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -14px, 0); } }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transform: translateX(-50%);
}
.hero__scroll-line {
    width: 1px; height: 42px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollHint 2.4s var(--ease-out) infinite;
    transform-origin: top;
}
@keyframes scrollHint { 0%, 100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
.hero__scroll-text {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ---------- 并列站点横幅（主页互跳入口） ---------- */
.peer-strip {
    background-color: var(--bg-2);
    border-bottom: 1px solid var(--line);
}
.peer-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 36px);
    padding-block: clamp(26px, 4.4vw, 46px);
}
.peer-strip__kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 8px;
}
.peer-strip__title {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -.015em;
}
.peer-strip__desc {
    margin-top: 8px;
    font-size: .95rem;
    color: var(--ink-2);
    max-width: 54ch;
}
.peer-strip__btn { flex: 0 0 auto; }

/* ---------- 8. 实验室简介 ---------- */
.intro {
    display: grid;
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
    gap: clamp(30px, 6vw, 84px);
    align-items: start;
}
.intro__sticky { position: sticky; top: calc(var(--header-h) + 44px); }

.pull-quote {
    margin: 0 0 30px;
    padding: 0 0 0 26px;
    border-left: 2px solid var(--accent);
}
.pull-quote p {
    font-size: clamp(1.06rem, 1.7vw, 1.24rem);
    line-height: 1.85;
    color: var(--ink);
    font-weight: 400;
}
.pull-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 11.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.prose { padding-block: clamp(26px, 4vw, 42px); border-top: 1px solid var(--line); }
.prose:first-child { border-top: 0; padding-top: 0; }
.prose:last-child { padding-bottom: 0; }
.prose h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--ink);
}
.prose__icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); }
.prose p { margin-top: 16px; max-width: 68ch; color: var(--ink-2); line-height: 1.95; text-wrap: pretty; }

.prose__quote {
    margin-top: 22px !important;
    padding: 18px 22px;
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--r-m) var(--r-m) 0;
    background: linear-gradient(90deg, var(--accent-a08), transparent 70%);
    color: var(--ink) !important;
}

/* 环境照片：非对称错位，说明文字置于图外 */
.gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
    margin-top: clamp(56px, 8vw, 108px);
}
.gallery__item { margin: 0; }
.gallery__item:not(.gallery__item--lead) { margin-top: clamp(38px, 7vw, 96px); }
.gallery__item:not(.gallery__item--lead) .frame { aspect-ratio: 4 / 3; }
.gallery__item figcaption { padding-top: 20px; }
.gallery__k {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}
.gallery__item h3 { margin-top: 10px; font-size: clamp(1.05rem, 1.9vw, 1.3rem); }
.gallery__item p { margin-top: 10px; max-width: 46ch; font-size: .93rem; line-height: 1.85; color: var(--ink-2); }

/* ---------- 9. 研究方向 ---------- */
.tracks { margin-top: clamp(20px, 3vw, 34px); }
.track {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(26px, 5vw, 74px);
    align-items: center;
    padding-block: clamp(38px, 6vw, 74px);
    border-top: 1px solid var(--line);
}
.track:first-child { border-top: 0; }
.track--flip .track__media { order: 2; }
.track__media .frame { aspect-ratio: 16 / 10; }
.track__more {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.track__idx {
    font-family: var(--font-mono);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -.03em;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-2);
}
.track__text h3 {
    margin-top: 18px;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    color: var(--ink);
}
.track__text > p { margin-top: 16px; max-width: 52ch; color: var(--ink-2); line-height: 1.9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--ink-3);
    background: var(--hover-tint);
    transition: border-color .35s, color .35s;
}
.track:hover .chips li { border-color: var(--accent-a18); color: var(--ink-2); }

/* ---------- 10. 成果展示 ---------- */
.works {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
    margin-top: clamp(40px, 6vw, 70px);
}
.work { margin: 0; }
.work--offset { margin-top: clamp(38px, 7vw, 104px); }
.work__head { padding-bottom: 20px; }
.work__idx {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}
.work__head h3 { margin-top: 12px; font-size: clamp(1.2rem, 2.3vw, 1.6rem); }
.work__head p { margin-top: 12px; max-width: 48ch; font-size: .93rem; line-height: 1.85; color: var(--ink-2); }

.player {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-m);
    border: 1px solid var(--line-2);
    background-color: var(--media-bg);
    box-shadow: var(--shadow-frame), var(--inset-edge);
}
.player video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--media-bg);
    object-fit: cover;
}

/* ---------- 11. 联系作者 ---------- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: start;
}
.contact__label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.contact__tel {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: clamp(1.85rem, 5vw, 3.1rem);
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.1;
    color: var(--ink);
    text-decoration: none;
    transition: color .4s var(--ease), transform .5s var(--ease);
}
.contact__tel:hover { color: var(--accent); transform: translateX(4px); }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.contact__hint { font-size: .84rem; color: var(--ink-3); transition: color .3s; }
.contact__hint.is-ok { color: var(--accent); }

.places { border-top: 1px solid var(--line); }
.place {
    display: grid;
    gap: 7px;
    padding-block: clamp(22px, 3.4vw, 32px);
    border-bottom: 1px solid var(--line);
}
.place__tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.place__tag--accent { color: var(--accent); }
.place h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.06rem;
    color: var(--ink);
}
.place__icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--accent); }
.place p { font-size: .92rem; color: var(--ink-2); line-height: 1.8; }
.place--cta p { max-width: 44ch; }

/* ---------- 12. 页脚 ---------- */
.site-footer {
    padding-block: clamp(42px, 6vw, 66px);
    border-top: 1px solid var(--line);
    background-color: var(--bg-2);
}
.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.site-footer__logo { height: 34px; width: auto; }
.site-footer__brand p { margin-top: 16px; font-size: .85rem; color: var(--ink-3); max-width: 34ch; }
.site-footer__nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer__nav a {
    font-size: .88rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .3s;
    width: fit-content;
}
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__end { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.to-top {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color .35s, color .35s, transform .45s var(--ease);
}
.to-top svg { width: 14px; height: 14px; }
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.site-footer__copy { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.site-footer__beian {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--ink-3);
}
.site-footer__beian a { color: inherit; text-decoration: none; transition: color .35s var(--ease); }
.site-footer__beian a:hover { color: var(--accent); }

/* ---------- 13. 滚动进度 + 图片预览 ---------- */
.scroll-rail {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 950;
    height: 2px;
    background: transparent;
    pointer-events: none;
}
.scroll-rail__bar {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: grid;
    place-items: center;
    padding: clamp(20px, 5vw, 60px);
    background: var(--lightbox-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeIn .35s var(--ease-out);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img {
    max-height: 76vh;
    width: auto;
    margin-inline: auto;
    border-radius: var(--r-m);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-frame);
    animation: zoomIn .5s var(--ease);
}
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox figcaption {
    margin-top: 18px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.lightbox__close {
    position: absolute;
    top: clamp(16px, 3vw, 30px); right: clamp(16px, 3vw, 30px);
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .3s, color .3s, transform .4s var(--ease);
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- 14. 滚动揭示 ---------- */
html.js .reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 1ms);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   15. 响应式（全部覆盖规则集中在基础规则之后，避免同特异性被反向覆盖）
   ========================================================================== */

/* 平板 / 窄桌面 */
@media screen and (max-width: 1080px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 7vw, 60px); }
    .hero__stage { max-width: 620px; }
    .viewport--mini { right: -3%; bottom: 5%; width: 40%; }
    .intro { grid-template-columns: minmax(0, 1fr); }
    .intro__sticky { position: static; }
    .pull-quote { max-width: 62ch; }
    .track, .track--flip { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .track--flip .track__media { order: 0; }
    .works, .gallery, .contact { grid-template-columns: minmax(0, 1fr); }
    .work--offset,
    .gallery__item:not(.gallery__item--lead) { margin-top: clamp(40px, 8vw, 66px); }
    .site-footer__inner { grid-template-columns: minmax(0, 1fr) auto; }
    .site-footer__end { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* 901–1180：隐藏品牌副标并收窄并列入口。
   导航新增第 6 项（并列站点入口，约 98–131px）后，901–1000px 区间溢出最多 86px——
   该站原本在 901px 就只剩 12.5px 余量。副标在 ≤900px 抽屉档本就已隐藏，
   这里只是把边界上移，并与基地主站的 901–1180 隐藏边界保持一致。 */
@media screen and (min-width: 901px) and (max-width: 1180px) {
    .brand__tag { display: none; }
    .nav-peer { padding-left: 14px; }
    .nav-peer__icon { display: none; }
}

/* 移动端导航（抽屉） */
@media screen and (max-width: 900px) {
    .utility { display: none; }
    :root { --header-h: 66px; }

    /* 无 backdrop-filter 时半透明会让正文透出，移动端一律不透明 */
    .site-header, .site-header.is-stuck { background-color: var(--bg); }

    .site-header__cta { display: none; }
    .burger { display: block; }
    .brand__tag { display: none; }
    .brand__mark { height: 34px; }
    body.nav-open { overflow: hidden; }

    .primary-nav {
        position: fixed;
        top: var(--header-h); right: 0; bottom: 0;
        z-index: 880;
        width: min(86vw, 360px);
        padding: 30px 30px 34px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: var(--surface);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-drawer);
        transform: translate3d(101%, 0, 0);
        visibility: hidden;
        transition: transform .55s var(--ease), visibility 0s linear .55s;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    body.nav-open .primary-nav {
        transform: none;
        visibility: visible;
        transition: transform .55s var(--ease), visibility 0s;
    }
    .primary-nav__list { flex: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; }
    .primary-nav__list li { border-bottom: 1px solid var(--line); }
    .primary-nav__list li:first-child { border-top: 1px solid var(--line); }
    .nav-link { display: block; padding: 19px 2px; font-size: 1.06rem; }
    .nav-link::after { display: none; }
    .nav-link.is-current { color: var(--accent); }
    .nav-peer { padding-left: 0; border-left: 0; }
    .peer-strip__btn { flex: 1 1 100%; justify-content: center; }
    .primary-nav__foot {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-top: 26px;
        font-family: var(--font-mono);
        font-size: 12px;
        letter-spacing: .1em;
    }
    .primary-nav__note { color: var(--ink-3); font-size: 10.5px; letter-spacing: .16em; }
    .primary-nav .btn--solid { margin-top: 22px; justify-content: center; }
}

/* 手机 */
@media screen and (max-width: 700px) {
    :root {
        --pad-x: 20px;
        --sec-py: clamp(58px, 13vw, 84px);
    }

    .hero {
        min-height: auto;
        padding-block: clamp(46px, 11vw, 72px) clamp(58px, 13vw, 84px);
    }
    .hero__grid { left: -40%; right: -40%; height: 60%; background-size: 46px 46px; }
    @keyframes gridflow { to { background-position: 0 46px, 0 46px; } }
    .hero__title { font-size: clamp(1.95rem, 8.6vw, 2.6rem); }
    .hero__lead { font-size: .97rem; }
    .hero__actions { gap: 10px; }
    .hero__actions .btn { flex: 1 1 0; justify-content: center; padding-inline: 14px; }
    .hero__actions .btn--ghost {
        padding-inline: 14px;
        border: 1px solid var(--line-2);
        border-radius: 999px;
        color: var(--ink);
    }
    .hero__scroll { display: none; }

    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
    .stat-strip__item:nth-child(odd) { padding-left: 0; border-left: 0; }

    .viewport--mini {
        position: static;
        width: 66%;
        margin-top: 22px;
        animation: none;
    }

    .section__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
    .prose p, .track__text > p, .gallery__item p, .work__head p { font-size: .93rem; line-height: 1.85; }
    .track__idx { font-size: clamp(2.2rem, 12vw, 3rem); }
    .track__more { grid-template-columns: minmax(0, 1fr); }
    .contact__row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .contact__row .btn { width: 100%; justify-content: center; }

    .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .site-footer__nav { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
    .site-footer__end { flex-direction: column; align-items: flex-start; }

    .lightbox img { max-height: 62vh; }
}

/* 超窄屏（≤380px）兜底 */
@media screen and (max-width: 380px) {
    .hero__title { font-size: 1.72rem; }
    .stat-strip { grid-template-columns: minmax(0, 1fr); }
    .stat-strip__item { padding-left: 0; border-left: 0; }
    .viewport--mini { width: 100%; }
}

/* 触屏：取消 hover 依赖，避免点击后样式残留 */
@media (hover: none) {
    [data-lightbox]:hover img { transform: none; filter: none; }
    .btn:hover { transform: none; }
    .to-top:hover { transform: none; }
    .contact__tel:hover { transform: none; }
    .lightbox__close:hover { transform: none; }
}

/* 尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    html.js .reveal { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
    .site-header, .utility, .hero__bg, .hero__scroll,
    .scroll-rail, .burger, .theme-toggle, .lightbox { display: none !important; }
    body { background: #fff; color: #000; }
}
