/* =========================================================
   Hermans Wei — 个人主页样式 · Paper edition
   参考 haoqi.design 的骨架：暖纸面底色、几乎无彩色、等宽大写标签、
   仪表盘式页头、一句大字宣言、编辑式作品陈列。去掉炫技部分。
   主题：默认浅色（纸面），html[data-theme="dark"] 深色。
   所有颜色 / 字体 / 尺寸都在 :root 里。
   ========================================================= */

:root {
  /* 浅色：冷灰白（可切换） */
  --bg: #f4f5f7;
  --bg-2: #eaecf0;
  --ink: #0e1015;
  --muted: rgba(40, 44, 54, .62);
  --faint: rgba(40, 44, 54, .38);
  --line: rgba(14, 16, 21, .12);
  --line-strong: rgba(14, 16, 21, .4);
  --accent: #1f7a4d;
  --accent-soft: rgba(31, 122, 77, .10);
  --shadow: 0 30px 60px -40px rgba(14, 16, 21, .35);

  --font-sans: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "PingFang SC", "Microsoft YaHei", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 64px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[data-theme="dark"] {
  /* 深色（默认）：冷黑带一点蓝 */
  --bg: #090b10;
  --bg-2: #10131a;
  --ink: #e8eaee;
  --muted: rgba(232, 234, 238, .58);
  --faint: rgba(232, 234, 238, .32);
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .38);
  --accent: #5ee39a;
  --accent-soft: rgba(94, 227, 154, .12);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto; }
.muted { color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; font: inherit; }

/* ---------- 文字层级 ---------- */
.eyebrow, .tags li, .chip, .tab, .status, .nav__links a, .lang button, .hud, .timeline__when,
.project__meta, .post__tag, .post__date, .article__meta, .footer, .now__updated, .hero__caption, .shelf__title, .shelf__by, .path li, .modal__facts dt {
  font-family: var(--font-mono);
}
.eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow--num::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); color: var(--ink); }
.eyebrow--num::after { content: ""; width: 24px; height: 1px; background: var(--line-strong); }
body { counter-reset: sec; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.prose p + p { margin-top: 1.1em; }
.prose { font-size: 17px; max-width: 62ch; }
.link-arrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.bullets { display: grid; gap: .35rem; margin-top: .8rem; padding-left: 1.1em; }
.bullets li { position: relative; }
.bullets li::before { content: ""; position: absolute; left: -1.1em; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.2rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer; background: transparent; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; background: var(--ink); color: var(--bg); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: transparent; color: var(--ink); }
.btn--ghost { border-color: var(--line-strong); }
.btn--sm { padding: .5rem .9rem; font-size: 11px; }

/* ---------- 进度条 ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .1s linear; }

/* ---------- 页头：仪表盘 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease), background .3s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open.is-hidden { transform: none; }
.nav__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: .6rem; line-height: 1.2; }
.nav__brand:hover { text-decoration: none; }
.nav__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.nav__text { display: flex; flex-direction: column; }
.nav__name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.nav__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; justify-content: center; gap: 1.75rem; }
.nav__links a:not(.btn) { position: relative; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .25rem 0; transition: color .15s; }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--ink); text-decoration: none; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }
.hud { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hud button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); letter-spacing: inherit; text-transform: inherit; font-size: inherit; font-family: inherit; }
.hud button:hover { color: var(--ink); }
.hud__clock { font-variant-numeric: tabular-nums; }
.lang { display: inline-flex; gap: .35rem; }
.lang button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang span { color: var(--faint); }
.nav__toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center; justify-self: end;
}
.nav__toggle span { width: 20px; height: 1px; background: var(--ink); display: block; transition: transform .2s; }

/* ---------- 分区 ---------- */
main { padding-top: var(--nav-h); }
.section { position: relative; padding: clamp(4rem, 9vw, 8rem) 0; border-bottom: 1px solid var(--line); }
.section--light, .section--dark, .section--cta { background: var(--bg); color: var(--ink); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.section__note { max-width: 34ch; color: var(--muted); font-size: 14px; }

/* ---------- 渐入 ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 5rem) 0 3rem; }
.hero__glow { display: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(52px, 8vw, 116px); line-height: .96; font-weight: 500; letter-spacing: -0.045em; margin: 0 0 1.75rem; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero__line:nth-child(2) > span { animation-delay: .08s; }
.hero__line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.hero__lead { font-size: 17px; max-width: 46ch; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__facts { margin-top: 2.25rem; display: grid; gap: .35rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.hero__facts li::before { content: "— "; color: var(--faint); }
.hero__social { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero__social a:hover { color: var(--ink); }
.hero__scroll { display: none; }

/* 3D 物件 */
.hero__media, .hero__media--3d { position: relative; justify-self: end; width: min(100%, 520px); }
.hero__scene { position: relative; aspect-ratio: 1 / 1; width: 100%; cursor: crosshair; }
.hero__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hero__photo--fallback {
  position: absolute; inset: 8% 14%; border-radius: var(--radius); display: none;
  background: url("../img/hero.jpg") center top / cover no-repeat; filter: grayscale(1);
}
.hero:not(.has-3d) .hero__photo--fallback, .hero.no-3d .hero__photo--fallback { display: block; }
.hero__frame { display: none; }
.hero__caption { display: flex; justify-content: space-between; gap: 1rem; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.hero__caption-state { white-space: pre; min-width: 9ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- 去掉的装饰 ---------- */
.marquee, .stats { display: none; }

/* ---------- 关于我 ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about__side { position: sticky; top: calc(var(--nav-h) + 2rem); }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .35rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.path li { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); display: inline-flex; align-items: center; }
.path li:not(:last-child)::after { content: "→"; margin-left: .55rem; margin-right: -.2rem; color: var(--faint); }
.path li.is-current { border-color: var(--ink); color: var(--ink); }
.now { margin-top: 2.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--ink); }
.now__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.now__head .eyebrow { margin: 0; }
.now__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.now__updated { margin-left: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.now__list { display: grid; gap: .5rem; font-size: 15px; }
.now__list strong { display: inline-block; min-width: 5.5em; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted); }

/* ---------- 经历时间线 ---------- */
.timeline { border-top: 1px solid var(--ink); }
.timeline__item { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.timeline__when { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .35rem; }
.timeline__toggle { display: grid; grid-template-columns: 1fr 24px; gap: 1rem; align-items: start; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.timeline__logo { display: none; }
/* 公司 LOGO：很小、单色、低对比，只当一个记号；悬停时回到原色 */
.timeline__logos { display: flex; align-items: center; gap: .75rem; height: 14px; margin-bottom: .55rem; }
.timeline__logos img { height: 12px; width: auto; display: block; filter: grayscale(1) contrast(1.05); opacity: .55; transition: filter .25s, opacity .25s; }
.timeline__logos img.is-crest { height: 18px; }
html[data-theme="dark"] .timeline__logos img { filter: grayscale(1) invert(1) contrast(1.05); opacity: .5; }
.timeline__toggle:hover .timeline__logos img { filter: none; opacity: 1; }
.timeline__titles { display: flex; flex-direction: column; gap: .15rem; }
.timeline__titles .h3 { font-size: 24px; }
.timeline__role { font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }
.timeline__chev { width: 9px; height: 9px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); justify-self: center; margin-top: .6rem; }
.timeline__toggle[aria-expanded="true"] .timeline__chev { transform: rotate(-135deg); }
.timeline__toggle:hover .h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.timeline__toggle--static { cursor: default; grid-template-columns: 1fr; }
.timeline__toggle--static:hover .h3 { text-decoration: none; }
.timeline__details { padding: 1rem 0 .25rem; max-width: 66ch; animation: detailsin .3s var(--ease); }
.timeline__details[hidden] { display: none; }
@keyframes detailsin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 标签 / 筹片 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: 1rem; }
.tags li { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tags li::before { content: "#"; color: var(--faint); margin-right: .1em; }
.projects__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.tabs { display: inline-flex; gap: 1.5rem; }
.tab { border: 0; background: transparent; padding: .25rem 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; position: relative; }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.05rem; height: 1px; background: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.chip { border: 0; background: transparent; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: .25rem 0; cursor: pointer; transition: color .15s; }
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 项目：编辑式纯文字卡 ---------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem; }
.project {
  grid-column: span 4; display: flex; flex-direction: column; text-align: left; width: 100%;
  border: 0; border-top: 1px solid var(--line); background: transparent; padding: 1.25rem 0 2rem; cursor: pointer;
  transition: border-color .2s; animation: cardin .4s var(--ease) both; animation-delay: var(--i, 0s);
}
.project:nth-child(1) { grid-column: span 8; }
.project:nth-child(1) .h3 { font-size: clamp(28px, 3vw, 40px); }
.project:nth-child(1) .project__body p { font-size: 17px; max-width: 56ch; }
.project:hover { border-top-color: var(--ink); }
.project:hover .h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@keyframes cardin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.project__thumb { display: none; }
.project__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.project__meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project__body .h3 { font-size: 22px; margin-top: .25rem; }
.project__body p { color: var(--muted); font-size: 15px; flex: 1; }
.project__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; font-size: 12px; color: var(--muted); }
.project__foot strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-right: .4em; }
.project__foot span:last-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.status { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.status::before { content: "●"; margin-right: .4em; font-size: 8px; vertical-align: middle; }
.status--live { color: var(--accent); }
.status--building { color: var(--muted); }
.status--archived { color: var(--faint); }
.projects__empty { grid-column: 1 / -1; padding: 3rem 0; color: var(--muted); }

/* ---------- 弹层 ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(760px, 100% - 2rem); width: 100%; }
.modal::backdrop { background: rgba(120, 120, 110, .35); backdrop-filter: blur(8px); }
.modal[open] { animation: modalin .3s var(--ease); }
@keyframes modalin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal__inner { position: relative; background: var(--bg); color: var(--ink); border: 1px solid var(--ink); padding: 2.5rem; max-height: 85vh; overflow: auto; box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; font-size: 20px; line-height: 1; cursor: pointer; }
.modal__close:hover { border-color: var(--ink); }
.modal__title { font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin: .5rem 0 1rem; }
.modal__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem 0; margin: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.modal__facts dt { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal__facts dd { margin-top: .2rem; }
.modal__body p + p { margin-top: 1em; }
.modal__actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }

/* ---------- 文章列表：精选 + 行 ---------- */
.posts { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.post {
  display: grid; grid-template-columns: 140px 1fr 110px; gap: 0 1.5rem; align-items: baseline;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: border-color .2s;
}
.post:hover { text-decoration: none; border-bottom-color: var(--ink); }
.post:hover .post__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.post__tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post__title { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.post__summary { grid-column: 2; font-size: 14px; color: var(--muted); margin-top: .1rem; }
.post__date { grid-column: 3; grid-row: 1; font-size: 11px; letter-spacing: .06em; color: var(--muted); text-align: right; }
.post__more { display: none; }
.post--featured { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0; align-items: start; }
.post--featured > div { display: flex; flex-direction: column; gap: .75rem; }
.post--featured .post__title { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.post--featured .post__summary { font-size: 16px; grid-column: auto; }
.post--featured .post__date { grid-column: auto; grid-row: auto; text-align: left; }
.post--featured .post__more { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: .5rem; }
.post__cover { aspect-ratio: 16 / 10; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.writing__filters { margin-bottom: 2rem; }

/* ---------- 文章正文 ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article__head { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ink); }
.article__title { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; margin: .75rem 0 1.25rem; }
.article__meta { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 1.5rem; flex-wrap: wrap; }
.article__note { color: var(--accent); }
.article__body { font-size: 18px; line-height: 1.85; }
.article__body > p:first-of-type { font-size: 21px; line-height: 1.6; }
.article__body h2 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 2.75rem 0 1rem; }
.article__body h3 { font-size: 20px; font-weight: 500; margin: 2rem 0 .75rem; }
.article__body p { margin: 0 0 1.25em; }
.article__body ul, .article__body ol { padding-left: 1.4em; margin: 0 0 1.25em; list-style: revert; }
.article__body li { margin: .3em 0; }
.article__body blockquote { margin: 1.75em 0; padding: 0 0 0 1.25em; border-left: 1px solid var(--ink); color: var(--muted); }
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body code { font-family: var(--font-mono); font-size: .86em; background: var(--bg-2); padding: .15em .4em; border-radius: 3px; }
.article__body pre { background: var(--bg-2); border: 1px solid var(--line); padding: 1rem 1.25rem; overflow-x: auto; }
.article__body pre code { background: none; padding: 0; }
.article__body img { margin: 1.5em 0; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article__body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.article__body th, .article__body td { border-bottom: 1px solid var(--line); padding: .6em .75em; text-align: left; vertical-align: top; }
.article__body th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article__back { display: inline-block; margin-bottom: 1.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); font-size: 14px; }
.article__nav a { color: var(--muted); max-width: 45%; }
.article__nav a strong { color: var(--ink); font-weight: 500; }

/* ---------- 书架 ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.shelf__title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: .75rem; border-bottom: 1px solid var(--ink); margin-bottom: .25rem; font-weight: 500; }
.shelf__list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.shelf__list a { display: flex; flex-direction: column; }
.shelf__list a:hover { text-decoration: none; }
.shelf__list a:hover .shelf__name { text-decoration: underline; text-underline-offset: 4px; }
.shelf__name { font-weight: 500; }
.shelf__by { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.shelf__list p { margin-top: .35rem; font-size: 14px; color: var(--muted); }

/* ---------- 联系 ---------- */
.section--cta { text-align: left; }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 3rem; align-items: start; }
.cta .eyebrow { grid-column: 1 / -1; }
.cta__title { grid-column: 1 / -1; font-size: clamp(44px, 7.5vw, 112px); font-weight: 500; letter-spacing: -0.045em; line-height: .98; margin-bottom: 1.5rem; }
.cta__lead { grid-column: 1; max-width: 40ch; color: var(--muted); margin: 0; }
.cta .hero__actions { grid-column: 2; justify-content: flex-start; margin-top: 0; }
.cta__hint { grid-column: 2; font-size: 12px; margin: 0; }

/* ---------- 页脚 ---------- */
.footer { padding: 2rem 0 2.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: .2rem; }
.footer__brand { color: var(--ink); font-weight: 500; }
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a:hover, .footer__top:hover { color: var(--ink); }

.totop {
  position: fixed; right: 1.25rem; bottom: 4.75rem; z-index: 40; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s, border-color .2s;
}
.totop:hover { border-color: var(--ink); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); z-index: 70;
  background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  padding: .6rem 1rem; border-radius: 999px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 双语 ---------- */
html[data-lang="en"] [lang="zh-CN"] { display: none !important; }
html:not([data-lang="en"]) [lang="en"] { display: none !important; }
html.lang-switching [lang] { animation: langin .3s var(--ease); }
@keyframes langin { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 调试 / 静态模式 ---------- */
html[data-static] { scroll-behavior: auto; }
html[data-static] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html[data-static] .hero__line > span { animation: none !important; transform: none !important; }
html[data-static] .project { animation: none !important; }
html[data-only] main > *:not(.is-only), html[data-only] .footer { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .projects { gap: 0 1.5rem; }
  .project, .project:nth-child(1) { grid-column: span 6; }
  .project:nth-child(1) .h3 { font-size: 26px; }
  .project:nth-child(1) .project__body p { font-size: 15px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media, .hero__media--3d { justify-self: start; width: min(100%, 380px); }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__side { position: static; }
  .shelf { grid-template-columns: 1fr; gap: 2rem; }
  .cta { grid-template-columns: 1fr; }
  .cta .hero__actions, .cta__hint { grid-column: 1; }
  .post--featured { grid-template-columns: 1fr; gap: 1.5rem; }
  .hud .hud__clock { display: none; }
}
@media (max-width: 720px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem;
  }
  .nav__links a { padding: .75rem 0; width: 100%; font-size: 12px; }
  .nav__links a.is-active::after { display: none; }
  .nav.is-open .nav__links { display: flex; }
  .hud { display: none; }
  .nav.is-open .hud { display: flex; position: absolute; top: calc(var(--nav-h) + 17rem); left: var(--gutter); }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .section__head { flex-direction: column; align-items: flex-start; gap: .75rem; margin-bottom: 2rem; }
  .timeline__item { grid-template-columns: 1fr; gap: .25rem; padding: 1.5rem 0; }
  .timeline__when { padding-top: 0; }
  .project, .project:nth-child(1) { grid-column: span 12; }
  .post { grid-template-columns: 1fr; gap: .25rem; }
  .post__summary { grid-column: 1; }
  .post__date { grid-column: 1; grid-row: auto; text-align: left; }
  .modal__facts { grid-template-columns: 1fr; }
  .modal__inner { padding: 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(44px, 14vw, 72px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__line > span { animation: none; transform: none; }
  .project, .timeline__details, html.lang-switching [lang] { animation: none !important; }
}

/* =========================================================
   动效层（纸面版）：克制颜色，不克制动作
   ========================================================= */

/* ---------- 开场进度线 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar { width: 120px; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .12s linear; }
.loader__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
html[data-static] .loader { display: none; }

/* ---------- HUD 坐标 ---------- */
.hud__coords { font-variant-numeric: tabular-nums; color: var(--faint); }
@media (max-width: 1100px) { .hud__coords { display: none; } }

/* ---------- Hero：光晕 + 点阵底纹 ---------- */
.hero { overflow: hidden; }
.hero__glow {
  display: block; position: absolute; left: 55%; top: 40%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: 0;
  transform: translate(calc(-50% + var(--gx, 0px)), calc(-50% + var(--gy, 0px)));
  transition: transform .8s var(--ease);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(var(--line-strong) .6px, transparent .7px);
  background-size: 22px 22px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, #000 10%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, #000 10%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }

/* ---------- 关键词滚动条 ---------- */
.marquee {
  display: block; overflow: hidden; border-bottom: 1px solid var(--line); padding: .85rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: inline-flex; gap: 2.25rem; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[data-static] .marquee__track { animation: none; }

/* ---------- 数字 ---------- */
.stats { display: block; padding: 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.25rem 1.5rem; border-left: 1px solid var(--line); transition: background .3s; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:hover { background: var(--bg-2); }
.stat__num { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__suffix { font-family: var(--font-mono); font-size: .32em; letter-spacing: .08em; text-transform: uppercase; margin-left: .3em; color: var(--muted); }
.stat__label { margin-top: .75rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- 卡片：追光 + 倾斜（墨色） ---------- */
.project, .post:not(.post--featured), .stat { position: relative; }
.project::before, .post::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.project:hover::before, .post:hover::before { opacity: 1; }
.project > *, .post > * { position: relative; z-index: 1; }
.project { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--ease), border-color .2s; transform-style: preserve-3d; }
.project:hover { border-top-color: var(--ink); }
.project__foot span:last-child { transition: transform .25s var(--ease); display: inline-block; }
.project:hover .project__foot span:last-child { transform: translateX(6px); }

/* ---------- 经历：竖线与节点 ---------- */
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: calc(200px + 2rem - 1.25rem); top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__item::after {
  content: ""; position: absolute; left: calc(200px + 2rem - 1.25rem - 3.5px); top: 2.55rem; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--ink); transition: background .25s, box-shadow .25s;
}
.timeline__item:has(.timeline__toggle[aria-expanded="true"])::after { background: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline__item:first-child::before { top: 2.55rem; }
.timeline__body { padding-left: .5rem; }
@media (max-width: 720px) { .timeline__item::before, .timeline__item::after { display: none; } .timeline__body { padding-left: 0; } }

/* ---------- 精选封面：扫光 ---------- */
.post__cover { position: relative; overflow: hidden; }
.post__cover::after {
  content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, var(--accent-soft) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.1s var(--ease);
}
.post--featured:hover .post__cover::after { transform: translateX(60%); }

/* ---------- 按钮磁吸 + 箭头 ---------- */
.btn { transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .35s var(--ease), background .2s, color .2s, border-color .2s; will-change: transform; }

/* ---------- 链接下划线绘制 ---------- */
.nav__links a:not(.btn)::after { transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- 数字滚动的数位闪动 ---------- */
[data-count] { display: inline-block; min-width: 1.2ch; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .marquee__track { animation: none; }
  .project { transform: none !important; }
  .btn { transform: none !important; }
}

/* =========================================================
   舞台版首屏（haoqi.design 的骨架）：整屏舞台 + 网格十字 + 四角 HUD + 3D 主角 + 压字
   ========================================================= */

/* ---------- 页头：透明、无边框，只钉在顶部两角 ---------- */
.nav { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; height: auto; padding: 1.5rem var(--gutter); pointer-events: none; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: .9rem var(--gutter); border-bottom: 1px solid var(--line); }
.nav__inner { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; pointer-events: auto; }
.nav__brand .nav__name { font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.nav__links { gap: 2rem; }
.nav__links a:not(.btn), .nav__ctl { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: .9; }
.nav__ctl { border: 0; background: none; padding: .25rem 0; cursor: pointer; }
.nav__ctl:hover, .nav__links a:not(.btn):hover { opacity: 1; text-decoration: none; }
.nav__links a.is-active::after { display: none; }
.nav__links a.is-active { text-decoration: underline; text-underline-offset: 4px; }
main { padding-top: 0; }

/* ---------- 底部 HUD 栏（固定） ---------- */
.hud-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 1.25rem var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  pointer-events: none; mix-blend-mode: normal;
}
.hud-bottom > * { pointer-events: auto; }
.hud-bottom .hud__coords { text-align: center; color: var(--ink); opacity: .85; }
.hud-bottom .lang { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; }
.hud-bottom .lang button { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 0; background: none; padding: 0; cursor: pointer; }
.hud-bottom .lang button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hud-bottom .lang span { color: var(--faint); }
.hud__globe { margin-left: .75rem; color: var(--ink); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { padding-bottom: 5rem; }

/* ---------- 舞台 ---------- */
.stage {
  position: relative; height: 100vh; min-height: 640px; overflow: hidden; isolation: isolate;
  background: var(--bg);
}
.stage__sky, .stage__bg, .stage__scene, .stage__grid { position: absolute; inset: 0; }
.stage__sky { z-index: 0; opacity: 0; transition: opacity .6s; }
html:not([data-theme="dark"]) .stage__sky {
  opacity: 1;
  background:
    radial-gradient(60% 40% at 30% 25%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(50% 35% at 75% 70%, rgba(255,255,255,.7), transparent 70%),
    radial-gradient(40% 30% at 60% 20%, rgba(255,250,235,.7), transparent 70%),
    linear-gradient(180deg, #a9cdf0 0%, #bcd8f4 60%, #cfe3f7 100%);
  filter: blur(0);
}
html:not([data-theme="dark"]) .stage__sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 50% 55%, rgba(255,255,255,.55), transparent 70%);
  filter: blur(30px);
}
.stage__bg { z-index: 1; display: block; opacity: 0; transition: opacity .6s; }
.stage__scene { z-index: 2; }
.stage__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage__grid { z-index: 3; pointer-events: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 0 var(--gutter); }
.stage__grid i { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.stage__grid i:nth-child(3n) { border-right: 0; }
.stage__grid i:nth-child(n+7) { border-bottom: 0; }
.stage__grid i::after {
  content: "+"; position: absolute; right: -6px; bottom: -11px; font-family: var(--font-mono); font-size: 16px; line-height: 1; color: var(--line-strong);
}
.stage__grid i:nth-child(3n)::after, .stage__grid i:nth-child(n+7)::after { display: none; }
.stage__grid::before, .stage__grid::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); left: var(--gutter); }
.stage__grid::after { left: auto; right: var(--gutter); }

/* 四角信息 */
.stage__tl, .stage__tc, .stage__tr { position: absolute; z-index: 4; top: 5.5rem; }
.stage__tl { left: var(--gutter); }
.stage__tc { left: 50%; transform: translateX(-50%); width: min(30vw, 420px); }
.stage__tr { right: var(--gutter); width: min(30vw, 440px); text-align: left; }
.stage__tagline { font-family: var(--font-sans); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.stage .mono { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.65; letter-spacing: .01em; }
.stage__bio { color: var(--ink); }
.stage__links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; text-transform: uppercase; letter-spacing: .06em !important; font-size: 12px !important; }
.stage__links a { color: var(--muted); }
.stage__links a:hover { color: var(--ink); }

/* 压在主角上的大标语 */
.stage__title {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 6.5rem;
  font-family: var(--font-sans); font-weight: 800; text-transform: none;
  font-size: clamp(48px, 8.6vw, 150px); line-height: .92; letter-spacing: -0.04em; color: var(--ink);
  display: flex; flex-direction: column; pointer-events: none;
}
html:not([data-lang="en"]) .stage__title { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(56px, 9.5vw, 170px); }
.stage__line { display: block; overflow: hidden; }
.stage__line > span { display: block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.stage__line--2 > span { animation-delay: .08s; }
.stage__line--3 > span { animation-delay: .16s; }
.stage__line--1 { padding-left: 0; }
.stage__line--2 { padding-left: 4vw; }
.stage__line--3 { padding-left: 0; }
html[data-lang="en"] .stage__line--1 { padding-left: 0; }
html[data-lang="en"] .stage__line--2 { padding-left: 18vw; }
html[data-lang="en"] .stage__line--3 { padding-left: 6vw; }
html[data-static] .stage__line > span { animation: none; transform: none; }

/* 贴纸 */
.sticker {
  position: absolute; z-index: 4; padding: .45rem .8rem; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 11px !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--ink); background: var(--bg);
  box-shadow: 3px 3px 0 var(--ink); pointer-events: none; animation: float 6s ease-in-out infinite;
}
.sticker--1 { left: 58%; top: 34%; transform: rotate(-8deg); animation-delay: 0s; }
.sticker--2 { right: 9%; top: 58%; transform: rotate(6deg); animation-delay: -2s; }
.sticker--3 { left: 8%; top: 66%; transform: rotate(-4deg); animation-delay: -4s; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
html[data-theme="dark"] .sticker { box-shadow: 3px 3px 0 var(--accent); }

.stage__state { position: absolute; z-index: 4; right: var(--gutter); bottom: 6.5rem; font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* 旧 hero 类保留兼容 */
.hero, .hero__glow, .hero__photo--fallback { display: none; }

@media (max-width: 1100px) {
  .stage__tc { display: none; }
  .stage__tr { width: min(42vw, 440px); }
}
@media (max-width: 720px) {
  .stage { height: auto; min-height: 100vh; padding-bottom: 7rem; }
  .stage__tl { top: 5rem; }
  .stage__tr { position: static; width: auto; margin: 9rem var(--gutter) 0; }
  .stage__title { position: static; margin: 2rem var(--gutter) 0; font-size: clamp(44px, 14vw, 80px); }
  html:not([data-lang="en"]) .stage__title { font-size: clamp(48px, 15vw, 88px); }
  html[data-lang="en"] .stage__line--2, html[data-lang="en"] .stage__line--3, .stage__line--2 { padding-left: 0; }
  .stage__scene { height: 60vh; top: 12rem; }
  .sticker, .stage__state { display: none; }
  .hud-bottom { grid-template-columns: 1fr auto; }
  .hud-bottom .hud__coords { display: none; }
  .nav__links { top: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { .sticker, .hud__globe { animation: none; } }
