/* =========================================================================
   YOUR NAME — ACID PORTFOLIO
   视觉系统：深色酸性 / 高对比 / 液态金属 / 扭曲字 / 超现实网格
   纯 CSS，无外部字体与依赖。字体走系统重黑体栈。
   ========================================================================= */

/* ---------- 1. 变量与双主题 ---------- */
:root {
  --acid: #d9ff00;
  --acid-ink: #d9ff00;
  --magenta: #ff2ecc;
  --cyan: #00e9ff;
  --violet: #7a2bff;

  --ink: #08080a;
  --panel: #0c0c10;
  --panel-2: #111116;
  --text: #f2f0e9;
  --dim: #a3a096;
  --dimmer: #6d6a64;

  --line: rgba(217, 255, 0, .26);
  --line-2: rgba(242, 240, 233, .13);
  --line-3: rgba(242, 240, 233, .07);
  --hud-bg: rgba(8, 8, 10, .74);
  --glow: 0 0 60px rgba(217, 255, 0, .18);

  --chrome: linear-gradient(174deg,
      #ffffff 0%, #c7ccd4 9%, #6a6f79 20%, #f4f6fa 30%,
      #a9aeb8 41%, #3a3d44 51%, #dfe3ea 62%, #868b95 72%,
      #23252a 82%, #eef1f6 92%, #9aa0aa 100%);

  --gutter: clamp(16px, 3.4vw, 52px);
  --hud: 66px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

[data-theme="bleach"] {
  --acid: #d9ff00;
  --acid-ink: #55700a;
  --magenta: #f312b3;
  --cyan: #0090a8;

  --ink: #f2f0e8;
  --panel: #e9e7dc;
  --panel-2: #faf8f1;
  --text: #0a0a0c;
  --dim: #4d4b45;
  --dimmer: #7b786f;

  --line: rgba(10, 10, 12, .22);
  --line-2: rgba(10, 10, 12, .13);
  --line-3: rgba(10, 10, 12, .07);
  --hud-bg: rgba(242, 240, 232, .8);
  --glow: 0 0 50px rgba(120, 160, 0, .18);

  --chrome: linear-gradient(174deg,
      #ffffff 0%, #d3d7de 10%, #7d828c 21%, #ffffff 31%,
      #b6bac2 42%, #4a4d54 52%, #e8eaee 63%, #9195a0 73%,
      #303238 83%, #f6f7fa 93%, #8c919b 100%);
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scrollbar-color: var(--acid) var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52vw 52vw at 8% -6%, rgba(217, 255, 0, .10), transparent 62%),
    radial-gradient(46vw 46vw at 96% 12%, rgba(255, 46, 204, .13), transparent 64%),
    radial-gradient(60vw 60vw at 50% 108%, rgba(0, 233, 255, .10), transparent 66%);
}

[data-theme="bleach"] body::before {
  background:
    radial-gradient(52vw 52vw at 8% -6%, rgba(217, 255, 0, .35), transparent 62%),
    radial-gradient(46vw 46vw at 96% 12%, rgba(255, 46, 204, .14), transparent 64%),
    radial-gradient(60vw 60vw at 50% 108%, rgba(0, 233, 255, .16), transparent 66%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--acid); color: #0a0a0c; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wrap {
  position: relative;
  width: min(1560px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.hollow {
  color: transparent;
  -webkit-text-stroke: 1.2px currentColor;
}

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--acid);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  transition: top .25s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- 3. 噪点 / 扫描线 / 进度 ---------- */
.grain {
  position: fixed;
  inset: -60%;
  z-index: 92;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(3) infinite;
}

[data-theme="bleach"] .grain { opacity: .2; mix-blend-mode: multiply; }

@keyframes grainShift {
  0% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-2%, 1.5%, 0); }
  66% { transform: translate3d(1.5%, -1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.scan {
  position: fixed;
  inset: 0;
  z-index: 91;
  pointer-events: none;
  opacity: .28;
  background: repeating-linear-gradient(to bottom,
      rgba(0, 0, 0, .34) 0 1px,
      rgba(0, 0, 0, 0) 1px 3px);
}

[data-theme="bleach"] .scan { opacity: .12; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--acid), var(--magenta) 55%, var(--cyan));
  will-change: transform;
}

/* ---------- 4. 自定义光标 ---------- */
.cur {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: opacity .3s linear;
}

.cur__dot,
.cur__ring {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cur__dot {
  width: 6px;
  height: 6px;
  background: #fff;
}

.cur__ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .9);
  transition: width .35s var(--ease), height .35s var(--ease), border-radius .35s var(--ease), opacity .3s;
}

.cur__label {
  position: absolute;
  left: 26px;
  top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
  white-space: nowrap;
}

html.has-cur body,
html.has-cur a,
html.has-cur button { cursor: none; }

html.has-cur .cur { opacity: 1; }

.cur.is-hot .cur__ring {
  width: 74px;
  height: 74px;
  border-radius: 2px;
  border-color: rgba(255, 255, 255, .7);
}

.cur.is-hot .cur__label { opacity: 1; transform: translateY(0); }
.cur.is-down .cur__ring { width: 26px; height: 26px; }

/* ---------- 5. HUD ---------- */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--hud);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
}

.hud.is-solid {
  background: var(--hud-bg);
  border-bottom-color: var(--line-2);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--acid);
  color: #0a0a0c;
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  transform: rotate(-7deg);
  transition: transform .4s var(--ease), border-radius .4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(0deg);
  border-radius: 50%;
}

.brand__text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  white-space: nowrap;
}

.brand__text sup { color: var(--acid-ink); font-size: 8px; margin-left: 2px; }

.hud__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}

.hud__nav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--dim);
  transition: color .3s;
}

.hud__nav a i {
  font-style: normal;
  color: var(--dimmer);
  margin-right: 5px;
  font-size: 9px;
}

.hud__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}

.hud__nav a:hover { color: var(--text); }
.hud__nav a:hover::after { transform: scaleX(1); }

.hud__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.hud__nav + .hud__tools { margin-left: 0; }

.hud__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--dim);
  white-space: nowrap;
}

.hud__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(217, 255, 0, .7);
  animation: pulse 2.4s var(--ease-io) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 0, .55); }
  70% { box-shadow: 0 0 0 7px rgba(217, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 255, 0, 0); }
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 5px 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 40px;
  transition: border-color .3s, background .3s;
}

.toggle:hover { border-color: var(--line); }

.toggle__txt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--dim);
  min-width: 34px;
}

.toggle__knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--acid);
  transition: transform .45s var(--ease), background .3s;
}

.toggle[aria-pressed="false"] .toggle__knob {
  transform: translateX(-3px) scale(.8);
  background: var(--magenta);
}

.burger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
}

.burger em { font-style: normal; }

.burger > span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .2s;
}

.burger > span + span { width: 12px; }

/* ---------- 6. 移动端菜单 ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hud) + 28px) var(--gutter) 34px;
  background: var(--acid);
  color: #0a0a0c;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .7s var(--ease), visibility .7s;
  visibility: hidden;
}

.menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 36px);
  visibility: visible;
}

.menu__nav { display: flex; flex-direction: column; }

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10, 10, 12, .22);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 11vw, 66px);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.menu__nav a i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .55;
}

.menu__nav a em {
  font-style: normal;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  opacity: .55;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
}

body.menu-open { overflow: hidden; }
body.menu-open .hud { background: transparent; border-bottom-color: rgba(10, 10, 12, .2); backdrop-filter: none; }
body.menu-open .hud .brand { color: #0a0a0c; }
body.menu-open .brand__mark { background: #0a0a0c; color: var(--acid); }
body.menu-open .burger > span { background: #0a0a0c; }
body.menu-open .burger > span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 18px; }
body.menu-open .toggle { display: none; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: calc(var(--hud) + clamp(18px, 4vh, 46px));
  padding-bottom: clamp(20px, 4vh, 40px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 240, 233, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 233, .07) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
}

[data-theme="bleach"] .hero__mesh {
  background-image:
    linear-gradient(rgba(10, 10, 12, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 12, .08) 1px, transparent 1px);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .5;
  mix-blend-mode: screen;
  animation: orbFloat 18s var(--ease-io) infinite alternate;
}

.orb--acid {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: -10vw;
  background: radial-gradient(circle at 40% 40%, rgba(217, 255, 0, .75), transparent 68%);
}

.orb--magenta {
  width: 34vw;
  height: 34vw;
  right: -4vw;
  top: 4vw;
  background: radial-gradient(circle at 55% 45%, rgba(255, 46, 204, .65), transparent 68%);
  animation-delay: -6s;
}

.orb--cyan {
  width: 38vw;
  height: 38vw;
  left: 32vw;
  bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, rgba(0, 233, 255, .5), transparent 68%);
  animation-delay: -11s;
}

[data-theme="bleach"] .orb { mix-blend-mode: multiply; opacity: .34; }

/* 漂白主题下的铬字：改成深钢色，避免白底上看不见 */
[data-theme="bleach"] .glitch {
  background: linear-gradient(174deg,
      #3b3e45 0%, #0a0a0c 18%, #71767f 34%, #111214 52%,
      #4f545d 70%, #08080a 86%, #2c2f35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

[data-theme="bleach"] .glitch--acid {
  background: none;
  -webkit-text-fill-color: #c6ee00;
  color: #c6ee00;
  -webkit-text-stroke: 2px #0a0a0c;
  filter: drop-shadow(3px 3px 0 rgba(10, 10, 12, .9));
}

[data-theme="bleach"] .glitch--acid::before,
[data-theme="bleach"] .glitch--acid::after {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--magenta);
}

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vh, 0) scale(1.12); }
  100% { transform: translate3d(-3vw, -2vh, 0) scale(.94); }
}

.ball {
  position: absolute;
  right: clamp(2vw, 4.5vw, 70px);
  top: 17%;
  width: clamp(150px, 18vw, 262px);
  aspect-ratio: 1;
  border-radius: 46% 54% 43% 57% / 53% 46% 54% 47%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .95) 0 5%, rgba(255, 255, 255, .35) 11%, transparent 34%),
    radial-gradient(circle at 74% 80%, rgba(255, 255, 255, .55), transparent 30%),
    linear-gradient(166deg,
      #f6f8fb 0%, #c3c8d0 8%, #6f747e 17%, #eef1f5 25%,
      #a2a7b1 32%, #33363c 41%, #dfe3ea 49%, #8b909a 57%,
      #24262b 66%, #e8ebf0 74%, #969ba5 82%, #d5d9df 90%, #f6f8fb 100%);
  box-shadow:
    inset -18px -26px 44px rgba(0, 0, 0, .55),
    inset 10px 12px 30px rgba(255, 255, 255, .35),
    0 40px 90px rgba(0, 0, 0, .5),
    0 0 90px rgba(217, 255, 0, .14);
  filter: url(#liquid-soft) saturate(1.05);
  opacity: .95;
  animation: ballMorph 16s var(--ease-io) infinite alternate;
}

@keyframes ballMorph {
  0% { border-radius: 46% 54% 43% 57% / 53% 46% 54% 47%; }
  50% { border-radius: 55% 45% 58% 42% / 44% 56% 44% 56%; }
  100% { border-radius: 42% 58% 48% 52% / 58% 42% 56% 44%; }
}

[data-theme="bleach"] .ball {
  box-shadow:
    inset -18px -26px 44px rgba(0, 0, 0, .35),
    inset 10px 12px 30px rgba(255, 255, 255, .6),
    0 34px 70px rgba(0, 0, 0, .18);
}

.hero__glyph {
  position: absolute;
  right: -4vw;
  bottom: -12vh;
  font-size: 46vw;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 255, 0, .22);
  transform: rotate(12deg);
  animation: spinSlow 80s linear infinite;
}

@keyframes spinSlow { to { transform: rotate(372deg); } }

.hero__wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(20px, 4vh, 48px);
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--dim);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--acid-ink);
  text-transform: uppercase;
  white-space: nowrap;
}

.tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 2.6s steps(1) infinite;
}

.tag--acid {
  background: var(--acid);
  border-color: var(--acid);
  color: #0a0a0c;
}

@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .2; } }

.hero__coord { margin-left: auto; }
.hero__avail { color: var(--dimmer); }

.hero__mid {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 3vh, 30px) 0;
}

.hero__title {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(74px, 16.2vw, 236px);
  line-height: .8;
  letter-spacing: -.055em;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: .06em;
}

.glitch {
  position: relative;
  display: block;
  width: max-content;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55));
  isolation: isolate;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: none;
  -webkit-text-fill-color: var(--magenta);
  color: var(--magenta);
  filter: none;
  opacity: .5;
  transform: translate(-5px, 3px);
  pointer-events: none;
}

.glitch::after {
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan);
  opacity: .4;
  transform: translate(5px, -3px);
}

.glitch--acid {
  background: none;
  -webkit-text-fill-color: var(--acid);
  color: var(--acid);
  margin-left: clamp(0px, 7vw, 110px);
  filter: drop-shadow(0 0 34px rgba(217, 255, 0, .22));
}

.glitch--acid::before,
.glitch--acid::after {
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 1px var(--magenta);
  opacity: .55;
}

.glitch--acid::after {
  -webkit-text-stroke: 1px var(--cyan);
  opacity: .5;
}

.glitch.is-glitch::before { animation: glitchA .5s steps(2, end) 2; }
.glitch.is-glitch::after { animation: glitchB .5s steps(2, end) 2; }

@keyframes glitchA {
  0% { transform: translate(-5px, 3px); clip-path: inset(0 0 82% 0); }
  25% { transform: translate(-16px, -2px); clip-path: inset(38% 0 42% 0); }
  50% { transform: translate(8px, 2px); clip-path: inset(62% 0 18% 0); }
  75% { transform: translate(-10px, 4px); clip-path: inset(12% 0 74% 0); }
  100% { transform: translate(-5px, 3px); clip-path: inset(0 0 0 0); }
}

@keyframes glitchB {
  0% { transform: translate(5px, -3px); clip-path: inset(70% 0 4% 0); }
  30% { transform: translate(18px, 4px); clip-path: inset(18% 0 66% 0); }
  60% { transform: translate(-6px, -4px); clip-path: inset(48% 0 34% 0); }
  100% { transform: translate(5px, -3px); clip-path: inset(0 0 0 0); }
}

/* 贴纸 */
.stamps {
  position: absolute;
  right: 0;
  top: 0;
  width: min(330px, 30vw);
  height: 100%;
  pointer-events: none;
}

.stamp {
  position: absolute;
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--acid);
  color: #0a0a0c;
  border: 1px solid #0a0a0c;
  box-shadow: 4px 4px 0 rgba(10, 10, 12, .9);
  animation: stampFloat 7s var(--ease-io) infinite alternate;
}

.stamp--a {
  right: 6%;
  top: 2%;
  transform: rotate(-9deg);
}

.stamp--b {
  right: 3%;
  top: 53%;
  background: var(--magenta);
  transform: rotate(7deg);
  animation-delay: -2.4s;
}

.stamp--c {
  right: 34%;
  top: 55%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
  background: transparent;
  color: var(--acid-ink);
  border-color: var(--acid);
  box-shadow: none;
  transform: rotate(0);
}

@keyframes stampFloat {
  from { translate: 0 0; }
  to { translate: 0 -9px; }
}

.seal {
  position: absolute;
  right: 20%;
  bottom: 0;
  width: clamp(88px, 9vw, 118px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--acid-ink);
}

.seal svg {
  position: absolute;
  inset: 0;
  animation: spinSlow 26s linear infinite;
}

.seal__text {
  font-family: var(--mono);
  font-size: 8.6px;
  letter-spacing: .22em;
  fill: currentColor;
  text-transform: uppercase;
}

.seal b {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.04em;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: end;
  gap: clamp(18px, 4vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.hero__lede {
  max-width: 46ch;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.75;
  color: var(--dim);
}

.hero__lede b { color: var(--text); font-weight: 600; }

.hero__facts {
  display: flex;
  gap: clamp(16px, 3vw, 46px);
}

.hero__facts div { display: flex; flex-direction: column; gap: 4px; }

.hero__facts dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--dimmer);
}

.hero__facts dd {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -.02em;
  line-height: 1;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dimmer);
  writing-mode: vertical-rl;
  letter-spacing: .28em;
  font-size: 9px;
}

.hero__scroll i {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--acid), transparent);
  animation: scrollLine 2.2s var(--ease-io) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  46% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 8. TICKER ---------- */
.ticker {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line-2);
  background: var(--acid);
  color: #0a0a0c;
  overflow: hidden;
}

.ticker__row {
  border-bottom: 1px solid rgba(10, 10, 12, .25);
}

.ticker__row:last-child { border-bottom: 0; }

.ticker__row--rev {
  background: var(--ink);
  color: var(--text);
  border-top: 1px solid var(--line-2);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  min-height: 100%;
  animation: marquee var(--dur, 46s) linear infinite;
  will-change: transform;
}

.ticker__row--rev .ticker__track { animation-direction: reverse; }

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__track span {
  display: inline-block;
  padding: 10px 26px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 34px);
  line-height: 1.4;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__track span.hollow {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(10, 10, 12, .85);
}

.ticker__row--rev .ticker__track span.hollow {
  -webkit-text-stroke: 1.3px rgba(242, 240, 233, .45);
}

.ticker__track i {
  font-style: normal;
  font-size: clamp(14px, 1.8vw, 24px);
  opacity: .7;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 9. 通用段落 ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8.5vw, 122px) 0;
}

.section--line { border-top: 1px solid var(--line-2); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: end;
  gap: 14px clamp(20px, 4vw, 60px);
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  margin-bottom: clamp(26px, 4vw, 48px);
}

.sec-head__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--dim);
}

.sec-head__label .idx {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--acid);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.sec-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 9.4vw, 140px);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.sec-title sup {
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: .1em;
  color: var(--acid-ink);
  vertical-align: super;
  margin-left: 10px;
}

.sec-head__note {
  justify-self: end;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
  padding-bottom: 8px;
}

.sec-head--tight { margin-bottom: clamp(22px, 3vw, 34px); }

/* ---------- 10. 筛选 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.filter {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dim);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease);
}

.filter span {
  font-size: 8px;
  letter-spacing: .16em;
  opacity: .55;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line);
  transform: translateY(-2px);
}

.filter.is-active {
  background: var(--acid);
  border-color: var(--acid);
  color: #0a0a0c;
}

.filter.is-active span { opacity: .65; }

/* ---------- 11. 作品 ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
}

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-top: 34px;
}

.work--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.work__hit {
  position: absolute;
  inset: -6px;
  z-index: 2;
}

.work__no {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--acid-ink);
  pointer-events: none;
  transition: color .35s, -webkit-text-stroke-color .35s;
}

.work__shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-2);
  background: var(--panel);
  transition: border-color .4s, box-shadow .4s var(--ease), transform .5s var(--ease);
}

.work--wide .work__shot { aspect-ratio: 16 / 9; }

.work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.16) brightness(.94);
  transform: scale(1.01);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}

.work__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--acid);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(102%);
  transition: transform .45s var(--ease);
}

.work__cap b { font-weight: 700; }

.work__meta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  pointer-events: none;
}

.work--wide .work__meta { padding-bottom: 4px; }

.work__meta h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  transition: color .3s;
}

.work__meta p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}

.work--wide .work__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 26px;
  padding-top: 12px;
}

.work--wide .work__meta h3 { font-size: clamp(26px, 2.6vw, 38px); }
.work--wide .work__meta .chips { margin-top: 0; justify-self: end; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.chips li {
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.mini {
  position: relative;
  z-index: 4;
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--acid-ink);
  border-bottom: 1px solid var(--line);
  pointer-events: auto;
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}

.mini:hover { color: var(--text); border-color: var(--text); transform: translateX(3px); }

.work:hover .work__shot,
.work:focus-within .work__shot {
  border-color: var(--acid);
  box-shadow: 8px 8px 0 rgba(255, 46, 204, .85), var(--glow);
  transform: translate(-3px, -3px);
}

.work:hover .work__shot img,
.work:focus-within .work__shot img {
  filter: grayscale(0) contrast(1.06) saturate(1.15);
  transform: scale(1.055);
}

.work:hover .work__cap,
.work:focus-within .work__cap { transform: translateY(0); }

.work:hover .work__no {
  color: var(--acid);
  -webkit-text-stroke-color: #0a0a0c;
}

.work:hover .work__meta h3 { color: var(--acid-ink); }

.work.is-hidden { display: none; }

/* 附录名片 */
.appendix {
  margin-top: clamp(44px, 6vw, 84px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.appendix__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.appendix__head .idx {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--acid);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.appendix__head h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.appendix__head p {
  justify-self: end;
  max-width: 46ch;
  font-size: 12px;
  color: var(--dim);
  text-align: right;
}

.appendix__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

.mini-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--panel);
  transition: border-color .35s, transform .45s var(--ease), box-shadow .35s;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(.6) contrast(1.1) brightness(.9);
  transition: transform .8s var(--ease), filter .5s;
}

.mini-card__cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-top: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--dim);
  transition: background .3s, color .3s;
}

.mini-card:hover {
  border-color: var(--acid);
  transform: translateY(-4px);
  box-shadow: 5px 5px 0 rgba(255, 46, 204, .8);
}

.mini-card:hover img { filter: grayscale(0) saturate(1.2); transform: scale(1.05); }

.mini-card:hover .mini-card__cap { background: var(--acid); color: #0a0a0c; }

/* ---------- 12. 方法 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}

.step {
  position: relative;
  padding: clamp(20px, 2.6vw, 34px) clamp(14px, 1.8vw, 24px) clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  transition: color .4s, background .4s;
}

.step__no {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--dimmer);
  margin-bottom: clamp(20px, 4vw, 54px);
  transition: color .4s;
}

.step h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 10px;
  transition: color .4s;
}

.step p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 30ch;
  transition: color .4s;
}

.step__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}

.step:hover { background: var(--acid); }
.step:hover .step__no,
.step:hover p { color: rgba(10, 10, 12, .62); }
.step:hover h3 { color: #0a0a0c; }
.step:hover .step__bar { transform: scaleX(1); background: var(--magenta); }

/* ---------- 13. 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 80px);
}

.about__side {
  position: sticky;
  top: calc(var(--hud) + 30px);
  align-self: start;
}

.about__title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: .84;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--text);
}

.about__stamp {
  margin-top: 22px;
  color: var(--dimmer);
  line-height: 2;
}

.about__body { display: flex; flex-direction: column; gap: 18px; }

.about__lead {
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.45;
  letter-spacing: -.015em;
  font-weight: 500;
  max-width: 26em;
}

.about__lead mark {
  background: var(--acid);
  color: #0a0a0c;
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about__body > p:not(.about__lead) {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--dim);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--line-2);
}

.facts > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line-2);
}

.facts dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--dimmer);
}

.facts dd { font-size: 13px; line-height: 1.5; }

/* ---------- 14. 联系 ---------- */
.section--contact {
  padding-bottom: 0;
  border-top: 1px solid var(--line-2);
}

.contact__title {
  margin: 18px 0 clamp(22px, 3.4vw, 44px);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(42px, 8.4vw, 124px);
  line-height: .84;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.chrome {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4));
}

.mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-block: 2px solid var(--text);
  transition: background .35s, color .35s, padding .35s var(--ease);
  will-change: transform;
}

.mail__txt {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.045em;
  word-break: break-word;
}

.mail__arrow {
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1;
  transition: transform .4s var(--ease);
}

.mail:hover {
  background: var(--acid);
  color: #0a0a0c;
  padding-inline: 16px;
  border-color: #0a0a0c;
}

.mail:hover .mail__arrow { transform: translate(6px, -6px); }

.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding: 24px 0 clamp(38px, 5vw, 60px);
}

.contact__row p { font-size: 13px; color: var(--dim); max-width: 40ch; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; }

.socials a {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--dim);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease);
}

.socials a:hover {
  color: #0a0a0c;
  background: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-2px);
}

.contact__marquee {
  overflow: hidden;
  background: var(--magenta);
  color: #0a0a0c;
  border-top: 1px solid #0a0a0c;
}

.contact__marquee .ticker__track span {
  padding-block: 14px;
  font-size: clamp(24px, 4vw, 56px);
}

.contact__marquee .ticker__track span.hollow { -webkit-text-stroke: 1.4px rgba(10, 10, 12, .9); }

/* ---------- 15. 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3vw, 34px) 0 clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line-2);
  background: var(--ink);
}

.foot__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
}

.foot__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.foot__logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
}

.foot__logo sup { font-size: 9px; color: var(--acid-ink); }

.foot__left .mono { color: var(--dimmer); line-height: 1.7; font-size: 9px; }

.barcode {
  justify-self: center;
  width: min(180px, 30vw);
  height: 34px;
  opacity: .75;
  background-image:
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 7px);
  background-size: 13px 100%, 31px 100%;
}

.foot__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: var(--dimmer);
  font-size: 9px;
}

.foot__right a { color: var(--text); border-bottom: 1px solid var(--line); }
.foot__right a:hover { color: var(--acid-ink); }

/* ---------- 16. 进场动画 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__title .glitch {
  opacity: 0;
  transform: translateY(.28em) skewY(3deg);
}

.js.is-ready .hero__title .glitch {
  animation: heroIn 1.15s var(--ease) both;
}

.js.is-ready .hero__title .glitch:nth-child(2) { animation-delay: .12s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(.28em) skewY(3deg); }
  to { opacity: 1; transform: none; }
}

.js .hero__top,
.js .hero__bottom,
.js .hero__scroll { opacity: 0; }

.js.is-ready .hero__top,
.js.is-ready .hero__bottom,
.js.is-ready .hero__scroll {
  animation: fadeUp .9s var(--ease) .45s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1180px) {
  .hud__nav { gap: 14px; }
  .stamps { width: min(260px, 26vw); }
  .work--wide { grid-template-columns: 1fr; }
  .work--wide .work__shot { aspect-ratio: 16 / 9; }
  .work--wide .work__meta { padding-top: 10px; }
}

@media (max-width: 980px) {
  .hud__nav { display: none; }
  .burger { display: inline-flex; }
  .hud__status { display: none; }
  .hero__top { flex-wrap: wrap; gap: 8px 16px; }
  .hero__coord { margin-left: 0; }
  .stamps { display: none; }
  .ball { width: 150px; top: 8%; right: 4%; opacity: .8; }
  .hero__title { font-size: clamp(64px, 17vw, 170px); }
  .glitch--acid { margin-left: 0; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__facts { gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .about__side { position: static; }
  .about__title { font-size: clamp(46px, 11vw, 80px); }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__note { justify-self: start; padding-bottom: 0; }
  .appendix__head { grid-template-columns: auto 1fr; }
  .appendix__head p { grid-column: 1 / -1; text-align: left; justify-self: start; }
  .foot__inner { grid-template-columns: 1fr auto; }
  .barcode { display: none; }
}

@media (max-width: 720px) {
  :root { --hud: 58px; }
  .hero { min-height: auto; padding-top: calc(var(--hud) + 22px); padding-bottom: 42px; }
  .hero__wrap { gap: 18px; }
  .hero__mid { padding: 18px 0 8px; }
  .hero__title { font-size: clamp(52px, 17.6vw, 120px); }
  .hero__lede { font-size: 13px; }
  .hero__facts { flex-wrap: wrap; gap: 16px 28px; }
  .hero__scroll { display: none; }
  .hero__avail { display: none; }
  .ball { display: none; }
  .hud { gap: 8px; }
  .brand__text { font-size: 10px; }
  .hud__tools { gap: 8px; }
  .work--wide .work__shot { aspect-ratio: 16 / 10; }
  .work--wide .work__meta { grid-template-columns: 1fr; gap: 6px; }
  .work--wide .work__meta .chips { justify-self: start; }
  .glitch::before { transform: translate(-2px, 2px); }
  .glitch::after { transform: translate(2px, -2px); }
  .ticker__track span { padding: 8px 16px; font-size: 18px; }
  .works { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .work__shot { aspect-ratio: 3 / 2; }
  .appendix__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; align-items: start; }
  .step__no { margin-bottom: 0; padding-top: 6px; }
  .step h3 { grid-column: 2; }
  .step p { grid-column: 2; }
  .facts { grid-template-columns: 1fr; }
  .contact__row { flex-direction: column; align-items: flex-start; }
  .foot__inner { grid-template-columns: 1fr; gap: 14px; }
  .foot__right { align-items: flex-start; }
  .mail { padding: 12px 0; }
  .mail__txt { font-size: clamp(20px, 6.4vw, 30px); }
  .filters { gap: 6px; }
  .filter { padding: 7px 10px; font-size: 10px; }
}

@media (max-width: 420px) {
  .toggle__txt { display: none; }
  .toggle { padding: 0 4px; }
  .brand__text { font-size: 9px; }
  .hero__facts dd { font-size: 16px; }
  .sec-title { font-size: 44px; }
  .about__lead { font-size: 19px; }
}

/* ---------- 18. 宽屏 ---------- */
@media (min-width: 1680px) {
  .hero__title { font-size: min(16.2vw, 268px); }
  .works { gap: 38px; }
}

/* ---------- 18b. 触屏 / 无 hover 兜底 ---------- */
/* 手机与平板没有 hover：缩略图保持彩色，角标常驻，避免"点了才知道能进" */
@media (hover: none), (pointer: coarse) {
  .work__shot img,
  .mini-card img {
    filter: grayscale(0) contrast(1.05) saturate(1.08);
  }
  .work__cap { transform: translateY(0); }
  .work__shot { border-color: var(--line-2); }
}

/* ---------- 19. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .hero__title .glitch,
  .js .hero__top,
  .js .hero__bottom,
  .js .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .grain { animation: none; }
  .ticker__track { animation: none !important; }
}

/* ---------- 20. 打印 ---------- */
@media print {
  .hud, .menu, .grain, .scan, .cur, .progress, .ticker, .contact__marquee, .hero__bg { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .work__shot img { filter: none; }
}
