/* 赵浩然主页：暖黑的绘图桌 + 米白的产品页，强调色只有一个赭红 */
:root {
  --ink: #0B0907;
  --ink-2: #15110D;
  --paper: #F4EEE1;
  --ochre: #C9794A;
  --copper: #D8AC7A;
  --cream: #FAF9F5;
  --ink-text: #1F1B18;
  --coral: #C15F3C;
  --soft: rgba(244, 238, 225, .84);
  --faint: rgba(244, 238, 225, .62);
  --line: rgba(244, 238, 225, .2);
  --ink-soft: rgba(31, 27, 24, .72);
  --ink-line: #D6D1C7;
  --cn: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --en: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --display: Fraunces, "Noto Serif SC", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 7vw, 120px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--cn);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ochre); outline-offset: 4px; }

/* ---------- 顶部 ---------- */
.rule { position: fixed; inset: 0 0 auto; height: 1px; z-index: 40; pointer-events: none; }
.rule i { display: block; height: 100%; background: var(--ochre); transform: scaleX(0); transform-origin: 0 50%; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter) 64px;
  font-size: 14px; letter-spacing: .12em;
  background: linear-gradient(180deg, rgba(11, 9, 7, .84), rgba(11, 9, 7, .5) 50%, rgba(11, 9, 7, 0));
  transition: color .4s, background .4s;
  pointer-events: none;
}
.nav a, .nav button { pointer-events: auto; }
.nav-name { font-size: 16px; letter-spacing: .3em; font-weight: 400; transition: opacity .4s; }
.nav-name.off { opacity: 0; pointer-events: none; }
.nav nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav nav a, .nav nav button { opacity: .92; transition: opacity .25s; letter-spacing: inherit; }
.nav nav a:hover, .nav nav button:hover { opacity: 1; }
.nav-cv { border-bottom: 1px solid currentColor; line-height: 1.5; }
.nav.on-paper { color: var(--ink-text); background: none; }

/* ---------- 通用文字 ---------- */
.mark {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; letter-spacing: .28em; color: var(--soft);
  margin-bottom: clamp(16px, 2.6vh, 28px);
}
.mark::before { content: ""; width: 30px; height: 1px; background: var(--ochre); }
.ch h1, .ch h2 { font-weight: 300; letter-spacing: .03em; }
.ch h2 { font-size: clamp(30px, 3.5vw, 58px); line-height: 1.3; }
.sub { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.7; letter-spacing: .03em; font-weight: 400; margin-top: 12px; }
.body { font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.95; color: var(--soft); margin-top: clamp(14px, 2.2vh, 24px); max-width: 30em; }
.note { font-size: 14px; line-height: 1.7; letter-spacing: .04em; color: var(--copper); margin-top: 16px; }
.num { font: 300 clamp(92px, 11.5vw, 188px)/.92 var(--en); font-variant-numeric: lining-nums; letter-spacing: -.01em; margin-left: -.03em; }
.num em { font-style: normal; color: var(--ochre); font-size: .62em; vertical-align: .34em; margin-left: .02em; }
.num small { font-size: .24em; font-style: italic; vertical-align: .08em; margin-right: .26em; color: var(--copper); }
.num-r2 { margin-top: 8px; font-size: clamp(84px, 9.6vw, 160px); white-space: nowrap; }
.plain { margin-top: clamp(14px, 2.2vh, 24px); font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.7; }
.plain li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--soft); }

.link-btn {
  display: inline-block; font-size: 15px; letter-spacing: .14em; line-height: 1.5;
  padding: 11px 26px 12px; border: 1px solid rgba(244, 238, 225, .34);
  transition: background .3s, color .3s, border-color .3s;
}
.link-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ch .link-btn { margin-top: clamp(16px, 2.8vh, 30px); }

/* ---------- 胶片 ---------- */
.film { position: relative; background: var(--ink); }
.stage { position: relative; }
.ch { padding: 18vh var(--gutter); background: var(--ink-2); }
.lens, .dim { display: none; }

.js .film { height: 1180vh; }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.js .lens { display: block; position: absolute; inset: 0; will-change: transform; background: var(--ink) url(../media/poster.jpg) center / cover; }
.js .lens video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(1.02); }
.js .dim { display: block; position: absolute; inset: 0; background: var(--ink); opacity: 1; pointer-events: none; }

.js .ch { position: absolute; inset: 0; padding: 0; background: none; display: flex; align-items: center; opacity: 0; visibility: hidden; }
.js .ch::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.js .ch-l::before { background: linear-gradient(90deg, rgba(11, 9, 7, .97) 0, rgba(11, 9, 7, .94) 36%, rgba(11, 9, 7, .62) 50%, rgba(11, 9, 7, 0) 70%); }
.js .ch-r::before { background: linear-gradient(270deg, rgba(11, 9, 7, .97) 0, rgba(11, 9, 7, .94) 36%, rgba(11, 9, 7, .62) 50%, rgba(11, 9, 7, 0) 70%); }
.ch-in { position: relative; will-change: transform; }
.js .ch-l .ch-in { width: min(39vw, 660px); margin-left: var(--gutter); }
.js .ch-r .ch-in { width: min(33vw, 580px); margin-left: auto; margin-right: var(--gutter); }
.js .ch-hero .ch-in { width: min(46vw, 800px); }

.facts { margin-top: clamp(16px, 2.6vh, 28px); }
.facts div { display: flex; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.7; }
.facts dt { flex: none; width: 4em; font-weight: 400; }
.facts dd { color: var(--soft); }

blockquote { margin-top: clamp(16px, 2.8vh, 30px); padding-left: 18px; border-left: 1px solid var(--ochre); font: 300 clamp(17px, 1.4vw, 22px)/1.4 var(--en); color: var(--paper); max-width: 26em; }
blockquote cite { display: block; font: italic 400 clamp(15px, 1.15vw, 18px)/1.5 var(--en); color: var(--copper); margin-bottom: 6px; }
blockquote cite i { font: 300 13px/1 var(--cn); font-style: normal; letter-spacing: .06em; color: var(--faint); }

/* 片头：不靠大字，靠一句话和这张图 */
.hero-name { display: flex; align-items: baseline; gap: 16px; font-size: clamp(17px, 1.4vw, 22px); letter-spacing: .34em; font-weight: 400; margin-bottom: clamp(20px, 3.4vh, 36px); }
.hero-name span { font: italic 300 clamp(17px, 1.4vw, 22px)/1 var(--en); letter-spacing: .06em; color: var(--copper); }
.ch-hero h1 { font-size: clamp(29px, 3.15vw, 52px); line-height: 1.42; letter-spacing: .04em; }
.hero-role { font-size: clamp(14px, 1.02vw, 16px); line-height: 2; letter-spacing: .1em; color: var(--soft); margin-top: clamp(20px, 3.4vh, 36px); }
.hint { position: absolute; left: var(--gutter); bottom: 32px; font-size: 13px; letter-spacing: .28em; color: var(--faint); }

/* 唯一的开场：灯亮，文字依次浮现 */
.js .ch-hero .ch-in > * { opacity: 0; transform: translateY(14px); transition: opacity 1.3s ease, transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.js .ch-hero .ch-in > :nth-child(2) { transition-delay: .25s; }
.js .ch-hero .ch-in > :nth-child(3) { transition-delay: .5s; }
.js .hint { opacity: 0; transition: opacity 1.2s ease 1s; }
.ready .ch-hero .ch-in > * { opacity: 1 !important; transform: none !important; }
.ready .hint { opacity: 1; }
.hint.off { opacity: 0 !important; transition: opacity .4s !important; }

/* ---------- 经历：一条长长的水面线 ---------- */
.path { position: relative; background: var(--ink); }
.path-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; cursor: grab; touch-action: pan-y; }
.path-pin.drag { cursor: grabbing; }
.path-title { position: absolute; left: var(--gutter); top: 92px; z-index: 2; margin: 0; }
.path-track { position: relative; display: flex; height: 100%; width: max-content; padding-left: var(--gutter); padding-right: 16vw; will-change: transform; user-select: none; -webkit-user-select: none; }
.profile { position: absolute; left: 0; top: 0; pointer-events: none; }
.st { position: relative; flex: none; width: clamp(560px, 50vw, 860px); padding: 17vh 6vw 0 0; }
.st-low { padding-top: 24vh; }
.st-side { width: clamp(420px, 34vw, 600px); }
.st-now { width: clamp(640px, 58vw, 960px); }
.yr { font: 300 clamp(96px, 13.5vw, 224px)/.92 var(--en); font-variant-numeric: lining-nums; letter-spacing: -.01em; margin-left: -.03em; }
.yr span { font: 400 .17em var(--cn); letter-spacing: .3em; color: var(--ochre); margin-left: .7em; vertical-align: .22em; }
.st-side .yr { font-style: italic; font-size: clamp(70px, 8.6vw, 140px); color: var(--copper); line-height: 1.2; }
.st h3 { font-size: clamp(18px, 1.55vw, 25px); line-height: 1.6; font-weight: 400; letter-spacing: .05em; margin: 18px 0 0; }
.st > p:not(.yr) { font-size: clamp(15px, 1.12vw, 18px); line-height: 1.9; color: var(--soft); margin-top: 8px; max-width: 29em; }
.path-ctrl { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .16em; color: var(--faint); }
.path-ctrl button { width: 40px; height: 40px; background: var(--ink); border: 1px solid rgba(244, 238, 225, .34); color: var(--paper); font-family: var(--en); font-size: 19px; line-height: 1; transition: background .25s, color .25s; }
.path-ctrl button:hover { background: var(--paper); color: var(--ink); }
.path-ctrl span { margin-left: 8px; }
.pf-water { fill: none; stroke: var(--ochre); stroke-width: 1.6; }
.pf-fill { fill: none; stroke: rgba(201, 121, 74, .3); stroke-width: 1; }
.pf-sand { fill: none; stroke: rgba(244, 238, 225, .4); stroke-width: 1.1; stroke-linecap: round; }
.pf-bed { fill: none; stroke: rgba(244, 238, 225, .72); stroke-width: 1.1; }
.pf-hatch { fill: none; stroke: rgba(244, 238, 225, .3); stroke-width: 1; }
.pf-axis { fill: none; stroke: rgba(244, 238, 225, .3); stroke-width: 1; }
.pf-pile { fill: none; stroke: rgba(244, 238, 225, .5); stroke-width: 1; stroke-dasharray: 2 6; }
.pf-dot { fill: var(--ink); stroke: var(--paper); stroke-width: 1; }
.pf-pen { fill: var(--ochre); }

/* ---------- 产品：一份可点的索引，默认从上到下排开 ---------- */
.works { position: relative; background: var(--cream); color: var(--ink-text); color-scheme: light; }
.works-pin { padding: 90px 20px 60px; }
.w-title { color: var(--ink-soft); }
.w-title::before { background: var(--coral); }
.w-item { padding-top: 30px; display: flex; flex-direction: column; }
.w-visual { order: -1; position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.w-visual > img:not(.sp-s), .w-visual > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0 6px; }
.w-row b { font-size: 31px; line-height: 1.3; font-weight: 300; letter-spacing: .03em; color: var(--ink-text); }
.w-row b:lang(en) { font-family: var(--display); letter-spacing: 0; }
.w-row span { flex: none; font-size: 13px; letter-spacing: .1em; color: var(--ink-soft); }
.w-detail { font-size: 15.5px; line-height: 1.9; color: var(--ink-soft); }
.w-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 14px; }
.w-links a { position: relative; color: var(--ink-text); font-weight: 400; letter-spacing: .06em; border-bottom: 1px solid var(--coral); line-height: 1.6; padding-right: 22px; transition: color .25s; }
.w-links a::after { content: "→"; position: absolute; right: 0; color: var(--coral); font-family: var(--en); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.w-links a:hover { color: var(--coral); }
.w-links a:hover::after { transform: translateX(3px); }
.w-off { letter-spacing: .1em; font-size: 14px; color: var(--ink-soft); border: 1px dashed var(--ink-line); padding: 4px 12px; line-height: 1.6; }

.w-sprout .sp-bg { filter: saturate(.86) brightness(.9); }
.sp-s { position: absolute; height: auto; will-change: transform; }
.sp-gate { width: 44%; right: 22%; top: 6%; }
.sp-root { width: 40%; right: 2%; top: 34%; }
.sp-arch { width: 24%; left: 8%; bottom: 9%; }
.sp-alch { width: 19%; left: 32%; bottom: 5%; }
.w-qinglan img { object-position: 46% 58%; filter: saturate(.84) contrast(1.02); }
.w-chart { background: #0F0C09; display: flex; align-items: center; justify-content: center; }
.w-chart svg { display: block; width: 100%; height: 100%; }
.nc-grid { stroke: rgba(244, 238, 225, .13); stroke-width: 1; }
.nc-text { font: 300 15px var(--mono); fill: rgba(244, 238, 225, .62); }
.nc-line { fill: none; stroke: var(--ochre); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.nc-dot { fill: var(--ochre); }
.nc-big { font: 300 76px var(--display); fill: var(--paper); font-variant-numeric: lining-nums; }
.nc-cap { font: 300 17px var(--cn); fill: rgba(244, 238, 225, .78); letter-spacing: .04em; }
.w-crystal { background: var(--cream); }
.w-crystal canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-quote { position: absolute; left: 7%; bottom: 7%; font-size: clamp(22px, 2.6vw, 42px); line-height: 1.4; font-weight: 300; letter-spacing: .03em; color: var(--ink-text); }
.w-quote em { color: var(--coral); }

/* 桌面：左边索引，右边大图，滚动或悬停切换 */
@media (min-width: 760px) {
  .js .works { height: 600vh; }
  .js .works-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: clamp(84px, 13vh, 118px) 0 0 var(--gutter); }
  .js .w-title { margin-bottom: clamp(10px, 2vh, 20px); }
  .js .w-list { width: 35vw; border-bottom: 1px solid var(--ink-line); }
  .js .w-item { display: block; padding: 0; }
  .js .w-row { position: relative; padding: clamp(7px, 1.25vh, 12px) 0; border-top: 1px solid var(--ink-line); cursor: pointer; }
  .js .w-soon { cursor: default; }
  .js .w-row b { font-size: clamp(25px, min(2.65vw, 5vh), 44px); color: rgba(31, 27, 24, .5); transition: color .35s; }
  .js .w-item.on .w-row b { color: var(--coral); font-style: italic; }
  .js .w-row span { opacity: 0; font-size: 13.5px; transition: opacity .35s; }
  .js .w-item.on .w-row span { opacity: 1; }
  .js .w-detail { position: absolute; left: var(--gutter); top: calc(var(--list-end, 60vh) + clamp(16px, 3.4vh, 34px)); width: 33vw; font-size: clamp(15.5px, 1.2vw, 18.5px); color: rgba(31, 27, 24, .82); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1), visibility .4s; }
  .js .w-item.on .w-detail { opacity: 1; visibility: visible; transform: none; }
  .js .w-visual { position: absolute; top: 84px; right: 0; bottom: 0; width: 53vw; aspect-ratio: auto; opacity: 0; transition: opacity .6s ease; }
  .js .w-item.on .w-visual { opacity: 1; }
  .js .w-visual > video { z-index: 1; }
}

/* ---------- 结尾 ---------- */
.end { position: relative; background: var(--ink); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.end-media { position: absolute; inset: 0; }
.end-media img, .end-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 7, .92) 0, rgba(11, 9, 7, .6) 54%, rgba(11, 9, 7, .28) 100%), linear-gradient(180deg, var(--ink) 0, rgba(11, 9, 7, 0) 24%); }
.end-main { position: relative; padding: 60px var(--gutter); width: 100%; }
.email { display: inline-block; font: 300 clamp(34px, 6.6vw, 112px)/1.2 var(--en); letter-spacing: 0; background: linear-gradient(var(--ochre), var(--ochre)) 0 100% / 0 1px no-repeat; transition: background-size .6s cubic-bezier(.2, .7, .2, 1); overflow-wrap: anywhere; }
.email:hover { background-size: 100% 1px; }
.end-foot { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: clamp(30px, 6vh, 60px); font-size: 14px; letter-spacing: .14em; color: var(--faint); }
.end-foot .link-btn { color: var(--paper); }
.end-foot .link-btn:hover { color: var(--ink); }

/* ---------- 完整履历 ---------- */
.dossier { position: fixed; inset: 0; z-index: 60; background: rgba(11, 9, 7, .78); opacity: 0; transition: opacity .4s; }
.dossier.open { opacity: 1; }
.dossier-sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(980px, 100%);
  overflow-y: auto; overscroll-behavior: contain; outline: 0;
  background: var(--paper); color: #1A140E; color-scheme: light;
  transform: translateX(40px); transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  font-size: 15px; line-height: 1.85;
}
.dossier.open .dossier-sheet { transform: none; }
.dossier-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 5vw, 60px); background: var(--paper); border-bottom: 1px solid rgba(26, 20, 14, .2); }
.dossier-bar b { font-size: 19px; font-weight: 500; letter-spacing: .24em; }
.dossier-bar div > span { margin-left: 14px; font-size: 13px; letter-spacing: .14em; color: rgba(26, 20, 14, .72); }
.dossier-bar button { font-size: 13px; letter-spacing: .1em; padding: 6px 12px; border: 1px solid rgba(26, 20, 14, .2); line-height: 1.5; }
.dossier-bar button + button { margin-left: 8px; }
.dossier-bar button:hover { background: #1A140E; color: var(--paper); }
.dossier-body { padding: clamp(24px, 4vw, 44px) clamp(20px, 5vw, 60px) 90px; }
.dos-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid #1A140E; border-bottom: 1px solid rgba(26, 20, 14, .2); }
.dmg-item { padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(26, 20, 14, .1); }
.dmg-lbl { display: block; font-size: 12px; letter-spacing: .12em; color: rgba(26, 20, 14, .72); line-height: 1.6; }
.dmg-val { display: block; font-size: 15px; font-weight: 400; line-height: 1.6; }
.dos-section { margin-top: 42px; }
.dos-sec-title { font-size: 21px; font-weight: 500; letter-spacing: .08em; padding-bottom: 8px; border-bottom: 1px solid #1A140E; margin: 0 0 14px; }
.dos-sec-title span { display: none; }
.dos-exp-card { padding: 14px 0; border-bottom: 1px solid rgba(26, 20, 14, .1); }
.dec-header { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.dec-title { font-weight: 500; font-size: 16px; }
.dec-date { flex: none; font: 300 13px var(--mono); color: #8F5531; }
.dec-company { color: rgba(26, 20, 14, .72); font-size: 14px; }
.dec-desc { color: rgba(26, 20, 14, .84); margin-top: 2px; }
.dec-list { margin: 6px 0 0; padding-left: 1.1em; list-style: disc; }
.dec-list li { margin-top: 5px; color: rgba(26, 20, 14, .88); }
.dec-list li::marker { color: #A5683F; }
.dec-list strong { font-weight: 500; }
.dos-table-wrap { overflow-x: auto; }
.dos-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.dos-table th { text-align: left; font-weight: 500; font-size: 13px; padding: 8px 12px 8px 0; border-bottom: 1px solid #1A140E; white-space: nowrap; }
.dos-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(26, 20, 14, .1); vertical-align: top; }
.dos-skills > div { padding: 8px 0; border-bottom: 1px solid rgba(26, 20, 14, .1); }
.dos-skills strong { font-weight: 500; }

/* ---------- 手机 ---------- */
html:not(.js) .path-pin { overflow-x: auto; }
html:not(.js) .path-ctrl { display: none; }
@media (max-width: 759px) {
  body { font-size: 15.5px; }
  .nav { padding: 16px 20px 26px; font-size: 13px; }
  .nav-name { font-size: 15px; }
  .nav nav { gap: 18px; }
  .nav nav > a { display: none; }
  .nav nav > a.nav-keep { display: inline; }
  .nav.on-paper { background: linear-gradient(180deg, rgba(250, 249, 245, .96), rgba(250, 249, 245, 0)); }
  .js .film { height: 1020vh; }
  .js .lens { inset: 0 0 auto; height: 58%; overflow: hidden; background: var(--ink); }
  .js .lens::after { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(transparent, var(--ink)); }
  .js .lens video { left: 50%; right: auto; width: auto; max-width: none; height: 100%; aspect-ratio: 16 / 9; object-fit: fill; transform: translateX(calc(-50% + var(--cx, 0px))); }
  .js .ch { align-items: flex-end; }
  .js .ch-l::before, .js .ch-r::before { background: linear-gradient(0deg, var(--ink) 0, var(--ink) 34%, rgba(11, 9, 7, 0) 56%); }
  .js .ch-l .ch-in, .js .ch-r .ch-in { width: auto; margin: 0 20px calc(26px + env(safe-area-inset-bottom)); }
  .mark { margin-bottom: 10px; font-size: 13px; }
  .ch h2 { font-size: 27px; line-height: 1.36; }
  .sub { font-size: 15px; margin-top: 6px; }
  .body { font-size: 14px; line-height: 1.85; margin-top: 10px; }
  .note { font-size: 12.5px; margin-top: 8px; }
  .num { font-size: 76px; }
  .num-r2 { font-size: 64px; margin-top: 2px; }
  .plain { margin-top: 8px; font-size: 13px; }
  .plain li { padding: 6px 0; }
  .facts { margin-top: 10px; }
  .facts div { padding: 7px 0; font-size: 13.5px; gap: 10px; }
  blockquote { margin-top: 12px; padding-left: 12px; font-size: 15.5px; }
  blockquote cite { font-size: 14.5px; margin-bottom: 2px; }
  .js .ch-hero .ch-in { padding-bottom: 8vh; }
  .hero-name { font-size: 16px; margin-bottom: 14px; }
  .hero-name span { font-size: 17px; }
  .ch-hero h1 { font-size: 25px; line-height: 1.46; letter-spacing: .03em; }
  .hero-role { font-size: 13px; line-height: 1.9; letter-spacing: .05em; margin-top: 14px; }
  .hint { left: 20px; bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 12px; }

  .path-pin { position: relative; height: 100svh; min-height: 600px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; cursor: auto; touch-action: auto; scrollbar-width: none; }
  .path-pin::-webkit-scrollbar { display: none; }
  .path-title { position: sticky; left: 20px; top: auto; width: max-content; height: 0; transform: translateY(70px); }
  .path-track { padding-left: 20px; padding-right: 22vw; user-select: auto; -webkit-user-select: auto; }
  .st, .st-low, .st-side, .st-now { width: 80vw; padding: 15vh 24px 0 0; }
  .yr { font-size: 92px; }
  .st-side .yr { font-size: 62px; line-height: 1.38; }
  .st h3 { font-size: 16.5px; margin-top: 12px; }
  .st > p:not(.yr) { font-size: 14.5px; }
  .path-ctrl { position: sticky; left: 20px; bottom: auto; top: auto; display: inline-flex; height: 0; transform: translateY(-40px); }
  .path-ctrl button { display: none; }
  .path-ctrl span { margin: 0; white-space: nowrap; }

  .sp-s { filter: none; }
  .email { font-size: 9.3vw; }
  .end-main { padding: 50px 20px 40px; }
  .end-media::after { background: linear-gradient(0deg, rgba(11, 9, 7, .8), rgba(11, 9, 7, .55)), linear-gradient(180deg, var(--ink) 0, rgba(11, 9, 7, 0) 24%); }
  .dec-header { flex-direction: column; gap: 0; }
  .dossier-bar { padding: 12px 20px; }
  .dossier-bar div > span { display: none; }
}

/* 少动效 */
@media (prefers-reduced-motion: reduce) {
  .js .ch-hero .ch-in > *, .js .hint { transition: none; }
}

/* 打印履历 */
@media print {
  @page { margin: 16mm 15mm; }
  :root { color-scheme: light; }
  html, body { background: #fff !important; color: #111 !important; overflow: visible !important; }
  .dos-meta-grid { border-top: 0; }
  .dec-header { flex-direction: row !important; gap: 18px !important; }
  body > *:not(.dossier) { display: none !important; }
  .dossier { position: static; display: block !important; opacity: 1 !important; background: none; }
  .dossier-sheet { position: static; width: auto; overflow: visible; background: none; color: #111; transform: none; font-size: 10.5pt; line-height: 1.6; }
  .dossier-bar { position: static; padding: 0 0 6mm; background: none; border-bottom: 1px solid #111; }
  .dossier-bar button { display: none; }
  .dossier-body { padding: 4mm 0 0; }
  .dos-section { margin-top: 7mm; }
  .dos-exp-card, .dos-table tr { break-inside: avoid; }
}
