/* ═════════ 设计系统 ═════════
   画布：纯白；卡片用很浅的灰；正文深墨；一个主色（绿 / 蓝 / 橙，可在调色面板切换），另有深色模式。
   字体：MiSans 一套，四个字重；字号只用下面七级。
   间距：8 的倍数；区块之间靠留白与底色分隔，不用细线。 */
:root {
  --canvas: #ffffff;
  --panel: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #3a3a3c;
  --mute: #6e6e73;
  --faint: #d2d2d7;
  --accent-l: #12805c;
  --accent-d: #5ccfa0;
  --bg: var(--panel);
  --ink: var(--text);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --fs-display: clamp(52px, 8.4vw, 128px);
  --fs-h1: clamp(40px, 5.4vw, 76px);
  --fs-h2: clamp(32px, 3.8vw, 52px);
  --fs-h3: clamp(22px, 2vw, 30px);
  --fs-lead: clamp(19px, 1.55vw, 23px);
  --fs-body: 17px;
  --fs-small: 14px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --accent: var(--accent-l);
  --sans: MiSans, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
html[data-accent="blue"] { --accent-l: #1d63d8; --accent-d: #6ea8ff; }
html[data-accent="orange"] { --accent-l: #c2410c; --accent-d: #ff8a4c; }
html.dark { --canvas: #000; --panel: #161617; --text: #f5f5f7; --text-2: #d1d1d6; --mute: #98989d; --faint: #3a3a3c; --accent: var(--accent-d); --bg: var(--panel); --ink: var(--text); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); font-size: var(--fs-body); line-height: 1.7; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
p, dd, figcaption, h3 { text-wrap: pretty; }
.tile h3, .tile-result, .case-hero h1 { word-break: keep-all; }
.outcome p { text-wrap: balance; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 6px; }
::selection { background: #b4d5fe; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
[hidden] { display: none !important; }

/* 按钮：胶囊形，三种 */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; font-size: var(--fs-body); font-weight: 500; white-space: nowrap; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.pill:active { transform: scale(.97); }
.pill-ink { background: var(--text); color: var(--canvas); }
.pill-ink:hover { background: var(--text-2); }
.pill-line { box-shadow: inset 0 0 0 1.5px var(--text); }
.pill-line:hover { background: var(--text); color: var(--canvas); }
.pill-sm { height: 32px; padding: 0 14px; font-size: var(--fs-small); background: var(--text); color: var(--canvas); }
.pill-onbg { background: var(--ink); color: var(--bg); }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .06); transition: background .2s, transform .2s; }
.round:hover { background: rgba(0, 0, 0, .12); }
html.dark .round { background: rgba(255, 255, 255, .12); }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═════════ 导航 ═════════ */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 56px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: .02em; margin-right: auto; }
.nav-links { display: flex; gap: 28px; font-size: var(--fs-small); color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ═════════ 首页首屏 ═════════ */
.hero { position: relative; min-height: calc(100svh - 56px); display: flex; align-items: center; padding: 64px 0 96px; }
.hero-in { position: relative; z-index: 2; }
.hero-title { font-size: clamp(44px, 6.4vw, 100px); line-height: 1.06; font-weight: 700; letter-spacing: -.01em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; }
.hero-lead .seg { display: block; }
.hero-lead { margin-top: 32px; max-width: 30em; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.desk { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fly { position: absolute; will-change: transform; }
.fly { width: 150px; }
.fly-school { left: 63%; top: 4%; width: 168px; }
.fly-skills { left: 81%; top: 2%; width: 140px; }
.fly-luoxi { left: 66%; top: 27%; }
.fly-hts { left: 83%; top: 25%; width: 140px; }
.fly-wtfd { left: 63%; top: 52%; width: 140px; }
.fly-comm { left: 81%; top: 48%; width: 130px; }
.fly-media { left: 69%; top: 72%; width: 130px; }
.fly-instagram { left: 85%; top: 70%; width: 132px; }

/* ═════════ 分区标题 ═════════ */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-bottom: 48px; }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 700; }
.sec-head p { color: var(--mute); font-size: var(--fs-body); }
.edge, .works, .social, .path { padding: 120px 0 0; }
.edge { padding-top: 48px; }
.path { padding-bottom: 120px; }

/* ═════════ 作品入口：每块用作品自己的颜色，样机放在中间 ═════════ */
/* 格子高度按网格宽度（cqi）走，窗口变窄时高宽比不变；图标按所在格子的宽度走 */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; container-type: inline-size; }
.tile { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: max(400px, 42cqi); padding: 40px 40px 0; border-radius: var(--r-xl); background: var(--bg); color: var(--ink); overflow: hidden; container-type: inline-size; }
.works .tile:nth-child(1) { grid-column: span 5; min-height: max(440px, 52cqi); }
.works .tile:nth-child(2) { grid-column: span 7; min-height: max(440px, 52cqi); }
.tile-school { grid-column: span 7; min-height: max(440px, 50cqi); }
.t-skills { grid-column: span 5; min-height: max(440px, 50cqi); }
.tile-text { position: relative; z-index: 4; max-width: 22em; }
.tile-kind { font-size: var(--fs-small); font-weight: 650; color: var(--accent); }
.tile h3 { margin-top: 10px; font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.tile-result { margin-top: 10px; font-size: var(--fs-body); opacity: .72; text-wrap: balance; }
.tile-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0 72px; }
.tile-visual .sym { width: clamp(96px, 40cqi, 240px); transition: transform .8s var(--ease); }
.tile:hover .tile-visual .sym { transform: translateY(-10px) scale(1.02); }
.tile-plus { position: absolute; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform .5s var(--ease); z-index: 4; }
.tile-plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.tile:hover .tile-plus { transform: rotate(90deg); }
.tile-wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 56px; }
.tile-wide .tile-visual { padding: 0; }
.tile-wide .tile-visual .sym { width: clamp(120px, 20cqi, 220px); }

/* ═════════ 样机 ═════════ */
.mk { position: relative; container-type: inline-size; }
.mk img { width: 100%; height: 100%; object-fit: cover; }
.mk-booklet { aspect-ratio: 727 / 1400; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(18, 61, 39, .55), 0 6px 16px rgba(0, 0, 0, .12); }
.mk-booklet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .12) 3%, transparent 7%); }
.mk-film { aspect-ratio: 854 / 316; border-radius: 12px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(232, 163, 61, .5); }
.mk-poster { aspect-ratio: 1055 / 1491; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(79, 53, 0, .5), 0 6px 16px rgba(0, 0, 0, .1); }
.mk-phone { aspect-ratio: 9 / 18.6; }
.ph-frame { height: 100%; padding: 3.6cqw; border-radius: 15cqw; background: #1d1d1f; box-shadow: 0 50px 80px -40px rgba(94, 22, 56, .55), inset 0 0 0 .6cqw #3a3a3c; }
.ph-screen { height: 100%; border-radius: 11.5cqw; background: #fff; overflow: hidden; display: flex; flex-direction: column; color: #1d1d1f; padding-top: 12cqw; }
.ig-top { display: flex; align-items: center; gap: 3cqw; padding: 0 5cqw 3.5cqw; font-size: 5.4cqw; }
.ig-top b { font-weight: 650; }
.ig-avatar { width: 9cqw; height: 9cqw; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 .6cqw #fff, 0 0 0 1.1cqw #d2d2d7; }
.mk-phone img { aspect-ratio: 1; height: auto; }
.ig-acts { display: flex; align-items: center; gap: 4.4cqw; padding: 4cqw 5cqw 2.5cqw; }
.ig-acts svg { width: 8cqw; height: 8cqw; fill: none; stroke: #1d1d1f; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ig-acts span { flex: 1; }
.ig-cap { padding: 0 5cqw; font-size: 5cqw; line-height: 1.45; color: #1d1d1f; }
.ig-cap b { font-weight: 650; }
.mk-browser { aspect-ratio: 5 / 4; }
.br-win { height: 100%; border-radius: 3.2cqw; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 70px -36px rgba(19, 47, 107, .55), 0 0 0 1px rgba(0, 0, 0, .06); }
.br-bar { flex: none; display: flex; align-items: center; gap: 1.6cqw; height: 8cqw; padding: 0 3.2cqw; background: #f0f0f2; }
.br-bar i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #ff5f57; }
.br-bar i:nth-child(2) { background: #febc2e; }
.br-bar i:nth-child(3) { background: #28c840; }
.br-bar span { margin-left: 3cqw; flex: 1; max-width: 46cqw; height: 4.8cqw; border-radius: 99px; background: #fff; font-size: 2.6cqw; line-height: 4.8cqw; text-align: center; color: #6e6e73; }
.br-page { flex: 1; overflow: hidden; }
.br-page img { object-position: top; }

/* ═════════ 自我介绍：随滚动逐字点亮 ═════════ */
.statement { padding: 120px 0 40px; }
.statement-text { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.5; font-weight: 700; max-width: 22em; }
.js .statement-text .ch { color: var(--faint); transition: color .25s; }
.js .statement-text .ch.on { color: var(--text); }

/* ═════════ 能力 ═════════ */
.skills-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; padding: 64px; border-radius: var(--r-xl); background: var(--panel); }
.skill h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.skill p { margin-top: 12px; color: var(--text-2); max-width: 26em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; background: var(--canvas); font-size: var(--fs-small); color: var(--text); transition: background .2s; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.chip:hover { background: var(--faint); }
.kv { display: grid; gap: 16px; margin-top: 40px; padding-inline: 64px; }
.kv div { display: grid; grid-template-columns: 7em 1fr; gap: 24px; }
.kv dt { color: var(--mute); }

/* ═════════ 经历时间线 ═════════ */
.tl { position: relative; display: grid; gap: 0; max-width: 880px; font-size: 19px; }
.tl-rail { position: absolute; left: calc(7.5em + 28px + 5px); top: 14px; bottom: 14px; width: 2px; background: var(--faint); }
.tl-fill { position: absolute; inset: 0; background: var(--text); transform-origin: top; transform: scaleY(0); }
.tl-item { display: grid; grid-template-columns: 7.5em 12px 1fr; align-items: center; gap: 0 28px; padding: 14px 0; }
.tl-item time { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--mute); }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--faint); position: relative; z-index: 1; }
.tl-item.has-link .tl-dot { background: var(--accent); box-shadow: none; }
.tl-item a { font-weight: 500; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .4s var(--ease); }
.tl-item a:hover { background-size: 100% 1.5px; }

/* ═════════ 联系 ═════════ */
.contact { padding: 160px 0 120px; }
.contact-title { font-size: var(--fs-h1); line-height: 1.12; font-weight: 700; }
.mail { display: inline-block; margin-top: 40px; font-size: clamp(24px, 3.2vw, 44px); font-weight: 650; overflow-wrap: anywhere; color: var(--accent); }

.mail:hover { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 2px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.copy-done { background: #1d8f4e !important; color: #fff !important; }
.foot { padding: 24px 0 40px; font-size: var(--fs-small); color: var(--mute); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot-in span:last-child { display: flex; gap: 20px; }
.foot a:hover { color: var(--text); }

/* ═════════ 项目页 ═════════ */
.case-hero { background: var(--hero, var(--canvas)); color: var(--ink); padding: 48px 0 112px; }
.case-hero-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 20px; align-items: center; min-height: calc(100svh - 56px - 160px); }
.case-hero-text { grid-column: 1 / span 6; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-small); font-weight: 500; opacity: .7; transition: opacity .2s; margin-bottom: 48px; }
.back:hover { opacity: 1; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-kind { font-size: var(--fs-small); font-weight: 650; color: var(--accent); }
.case-hero h1 { margin-top: 12px; font-size: var(--fs-h1); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.case-summary { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.6; max-width: 24em; opacity: .85; }
.case-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 48px; font-size: var(--fs-small); }
.case-meta dt { opacity: .6; margin-bottom: 4px; }
.case-meta dd { font-weight: 500; line-height: 1.55; }
.case-hero-visual { grid-column: 8 / -1; display: flex; justify-content: center; }
.case-luoxi .case-hero-visual .mk { width: min(56%, 300px); }
.case-hts .case-hero-visual { grid-column: 1 / -1; order: -1; margin-bottom: 64px; }
.case-hts .case-hero-text { grid-column: 1 / -1; }
.case-hts .case-hero-visual .mk { width: 100%; }
.case-wtfd .case-hero-visual .mk { width: min(70%, 380px); }
.case-comm .case-hero-visual .mk { width: min(52%, 300px); }
.case-media .case-hero-visual .mk { width: 100%; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding-block: 120px 40px; }
.stat b { display: block; font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--mute); }

.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 20px; padding-block: 120px; }
.story-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: 104px; }
.story-side h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 700; }
.story-side p { margin-top: 20px; color: var(--text-2); }
.steps { grid-column: 6 / -1; position: relative; display: grid; gap: 56px; padding-left: 48px; }
.steps-rail { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--faint); }
.steps-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: -48px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--accent); }
.step-no { font-size: var(--fs-small); font-weight: 650; color: var(--accent); }
.steps h3 { margin-top: 4px; font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }
.steps p { margin-top: 12px; color: var(--text-2); max-width: 32em; }

/* 展示模块 */
.mod { padding-block: 120px; }
.mod-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.mod-head h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 700; }
.mod-head p { color: var(--mute); max-width: 30em; }
.mod-cap { margin-top: 16px; color: var(--mute); font-size: var(--fs-small); }
.zoomable { display: block; width: 100%; cursor: zoom-in; }
figcaption { margin-top: 14px; font-size: var(--fs-small); color: var(--mute); line-height: 1.5; }

/* 横向长廊：活动现场 */
.rail { overflow: hidden; }
.rail-track { display: flex; gap: 20px; width: max-content; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.rail-item img { height: min(60vh, 560px); width: auto; border-radius: var(--r-lg); object-fit: cover; }

/* 手册全景：两行反向平移 */
.pano { overflow: hidden; }
.pano-rows { display: grid; gap: 20px; }
.pano-row { width: max-content; margin-inline: auto; cursor: zoom-in; will-change: transform; }
.pano-row img { height: 31vw; width: auto; max-width: none; border-radius: var(--r-md); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .4); }

/* 扇形展开：策划案、海报 */
.fan-stage { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 20px; }
.fan-card .zoomable { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .05); }
.fan-doc .fan-card .zoomable { aspect-ratio: 1414 / 2000; padding: 4%; }
.fan-doc .fan-card img { width: 100%; height: 100%; object-fit: contain; }
.fan-poster .fan-stage { --cols: 4; }
.fan-poster .fan-card .zoomable { aspect-ratio: 1055 / 1491; }
.fan-poster .fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card { will-change: transform; }

/* 播放器 */
.case-hts .player .screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #0b0b0b; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.chapters { display: flex; gap: 8px; margin-top: 24px; }
.chapter { flex: var(--d) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; text-align: left; position: relative; color: var(--mute); transition: color .25s; }
.chapter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--faint); transition: background .25s; }
.chapter b { font-weight: 650; font-size: var(--fs-body); }
.chapter span { font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.chapter:hover { color: var(--text); }
.chapter.is-on { color: var(--text); }
.chapter.is-on::before { background: var(--accent); }

/* 单张作品 */
.single-frame .zoomable { border-radius: var(--r-xl); overflow: hidden; }
.single-frame img { width: 100%; height: auto; }
.single-cert .single-frame { max-width: 860px; }
.single-cert .single-frame .zoomable { background: #fff; padding: 4%; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .45); }

/* 长图在框里随滚动移动：物料总览 */
.scroller-frame { height: min(80vh, 760px); border-radius: var(--r-xl); overflow: hidden; background: #e9e7e1; }
.scroller-frame .zoomable { height: 100%; }
.scroller-frame img { width: min(100%, 720px); margin-inline: auto; will-change: transform; }
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pair-grid .zoomable { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.pair-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Instagram 手机 */
.ig-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 20px; align-items: center; }
.ig-list { grid-column: 1 / span 5; display: grid; gap: 4px; }
.ig-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); text-align: left; color: var(--text-2); transition: background .25s, color .25s; }
.ig-item b { font-weight: 650; font-size: var(--fs-body); }
.ig-item span { font-size: var(--fs-small); color: var(--mute); }
.ig-item:hover { background: rgba(0, 0, 0, .04); }
.ig-item.is-on { background: var(--panel); color: var(--text); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .3); }
.ig-device { grid-column: 7 / -1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mk-phone-live { width: min(100%, 360px); }
.ig-view { position: relative; aspect-ratio: 1; overflow: hidden; flex: none; }
.ig-track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.ig-slide { flex: 0 0 100%; }
.ig-slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.ig-dots { display: flex; justify-content: center; gap: 1.4cqw; padding-top: 3.4cqw; }
.ig-dots i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #c7c7cc; transition: background .25s; }
.ig-dots i.is-on { background: #0095f6; }
.mk-phone-live .ig-cap { padding-top: 2.6cqw; }
.ig-nav { display: flex; gap: 12px; }

/* 浏览器：稿件 */
.browsers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mk-browser-tall { aspect-ratio: 3 / 4; }
.mk-browser-tall .br-page .zoomable { height: 100%; }
.mk-browser-tall .br-page img { height: auto; will-change: transform; }
.browsers figcaption { display: grid; gap: 4px; }
.browsers figcaption time { font-weight: 650; color: var(--accent); }
.browsers figcaption span { color: var(--text-2); font-size: var(--fs-body); line-height: 1.6; }

.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.more-grid .zoomable { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.more-grid img, .more-grid video { width: 100%; height: 100%; object-fit: cover; }
.more { padding-block: 80px; }

.outcome-wrap { padding-block: 80px; }
.outcome { padding: 72px; border-radius: var(--r-xl); background: var(--bg); color: var(--ink); }
.outcome h2 { font-size: var(--fs-small); font-weight: 650; color: var(--accent); }
.outcome p { margin-top: 16px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; font-weight: 650; max-width: 26em; }
.outcome-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.next { padding-block: 80px 120px; }
.next-title { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 32px; }

/* 灯箱 */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(245, 245, 247, .96); color: #1d1d1f; backdrop-filter: blur(20px); }
html.dark .lightbox { background: rgba(0, 0, 0, .94); color: #f5f5f7; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lb-stage { display: flex; flex-direction: column; align-items: center; max-width: calc(100vw - 160px); height: calc(100dvh - 120px); }
.lb-stage img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; border-radius: 12px; }
.lb-caption { margin-top: 16px; font-size: var(--fs-small); color: inherit; opacity: .7; text-align: center; }
.lb-count { position: fixed; top: 24px; left: 28px; font-size: var(--fs-small); opacity: .6; font-variant-numeric: tabular-nums; }
.lb-close { position: fixed; top: 16px; right: 20px; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-count { display: none; }

.nf { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.nf h1 { font-size: var(--fs-h1); font-weight: 700; }

/* 页面切换：入口放大成整屏后再进入项目页；样机由视图过渡变形到页头 */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
::view-transition-group(*) { animation-duration: .8s; animation-timing-function: cubic-bezier(.22, .8, .2, 1); }
.curtain { position: fixed; z-index: 100; pointer-events: none; }
html.curtain-in body::after { content: ""; position: fixed; inset: 0; z-index: 100; background: var(--curtain); }

/* ═════════ 平板 ═════════ */
@media (max-width: 1080px) {
  .tile, .works .tile:nth-child(1), .works .tile:nth-child(2), .tile-school, .t-skills { grid-column: span 6; min-height: max(400px, 60cqi); }
  /* 单出来的第五块和 Instagram 卡占满一行，改成左字右图的横条 */
  .tile-wide, .works .tile:nth-child(5) { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 48px; }
  .works .tile:nth-child(5) .tile-visual { padding: 0; }
  .works .tile:nth-child(5) .tile-visual .sym { width: clamp(120px, 22cqi, 200px); }
  .skills-panel { padding: 48px; gap: 48px; }
  .kv { padding-inline: 48px; }
  .fan-doc .fan-stage { --cols: 3; }
  .browsers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═════════ 手机 ═════════ */
@media (max-width: 760px) {
  :root { --r-xl: 28px; }
  .nav-links { gap: 20px; }
  .nav-cv { display: none; }
  .hero { min-height: 0; padding: 48px 0 32px; }
  .desk { display: none; }
  .hero-lead .seg { display: inline; }
  .edge, .works, .social, .path, .mod, .story { padding-block: 72px 0; }
  .edge { padding-top: 24px; }
  .mod, .story, .path { padding-bottom: 72px; }
  .sec-head, .mod-head { margin-bottom: 32px; }
  .tile, .works .tile:nth-child(1), .works .tile:nth-child(2), .works .tile:nth-child(5), .tile-school, .t-skills { grid-column: 1 / -1; min-height: 0; padding: 32px 28px 0; }
  .tile-visual { padding: 24px 0 64px; }
  .tile-wide, .works .tile:nth-child(5) { grid-template-columns: 1fr; gap: 0; padding: 32px 28px 0; }
  .tile-wide .tile-visual, .works .tile:nth-child(5) .tile-visual { padding: 24px 0 64px; }
  .tile-visual .sym, .tile-wide .tile-visual .sym, .works .tile:nth-child(5) .tile-visual .sym { width: clamp(120px, 48cqi, 220px); }
  .statement { padding: 96px 0; }
  .skills-panel { grid-template-columns: 1fr; padding: 32px 28px; gap: 40px; }
  .kv { padding-inline: 0; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .tl { font-size: 17px; }
  .tl-rail { left: 5px; }
  .tl-item { grid-template-columns: 12px 1fr; grid-template-rows: auto auto; gap: 2px 20px; }
  .tl-item time { grid-column: 2; font-size: var(--fs-small); }
  .tl-dot { grid-row: 1 / span 2; grid-column: 1; }
  .tl-item a, .tl-item > span:last-child { grid-column: 2; }
  .contact { padding: 96px 0 72px; }
  .case-hero { padding: 24px 0 72px; }
  .case-hero-in { min-height: 0; }
  .case-hero-text, .case-hero-visual, .case-hts .case-hero-text { grid-column: 1 / -1; }
  .case-hero-visual, .case-hts .case-hero-visual { order: 0; margin: 48px 0 0; }
  .back { margin-bottom: 32px; }
  .case-meta { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 72px 0; gap: 32px 20px; }
  .story-side, .steps { grid-column: 1 / -1; }
  .story-side { position: static; margin-bottom: 48px; }
  .steps { padding-left: 40px; gap: 40px; }
  .steps li::before { left: -40px; }
  .rail-track, .pano-row { width: auto; }
  .rail-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .rail-item { scroll-snap-align: center; flex: none; }
  .rail-item img { height: 56vw; }
  .pano-rows { padding-inline: var(--pad); }
  .pano-row { overflow-x: auto; scrollbar-width: none; }
  .pano-row img { height: 44vw; max-width: none; }
  .fan-doc .fan-stage, .fan-poster .fan-stage { --cols: 2; }
  .ig-list, .ig-device { grid-column: 1 / -1; }
  .ig-list { display: flex; overflow-x: auto; gap: 8px; margin-bottom: 32px; scrollbar-width: none; }
  .ig-item { flex: none; flex-direction: column; gap: 0; padding: 12px 16px; }
  .mk-phone-live { width: min(80%, 320px); }
  .browsers-grid, .pair-grid, .more-grid { grid-template-columns: 1fr; }
  .outcome { padding: 40px 28px; }
  .lb-stage { max-width: calc(100vw - 32px); height: calc(100dvh - 160px); }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .statement-text .ch { color: inherit; }
}

/* 学校入口的大数字 */
.tile-stat { display: flex; align-items: flex-end; gap: 16px; margin-top: 28px; }
.tile-stat b { font-size: clamp(56px, 6vw, 88px); line-height: .9; font-weight: 700; letter-spacing: -.02em; color: var(--accent); }
.tile-stat span { font-size: var(--fs-small); line-height: 1.5; opacity: .7; padding-bottom: 4px; }
.tile-school .tile-visual .sym { width: clamp(140px, 44cqi, 300px); }

/* ═════════ 详情页里的象征物页头 ═════════ */
.case-hero-visual .sym { width: min(100%, 440px); }
.page-instagram .case-hero-visual .mk { width: min(52%, 300px); }
.stat-source { margin-top: -8px; font-size: var(--fs-small); color: var(--mute); }

/* 学校：课程领域、课堂作品时间轴、留学弧线 */
.story-main { grid-column: 6 / -1; }
.areas { margin-top: 40px; }
.areas-label { font-size: var(--fs-small); color: var(--mute); }
.areas ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.areas li { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--panel); font-weight: 500; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 40px; }
.track-rail { position: absolute; left: 6px; right: 0; top: 6px; height: 2px; background: var(--faint); }
.track-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.track-item { position: relative; }
.track-dot { position: absolute; top: -40px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--accent); }
.track-item time { font-size: var(--fs-small); font-weight: 650; color: var(--accent); font-variant-numeric: tabular-nums; }
.track-item h3 { margin-top: 6px; font-size: 20px; line-height: 1.4; font-weight: 700; }
.track-item h3 a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .4s var(--ease); }
.track-item h3 a:hover { background-size: 100% 1.5px; }
.track-item p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.arc { position: relative; margin-bottom: 48px; }
.arc svg { width: 100%; height: auto; overflow: visible; }
.arc-base { fill: none; stroke: var(--faint); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.arc-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.arc-end { fill: var(--accent); }
.arc-plane path { fill: var(--text); }
.arc-label { position: absolute; bottom: -4px; font-size: var(--fs-body); font-weight: 650; }
.arc-from { left: 11%; transform: translateX(-50%) translateY(100%); }
.arc-to { left: 89%; transform: translateX(-50%) translateY(100%); white-space: nowrap; }
.abroad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.abroad-item { padding: 32px; border-radius: var(--r-lg); background: var(--panel); }
.abroad-item h3 { font-size: 22px; font-weight: 700; }
.abroad-item p { margin-top: 10px; color: var(--text-2); }

/* ═════════ 技能页 ═════════ */
.skill-index { position: sticky; top: 64px; z-index: 20; display: flex; gap: 8px; width: max-content; max-width: calc(100% - 2 * var(--pad)); margin: 32px auto 0; padding: 6px; border-radius: 99px; background: color-mix(in srgb, var(--panel) 82%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .3); overflow-x: auto; scrollbar-width: none; }
.skill-index a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); white-space: nowrap; transition: background .25s, color .25s; }
.skill-index a span { color: var(--mute); font-variant-numeric: tabular-nums; }
.skill-index a.is-on { background: var(--text); color: var(--canvas); }
.skill-index a.is-on span { color: inherit; opacity: .6; }
.skill-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 20px; align-items: center; padding-block: 120px; scroll-margin-top: 120px; }
.skill-text { grid-column: 1 / span 5; }
.skill-text h2 { margin-top: 8px; font-size: var(--fs-h2); line-height: 1.12; font-weight: 700; }
.skill-lead { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.proof b { display: block; font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 8px; font-size: var(--fs-small); color: var(--mute); line-height: 1.5; }
.notes { margin-top: 32px; display: grid; gap: 10px; }
.notes li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--accent); }
.skill-text .chips { margin-top: 28px !important; }
.chip { background: var(--panel); }
.chip::before { background: var(--accent); }
.skill-demo { grid-column: 7 / -1; }
.skill-sec.is-flip .skill-text { grid-column: 8 / -1; grid-row: 1; }
.skill-sec.is-flip .skill-demo { grid-column: 1 / span 6; grid-row: 1; }

.demo { position: relative; border-radius: var(--r-xl); background: var(--panel); padding: 28px; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .35); overflow: hidden; }
.demo-bar { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--mute); margin-bottom: 20px; }
/* 策划：甘特图 */
.dp-body { position: relative; display: grid; gap: 14px; }
.dp-row { display: grid; grid-template-columns: 3.4em 1fr; align-items: center; gap: 12px; }
.dp-label { font-size: var(--fs-small); font-weight: 650; }
.dp-track { position: relative; height: 34px; border-radius: 10px; background: var(--canvas); }
.dp-bar { position: absolute; top: 0; bottom: 0; border-radius: 10px; background: var(--text); transform-origin: left; }
.dp-bar.is-final { background: var(--accent); }
.dp-track em { position: absolute; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; pointer-events: none; }
.dp-now { position: absolute; top: -8px; bottom: -8px; left: calc(3.4em + 12px); width: 2px; background: var(--accent); border-radius: 2px; }
/* 视觉：版式延展 */
.dd-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: color-mix(in srgb, var(--text) 7%, var(--canvas)); overflow: hidden; }
.dd-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0 20px; }
.dd-grid i { border-left: 1px dashed rgba(18, 128, 92, .35); border-right: 1px dashed rgba(18, 128, 92, .35); }
.dd-board { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); display: grid; padding: 6%; gap: 6%; }
.dd-main { left: 8%; top: 8%; width: 34%; height: 84%; grid-template-rows: 5fr 2fr 1fr 1fr; }
.dd-wide { left: 48%; top: 10%; width: 44%; height: 34%; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr 1fr; padding: 4%; gap: 4% 6%; }
.dd-wide .dd-kv { grid-row: 1 / -1; }
.dd-square { left: 56%; top: 52%; width: 28%; aspect-ratio: 1; height: auto; grid-template-rows: 3fr 1.4fr 1fr; }
.dd-square .dd-sub, .dd-square .dd-tags { display: none; }
.dd-kv { border-radius: 8px; background: var(--accent); position: relative; overflow: hidden; }
.dd-kv i { position: absolute; right: 12%; top: 16%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .9; }
.dd-title { display: grid; gap: 14%; align-content: center; }
.dd-title i { height: 8px; border-radius: 4px; background: var(--text); }
.dd-title i:last-child { width: 62%; }
.dd-sub { height: 6px; align-self: center; width: 80%; border-radius: 3px; background: var(--faint); }
.dd-tags { display: flex; gap: 6px; align-items: center; }
.dd-tags i { width: 26%; height: 10px; border-radius: 5px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--faint); }
.dd-legend { display: flex; justify-content: space-between; margin-top: 16px; font-size: var(--fs-small); color: var(--mute); }
/* 影像：剪辑时间线 */
.dv-screen { position: relative; aspect-ratio: 854 / 316; border-radius: 14px; overflow: hidden; background: #000; }
.dv-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.dv-screen img.is-off { opacity: 0; }
.dv-chip { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; backdrop-filter: blur(8px); }
.dv-time { display: flex; gap: 6px; margin: 16px 0 12px; font-size: var(--fs-small); font-weight: 650; font-variant-numeric: tabular-nums; }
.dv-time span:last-child { color: var(--mute); font-weight: 500; }
.dv-tracks { position: relative; display: grid; gap: 8px; }
.dv-track { display: grid; grid-template-columns: 3em 1fr; align-items: center; gap: 10px; }
.dv-name { font-size: 12px; color: var(--mute); }
.dv-lane { position: relative; height: 28px; border-radius: 8px; background: var(--canvas); overflow: hidden; }
.dv-sub { position: absolute; top: 8px; height: 12px; border-radius: 4px; background: var(--faint); }
.dv-clips { display: flex; gap: 3px; background: none; }
.dv-clip { display: flex; align-items: center; padding-left: 8px; border-radius: 6px; background: var(--text); color: var(--canvas); font-size: 11px; font-style: normal; white-space: nowrap; overflow: hidden; }
.dv-wave { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.dv-wave i { flex: 1; max-height: 22px; border-radius: 2px; background: var(--accent); opacity: .55; }
.dv-head { position: absolute; top: -6px; bottom: -6px; left: calc(3em + 10px); width: 2px; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
/* 写作：录音变成稿件 */
.demo-write { display: grid; gap: 20px; }
.dw-rec { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--canvas); font-size: var(--fs-small); color: var(--text-2); }
.dw-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.dw-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; }
.dw-wave i { flex: 1; max-height: 28px; border-radius: 2px; background: var(--text); opacity: .7; }
.dw-doc { padding: 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--faint); }
.dw-kicker { font-size: 12px; color: var(--mute); }
.dw-title { margin: 10px 0 0; font-size: 26px; line-height: 1.35; font-weight: 700; }
.dw-by { margin-top: 12px; font-size: var(--fs-small); color: var(--accent); font-weight: 650; }
.dw-lines { display: grid; gap: 10px; margin-top: 20px; }
.dw-lines i { height: 8px; border-radius: 4px; background: var(--faint); transform-origin: left; }

.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.way-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 44px; }
.way-rail { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--faint); }
.way-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.way-no { position: absolute; top: -44px; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--canvas); font-size: 11px; font-weight: 700; }
.way-steps li { position: relative; }
.way-steps h3 { font-size: var(--fs-h3); font-weight: 700; }
.way-steps p { margin-top: 10px; color: var(--text-2); }

/* ═════════ Instagram 页 ═════════ */
.acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.acc { display: flex; flex-direction: column; padding: 40px; border-radius: var(--r-xl); background: var(--panel); }
.acc-top { display: flex; align-items: center; gap: 16px; }
.acc-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--canvas); box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--accent); }
.acc h3 { font-size: 24px; font-weight: 700; }
.acc-top p { color: var(--mute); font-size: var(--fs-small); }
.acc-topic { margin-top: 24px; color: var(--text-2); }
.acc-role { margin-top: 20px; display: grid; gap: 4px; }
.acc-role dt { font-size: var(--fs-small); color: var(--mute); }
.acc-role dd { font-weight: 500; }
.acc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 32px; }

@media (max-width: 1080px) {
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-sec, .skill-sec.is-flip { grid-template-columns: 1fr; gap: 48px; }
  .skill-text, .skill-demo, .skill-sec.is-flip .skill-text, .skill-sec.is-flip .skill-demo { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .story-main { grid-column: 1 / -1; }
  .track { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 32px; }
  .track-rail { left: 6px; right: auto; top: 6px; bottom: 0; width: 2px; height: auto; }
  .track-fill { transform-origin: top; }
  .track-dot { top: 4px; left: -36px; }
  .abroad-grid, .acc-grid, .way-steps { grid-template-columns: 1fr; }
  .way-steps { padding-top: 0; padding-left: 40px; gap: 32px; }
  .way-rail { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .way-fill { transform-origin: top; }
  .way-no { top: 0; left: -40px; }
  .arc-label { font-size: var(--fs-small); }
  .skill-index { top: 60px; }
  .dp-track em { display: none; }
  .skill-sec { padding-block: 72px; }
  .proof b { font-size: 36px; }
  .demo { padding: 18px; }
  .dw-title { font-size: 20px; }
  .tools-grid { grid-template-columns: 1fr; }
  .acc { padding: 28px; }
  .tile-stat b { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .sym-mark { transform: none; }
}

/* 平滑滚动 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* 工具卡：图标、熟练度圆环、点开的说明 */
.tools-grid { align-items: start; }
.tool { border-radius: var(--r-lg); background: var(--panel); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.tool:hover { box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .35); transform: translateY(-3px); }
.tool-head { position: relative; display: block; width: 100%; padding: 28px 28px 22px; text-align: left; }
.tool-top { display: flex; align-items: center; justify-content: space-between; }
.tool-icon { display: block; width: 56px; height: 56px; transition: transform .5s var(--ease); }
.tool-icon svg { width: 100%; height: 100%; }
.tool:hover .tool-icon { transform: translateY(-3px) rotate(-6deg); }
.tool-dot { transform-box: fill-box; transform-origin: center; }
.tool:hover .tool-dot { animation: beat 1.2s ease-in-out infinite; }
.ring { position: relative; width: 60px; height: 60px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--canvas); stroke-width: 5; }
.ring .ring-on { stroke: var(--accent); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring b::after { content: "%"; font-size: 9px; margin-left: 1px; opacity: .6; }
.tool h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.tool-level { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: var(--fs-small); color: var(--mute); }
.tool-level::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.tool.is-open .tool-level::after { transform: translateY(2px) rotate(-135deg); }
.tool-level { flex-wrap: nowrap; }
.tool-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.tool.is-open .tool-more { grid-template-rows: 1fr; }
.tool-more-in { overflow: hidden; padding: 0 28px; }
.tool.is-open .tool-more-in { padding-bottom: 26px; }
.tool-x { display: block; padding-top: 14px; border-top: 1px solid var(--faint); color: var(--text-2); font-size: 15px; line-height: 1.6; }
.tool-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool-links .chip { background: var(--canvas); }
.tool-lang { display: grid; gap: 18px; padding: 28px; background: var(--text); color: var(--canvas); }
.tool-lang h3 { margin: 0; font-size: 20px; }
.tool-lang p { margin-top: 4px; color: inherit; opacity: .7; font-size: 15px; }
.tool-lang:hover { transform: none; }


@media (max-width: 760px) {
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tool-head { padding: 20px 18px 16px; }
  .tool-icon { width: 44px; height: 44px; }
  .ring { width: 50px; height: 50px; }
  .ring b { font-size: 11px; }
  .tool h3 { font-size: 17px; margin-top: 14px; }
  .tool-more-in { padding: 0 18px; }
  .tool-lang { grid-column: 1 / -1; padding: 22px; }
}
.tool-links .chip { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* ═════════ 线条图标：线条依次画出，再做一个和物件有关的小动作 ═════════ */
.sym { position: relative; aspect-ratio: 1; color: var(--ink); }
.t-hts .sym { color: #f5f5f7; }
.sym svg { width: 100%; height: 100%; overflow: visible; }
.sym svg * { transform-box: view-box; }
/* 两种线宽；.fl 填卡片底色，挡住后面的线；.fx 是动作里的特效线，平时藏着；.wr 是钢笔写出的签名 */
.sym { --sym-fill: var(--canvas); }
.tile .sym { --sym-fill: var(--bg); }
.sym .fn { stroke-width: 2.2; }
.sym .fl { fill: var(--sym-fill); stroke: none; }
.sym .fx { stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sym .wr { stroke-dasharray: 1; stroke-dashoffset: 0; }
/* 画线时长和先后由 site.js 按每条线的长度写进 --d、--t（手写节奏），没写时退回按序号错开 */
.js .sym .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--d, .9s) cubic-bezier(.55, 0, .3, 1) var(--t, calc(var(--k, 0) * 70ms)); }
.js .sym .tx { opacity: 0; transition: opacity .4s ease var(--tt, .75s); }
.js .sym.is-play .ln { stroke-dashoffset: 0; }
.js .sym.is-play .tx { opacity: 1; }
.sym-school img { display: block; width: 100%; height: 100%; object-fit: contain; }
.js .sym-school img { opacity: 0; transform: scale(.94); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .sym-school.is-play img { opacity: 1; transform: none; }
.case-hero-visual .sym { width: min(70%, 320px); }
.page-school .case-hero-visual .sym { width: min(90%, 400px); }
@media (prefers-reduced-motion: reduce) {
  .js .sym .ln { stroke-dashoffset: 0; }
  .js .sym .tx, .js .sym-mark, .js .sym-school img { opacity: 1; transform: none; }
}

/* ═════════ 详情页悬浮导航条 ═════════ */
.dock { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 99px; background: color-mix(in srgb, var(--panel) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); transform: translate(-50%, 140%); transition: transform .5s cubic-bezier(.3, 0, .2, 1); }
html.dark .dock { box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
.dock.is-on { transform: translate(-50%, 0); }
.dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--text); color: var(--canvas); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.dock-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); transition: background .2s; }
.dock-btn:hover { background: rgba(0, 0, 0, .06); }
html.dark .dock-btn:hover { background: rgba(255, 255, 255, .12); }
.dock-label { padding: 0 6px; font-size: var(--fs-small); color: var(--mute); font-variant-numeric: tabular-nums; }
.all-works { display: flex; justify-content: center; padding-bottom: 96px; }

/* ═════════ Sprout Up 帖子 ═════════ */
.trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-xl); overflow: hidden; }
.trip .zoomable img, .feed .zoomable img { width: 100%; height: auto; display: block; }
.trip .zoomable { will-change: transform; }
.feed-group { margin-top: 64px; }
.feed-group h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feed .zoomable { border-radius: 14px; overflow: hidden; transition: transform .4s cubic-bezier(.3, 0, .2, 1); }
.feed .zoomable:hover { transform: translateY(-4px); }
@media (max-width: 760px) {
  .dock { bottom: 16px; }
  .dock-label { display: none; }
  .feed { gap: 6px; }
  .feed .zoomable { border-radius: 8px; }
  .trip { border-radius: 14px; }
}

/* 手机排版修正 */
html.curtain-in body::after { animation: curtainOut .4s ease 1.2s forwards; }
@keyframes curtainOut { to { opacity: 0; visibility: hidden; } }
.tool-links .chip { white-space: normal; height: auto; min-height: 32px; padding: 6px 14px; line-height: 1.35; overflow: visible; }
@media (max-width: 760px) {
  .hero-title { font-size: min(10.6vw, 46px); }
  .hero-lead { font-size: 17px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mod-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mod-head p, .sec-head p { font-size: 15px; }
  .tile h3 { font-size: 22px; }
  .tile-result { font-size: 15px; }
  .case-hero h1 { font-size: min(10vw, 40px); }
  .case-summary { font-size: 17px; }
  .stat b { font-size: 48px; }
  .stat span { font-size: 14px; }
  .proof { gap: 12px; }
  .proof b { font-size: 30px; }
  .proof span { font-size: 12px; }
  .story-lead, .outcome p { font-size: 18px; }
  .statement-text { font-size: 24px; }
  .contact-title { font-size: 34px; }
  .mail { font-size: 21px; }
  main { padding-bottom: 72px; }
  .foot { padding-bottom: 96px; }
}

/* ═════════ 调色面板与“从点击处扩散”的换色动画 ═════════ */
.theme { position: relative; }
.theme-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text); transition: background .2s, transform .4s cubic-bezier(.3, 0, .2, 1); }
.theme-btn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.theme-btn[aria-expanded="true"] { transform: rotate(180deg); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.theme-pop { position: absolute; right: -8px; top: calc(100% + 10px); width: 228px; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--text) 10%, transparent); transform-origin: top right; animation: popIn .32s cubic-bezier(.3, 0, .2, 1); }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(-6px); } }
.theme-label { font-size: 12px; color: var(--mute); margin: 0 0 8px; }
.theme-row { display: flex; gap: 6px; }
.theme-row + .theme-label { margin-top: 14px; }
.theme-opt, .theme-sw { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; font-size: 13px; font-weight: 500; color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); transition: background .2s, box-shadow .2s; }
.theme-opt:hover, .theme-sw:hover { background: color-mix(in srgb, var(--text) 11%, transparent); }
.theme-opt.is-on, .theme-sw.is-on { box-shadow: inset 0 0 0 2px var(--text); }
.theme-sw span { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); }
/* 换色：新画面从第一帧起就裁成点击处的小圆再扩散，不会先整页闪出新颜色；换色期间关掉各元素自己的颜色过渡 */
html.theming::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
html.theming::view-transition-new(root) { z-index: 2; mix-blend-mode: normal; animation: themeReveal .82s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx) var(--ty)); } to { clip-path: circle(var(--tr) at var(--tx) var(--ty)); } }
html.theming [style*="view-transition-name"] { view-transition-name: none !important; }
html.theming *:not(.ln):not(.tx), html.theming *::before, html.theming *::after { transition: none !important; }
html.dark .t-hts { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sym-school .ln { transition-duration: 1.6s; transition-delay: calc(var(--k, 0) * 16ms); }
@media (max-width: 760px) {
  .nav-in { gap: 16px; }
  .nav-links { gap: 16px; }
  .theme-pop { right: -12px; }
}

/* ═════════ 联系区：信封动画、标题升起、邮箱下划线 ═════════ */
.contact-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.contact-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.contact-title .line > span { display: inline-block; }
.mail { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; padding-bottom: 4px; transition: background-size 1s cubic-bezier(.65, 0, .35, 1) .5s, color .2s; }
.mail:hover { text-decoration: none; }
.contact.is-in .mail { background-size: 100% 2px; }
.mailart { width: min(100%, 340px); justify-self: end; color: var(--text); }
.mailart .pf { fill: var(--canvas); }
.ma-flap-o, .ma-flap-c { transform-origin: 120px 82px; }
.ma-flap-o { transform: scaleY(0); }
.mailart.act .ma-flap-c { animation: flapC .35s cubic-bezier(.4, 0, .2, 1) forwards; }
.mailart.act .ma-flap-o { animation: flapO .45s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
.mailart.act .ma-letter { animation: letterUp .9s cubic-bezier(.2, .8, .2, 1) .55s forwards; }
@keyframes flapC { to { transform: scaleY(0); } }
@keyframes flapO { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes letterUp { to { transform: translateY(-70px); } }
.fly-plane { position: fixed; z-index: 70; width: 44px; height: 44px; pointer-events: none; color: var(--text); }
.fly-plane svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 760px) {
  .contact-in { grid-template-columns: 1fr; gap: 48px; }
  .mailart { width: min(62%, 240px); justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .ma-flap-c { transform: scaleY(0); }
  .ma-flap-o { transform: none; }
  .ma-letter { transform: translateY(-70px); }
  .mail { background-size: 100% 2px; }
}
.mk .ig-avatar, .mk-phone .ig-avatar { width: 9cqw; height: 9cqw; aspect-ratio: 1; flex: none; }

/* 入场元素首帧就藏好，由动画脚本接手显示；不会先闪出来再藏起来重播 */
html.mo .hero-title .line > span { transform: translateY(110%); }
html.mo .hero-lead, html.mo .hero-cta, html.mo [data-in] { opacity: 0; }

/* 图标的瞬时状态：从入口变形进来时直接显示画好的线 */
.sym.is-instant .ln, .sym.is-instant .tx { transition: none !important; }
/* 入口 → 样机：图标在原地缩小淡出，样机从图标的框里展开，不拉伸 */
::view-transition-group(*.mk) { animation-duration: .8s; animation-timing-function: cubic-bezier(.22, .8, .2, 1); }
::view-transition-old(*.mk) { width: auto; height: 100%; left: 50%; translate: -50% 0; animation: vtIconOut .5s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(*.mk) { width: 100%; height: 100%; animation: vtMkIn .3s ease both; }
@keyframes vtIconOut { to { opacity: 0; scale: .8; } }
@keyframes vtMkIn { from { opacity: 0; } }
/* 从入口变形进学校、技能页：页头图标第一帧就是画好的（html.arr 由 <head> 里的脚本加上），变形前后不会消失一下 */
html.arr .case-hero-visual .sym .ln { stroke-dashoffset: 0; transition: none; }
html.arr .case-hero-visual .sym .tx { opacity: 1; transition: none; }

/* 作品页页头：线稿变成实物。外框线先绕一圈画出来，作品再从中间展开填满，阴影最后出现，外框线淡出。
   从入口点进来时，这一段在跨页变形的同时播放（新页面的样机是实时画面），图标淡出、线框接上；直接打开页面也一样播放 */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mk-booklet { --mk-r: 3px 8px 8px 3px; }
.mk-film { --mk-r: 12px; }
.mk-poster { --mk-r: 6px; }
.mk-phone { --mk-r: 15cqw; }
.mk-browser { --mk-r: 3.2cqw; }
@media (prefers-reduced-motion: no-preference) {
  .case-hero-visual .mk::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border: 1.5px solid var(--text); border-radius: var(--mk-r, 8px); -webkit-mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0); mask: conic-gradient(from 200deg, #000 var(--sweep), transparent 0); animation: mkSweep .8s cubic-bezier(.55, 0, .3, 1) .05s both, mkLineOut .5s ease 1.45s forwards; }
  .case-hero-visual .mk > * { animation: mkFill .8s cubic-bezier(.22, .8, .2, 1) .75s both; }
  .case-hero-visual :is(.mk-booklet, .mk-film, .mk-poster) { animation: mkShadow .8s ease 1.1s both; }
  .case-hero-visual .mk-booklet::after { animation: mkFade .4s ease 1.2s both; }
}
@keyframes mkSweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes mkLineOut { to { opacity: 0; } }
@keyframes mkFill { from { opacity: 0; clip-path: inset(46% 46% round 12px); } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(-40% round 0px); } }
@keyframes mkShadow { from { box-shadow: none; } }
@keyframes mkFade { from { opacity: 0; } }

/* 访客统计：打开 /?me 后的提示 */
.me-note { position: fixed; left: 50%; bottom: 28px; z-index: 120; translate: -50% 0; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--canvas); font-size: 14px; line-height: 1.5; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); animation: meNote 4s ease both; }
@keyframes meNote { 0% { opacity: 0; translate: -50% 12px; } 8%, 85% { opacity: 1; translate: -50% 0; } 100% { opacity: 0; } }

/* ═════════ 短视频胶片（Instagram 页）：视觉取自作品集 PDF——墨黑底、品牌色场记板、Anton 大字、等宽时间码 ═════════ */
@font-face { font-family: Anton; src: url(/fonts/Anton-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root { --sh-ink: #131313; --sh-paper: #ecedec; --sh-y: #ffd11f; --display: Anton, "MiSans", "PingFang SC", sans-serif; --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shorts { position: relative; margin-top: 48px; background: var(--sh-ink); color: var(--sh-paper); overflow: hidden; }
.sh-pin { display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding: 88px 0 56px; }
/* 默认（手机、减少动态、脚本未加载）：横向滑动 */
.sh-track { --h: min(64vh, 620px); display: flex; align-items: center; gap: 24px; padding: 8px 6vw 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sh-track::-webkit-scrollbar { display: none; }
.sh-track > * { scroll-snap-align: center; }
/* 桌面固定模式：区块钉在屏幕上，滚动驱动胶片横移（site.js 加上 is-pinned） */
.shorts.is-pinned .sh-pin { height: 100vh; height: 100svh; padding: 0; }
.shorts.is-pinned .sh-track { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; padding: 0 6vw; }
.sh-mono { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--sh-paper) 62%, transparent); }
/* 开头大标题 */
.sh-intro { flex: none; width: min(72vw, 820px); }
.sh-big { margin: 18px 0 28px; font-family: var(--display); font-weight: 400; font-size: clamp(96px, 14vw, 230px); line-height: .88; letter-spacing: .005em; }
.sh-line { display: block; overflow: hidden; padding-bottom: .05em; }
.sh-line > span { display: inline-block; }
.sh-big em { font-style: normal; color: var(--sh-ink); background: var(--sh-y); padding: 0 .08em; }
.sh-lead { max-width: 30em; font-size: var(--fs-lead); line-height: 1.6; color: color-mix(in srgb, var(--sh-paper) 82%, transparent); }
.sh-hint { margin-top: 30px; }
.sh-hint span { display: inline-block; animation: shNudge 1.6s ease-in-out infinite; }
@keyframes shNudge { 50% { transform: translateX(10px); } }
/* 场记板：每个账号一张，品牌色满版 */
.sh-slate { flex: none; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; width: min(84vw, 1040px); height: var(--h); padding: 44px 52px; border-radius: 28px; background: var(--brand); color: var(--sh-ink); }
.sh-slate .sh-mono { color: color-mix(in srgb, var(--sh-ink) 72%, transparent); }
.sh-word { overflow: hidden; margin: 12px 0 22px; padding-bottom: .03em; font-family: var(--display); font-weight: 400; font-size: clamp(88px, 12.5vw, 210px); line-height: .86; letter-spacing: .005em; white-space: nowrap; }
.sh-word span { display: inline-block; }
.sh-rule { display: block; height: 3px; background: var(--sh-ink); transform-origin: left; }
.sh-slate-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; margin-top: 22px; font-size: 17px; line-height: 1.6; }
.sh-slate dl { display: grid; gap: 10px; }
.sh-slate dt { font-size: 13px; font-weight: 600; opacity: .7; }
.sh-slate dd { font-weight: 650; }
/* 视频卡 */
.sh-card { flex: none; position: relative; height: var(--h); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: #000; color: #fff; text-align: left; cursor: pointer; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.sh-card.is-wide { height: calc(var(--h) * .6); aspect-ratio: 16 / 9; }
.sh-media, .sh-media img, .sh-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-media video { opacity: 0; transition: opacity .5s ease; }
.sh-card.is-live .sh-media video { opacity: 1; }
.sh-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 20%, transparent 46%, rgba(0, 0, 0, .85)); }
.sh-meta { position: absolute; z-index: 2; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.sh-meta span:first-child { color: var(--brand); }
.sh-foot { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.sh-hook { font-family: var(--display); font-size: clamp(21px, 2vw, 32px); line-height: 1.06; text-transform: uppercase; }
.sh-hook mark, .th-hook mark { background: var(--brand, var(--sh-y)); color: var(--sh-ink); padding: .02em .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sh-card.is-wide .sh-hook { font-size: clamp(18px, 1.6vw, 26px); }
.sh-name { font-size: 14px; font-weight: 600; opacity: .92; }
.sh-play { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--brand); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s cubic-bezier(.3, 0, .2, 1); }
.sh-play svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--sh-ink); }
.sh-card:hover .sh-play, .sh-card.is-on .sh-play, .sh-card:focus-visible .sh-play { opacity: 1; transform: none; }
.sh-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
/* 结尾 */
.sh-outro { flex: none; width: min(70vw, 760px); padding-right: 6vw; }
.sh-word-end { color: var(--sh-paper); font-size: clamp(64px, 8vw, 136px); white-space: normal; }
/* 时间码标尺：每支视频一个黄色编号点，填充表示看到哪里 */
.sh-ruler { position: relative; width: calc(100% - var(--pad) * 2); max-width: var(--wrap); height: 34px; margin: 0 auto; }
.sh-ruler::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: rgba(236, 237, 236, .28); }
.sh-ruler::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 6px; background: repeating-linear-gradient(90deg, rgba(236, 237, 236, .28) 0 1px, transparent 1px 2%); }
.sh-ruler-fill { position: absolute; left: 0; right: 0; top: 15px; height: 3px; background: var(--sh-y); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.sh-ruler i { position: absolute; z-index: 1; top: 5px; left: calc(var(--p) * 100%); width: 23px; height: 23px; margin-left: -11.5px; border: 1.5px solid rgba(236, 237, 236, .45); border-radius: 50%; background: var(--sh-ink); color: rgba(236, 237, 236, .7); font: 700 11px/20px var(--mono); font-style: normal; text-align: center; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.sh-ruler i.is-past { background: var(--sh-y); border-color: var(--sh-y); color: var(--sh-ink); }
.sh-ruler i.is-on { transform: scale(1.3); }
/* 放映厅 */
.theater { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--sh-ink); color: var(--sh-paper); }
.theater::backdrop { background: rgba(0, 0, 0, .7); }
.th-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 5vw; align-items: center; height: 100%; padding: 6vh 6vw; }
.th-frame { display: flex; align-items: center; justify-content: center; height: 86vh; }
.th-frame video { max-width: 100%; max-height: 100%; border-radius: 20px; background: #000; }
.theater.is-wide .th-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 4vh; }
.theater.is-wide .th-frame { height: auto; }
.theater.is-wide .th-frame video { max-height: 58vh; }
.theater.is-wide .th-info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5vw; align-items: start; }
.theater.is-wide .th-info > :nth-child(n+4) { grid-column: 2; }
.theater.is-wide .th-info > :nth-child(-n+3) { grid-column: 1; }
.th-title { margin: 10px 0 18px; font-size: clamp(24px, 2.4vw, 38px); font-weight: 700; line-height: 1.25; }
.th-hook { font-family: var(--display); font-size: clamp(32px, 3.8vw, 62px); line-height: 1.02; text-transform: uppercase; }
.th-text { max-width: 32em; margin-top: 22px; line-height: 1.7; color: rgba(236, 237, 236, .8); }
.th-meta { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 26px; }
.th-meta dt { font-size: 12px; opacity: .6; }
.th-meta dd { margin-top: 4px; font-weight: 600; }
.th-nav { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.th-nav button, .th-close { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(236, 237, 236, .3); border-radius: 50%; color: var(--sh-paper); font-size: 18px; transition: background .2s, color .2s, border-color .2s; }
.th-nav button:hover, .th-close:hover { background: var(--brand, var(--sh-y)); border-color: transparent; color: var(--sh-ink); }
.th-close { position: absolute; top: 22px; right: 26px; font-size: 24px; }
@media (max-width: 760px) {
  .shorts { margin-top: 24px; }
  .sh-pin { padding: 64px 0 36px; gap: 22px; }
  .sh-track { --h: min(66vh, 560px); gap: 14px; padding: 4px 20px 12px; }
  .sh-intro { width: 84vw; }
  .sh-big { font-size: min(25vw, 120px); }
  .sh-slate { width: 86vw; padding: 26px 22px; border-radius: 22px; }
  .sh-word { font-size: min(17vw, 84px); }
  .sh-slate-body { grid-template-columns: 1fr; gap: 14px; font-size: 15px; }
  .sh-card.is-wide { width: 86vw; height: auto; }
  .sh-hook { font-size: 22px; }
  .sh-outro { width: 78vw; }
  .sh-word-end { font-size: min(14vw, 64px); }
  .th-inner { grid-template-columns: 1fr; align-content: start; gap: 22px; overflow-y: auto; padding: 70px 20px 32px; }
  .th-frame, .theater.is-wide .th-frame { height: auto; }
  .th-frame video { max-height: 60vh; }
  .theater.is-wide .th-info { display: block; }
  .th-close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .sh-hint span { animation: none; } }

/* 纪录片播放器：章节条同时是进度条；右上角画质切换 */
.chapter-fill { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--accent); transform-origin: left; transform: scaleX(var(--f, 0)); z-index: 1; }
.chapter.is-on::before { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.chapter span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.q-switch { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); }
.q-switch[hidden] { display: none; }
.q-switch button { height: 28px; padding: 0 12px; border-radius: 99px; color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 600; }
.q-switch button.is-on { background: #fff; color: #000; }

/* 短视频区块固定在屏幕上时，导航栏换成深色 */
html.over-dark .nav { background: rgba(19, 19, 19, .72); color: #ecedec; }
html.over-dark .nav .nav-links { color: rgba(236, 237, 236, .72); }
html.over-dark .nav .nav-links a:hover { color: #fff; }
/* 提示词：桌面端往下滚，手机端横滑 */
.sh-hint b { font-weight: inherit; }
.sh-hint-m { display: none; }
@media (max-width: 760px) { .sh-hint-d { display: none; } .sh-hint-m { display: inline; } }
