/* ============================================================
   默哲易 · 作品集 2026
   深色玻璃拟态 · 单页 · 纯手写 CSS，无框架
   ============================================================ */

:root{
  color-scheme: dark;

  --bg: #070707;
  --txt: #f2f1ee;
  --dim: rgba(242,241,238,.60);
  --dim-2: rgba(242,241,238,.40);

  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);

  --c1: #ff4a2b;   /* 暖红 */
  --c2: #e10600;   /* 正红 */
  --c3: #ff8a5c;   /* 火星 */
  --accent: #e10600;

  --r: 20px;
  --r-sm: 14px;
  --maxw: 1180px;

  --ease: cubic-bezier(.22,.8,.24,1);
  --nav-h: 68px;
}

/* ---------------- 基础 ---------------- */
*,*::before,*::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--txt);
  font-family: "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,
               BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1,h2,h3,p,ol,ul,figure{ margin: 0; }
ol,ul{ list-style: none; padding: 0; }
::selection{ background: rgba(225,6,0,.38); color: #fff; }

:focus-visible{
  outline: 1px solid rgba(255,255,255,.62);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------------- 背景光层 ---------------- */
.bg{
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -20%, #160b0a 0%, #0a0809 46%, #070707 100%);
}

.orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .42;
  will-change: transform;
}
.orb--1{
  width: 56vw; height: 56vw; min-width: 420px; min-height: 420px;
  left: -14vw; top: -18vw;
  background: radial-gradient(circle at 40% 40%, rgba(225,6,0,.55), rgba(225,6,0,0) 68%);
  animation: drift1 28s ease-in-out infinite;
}
.orb--2{
  width: 48vw; height: 48vw; min-width: 380px; min-height: 380px;
  right: -12vw; top: 6vw;
  background: radial-gradient(circle at 55% 45%, rgba(255,74,43,.34), rgba(255,74,43,0) 68%);
  animation: drift2 34s ease-in-out infinite;
  opacity: .3;
}
.orb--3{
  width: 52vw; height: 52vw; min-width: 400px; min-height: 400px;
  left: 28vw; bottom: -26vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,138,92,.26), rgba(255,138,92,0) 70%);
  animation: drift3 40s ease-in-out infinite;
  opacity: .26;
}

@keyframes drift1{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(6vw,4vw,0) scale(1.12); }
}
@keyframes drift2{
  0%,100%{ transform: translate3d(0,0,0) scale(1.05); }
  50%{ transform: translate3d(-5vw,6vw,0) scale(.94); }
}
@keyframes drift3{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(-4vw,-4vw,0) scale(1.1); }
}

.bg-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 10%, transparent 76%);
  opacity: .8;
}

.bg-grain{
  position: absolute; inset: -50%;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain{
  0%,100%{ transform: translate(0,0); }
  20%{ transform: translate(-2%,1%); }
  40%{ transform: translate(1%,-2%); }
  60%{ transform: translate(-1%,-1%); }
  80%{ transform: translate(2%,1%); }
}

/* ---------------- 顶部滚动条 ---------------- */
.scrollbar{
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 90; background: rgba(255,255,255,.05);
}
.scrollbar i{
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c1), var(--c2) 55%, var(--c3));
  box-shadow: 0 0 12px rgba(225,6,0,.75);
  transition: width .1s linear;
}

/* ---------------- 导航 ---------------- */
.nav{
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 32px));
  z-index: 80;
}
.nav-inner{
  display: flex; align-items: center; gap: 14px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20,23,34,.72), rgba(12,14,21,.62));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 12px 40px -12px rgba(0,0,0,.8),
    inset 0 1px 0 rgba(255,255,255,.07);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled .nav-inner{
  background: linear-gradient(160deg, rgba(16,19,29,.86), rgba(9,11,17,.8));
  border-color: rgba(255,255,255,.14);
}

.brand{ display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark{
  font-size: 17px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.brand-txt{
  display: flex; flex-direction: column; gap: 1px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
}
.brand-txt em{
  font-style: normal; font-size: 9px; letter-spacing: .28em;
  color: var(--dim-2); font-weight: 500;
}

.nav-links{ display: flex; align-items: center; gap: 4px; }
.nav-links a{
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--dim);
  transition: color .3s, background .3s;
}
.nav-links a:hover{ color: var(--txt); background: rgba(255,255,255,.06); }

.nav-cta{
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: #0a0b10;
  background: linear-gradient(135deg, #ffffff, #dfe4f5);
  box-shadow: 0 6px 20px -8px rgba(255,255,255,.5);
  transition: transform .3s var(--ease), box-shadow .3s;
  white-space: nowrap;
}
.nav-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(200,210,255,.6);
}

.nav-toggle{
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span{
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--txt); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav-toggle span:first-child{ top: 16px; }
.nav-toggle span:last-child{ top: 21px; }
.nav-toggle[aria-expanded="true"] span:first-child{ transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child{ transform: translateY(-2.5px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero{
  position: relative; z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 80px;
}
.hero-grid{
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 58px;
  align-items: center;
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  font-size: 10px; letter-spacing: .3em;
  color: rgba(242,241,238,.44);
  margin-bottom: 26px;
}
.eyebrow i{
  display: block; width: 26px; height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow .dot{
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c2);
  box-shadow: 0 0 10px var(--c2);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink{ 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }

.hero-title{
  font-size: clamp(52px, 8.2vw, 104px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: .02em;
  display: flex; flex-direction: column; gap: 14px;
  color: #ffffff;
}
.hero-en{
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  font-size: clamp(10.5px, 1.1vw, 13px);
  letter-spacing: .52em;
  font-weight: 500;
  color: var(--c1);
}

.hero-role{
  display: flex; align-items: center; gap: 12px;
  margin-top: 30px;
  font-size: 13.5px; letter-spacing: .1em;
  color: var(--dim);
}
.hero-role span{
  display: block; width: 2px; height: 15px;
  background: var(--accent);
  flex: none;
}

.hero-lead{
  margin-top: 44px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 2.05;
  letter-spacing: .05em;
  color: rgba(242,241,238,.78);
  max-width: 26em;
}

.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 2px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: .16em;
  color: var(--txt);
  background-color: transparent;
  transition:
    background-color .45s var(--ease),
    border-color .45s var(--ease),
    transform .45s var(--ease),
    box-shadow .45s var(--ease);
  will-change: transform;
}
.btn:hover{
  background-color: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(0,0,0,.95);
}
.btn--solid{
  color: #0a0808;
  border-color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #ecebe6 100%);
  box-shadow:
    0 14px 34px -16px rgba(255,255,255,.42),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.btn--solid:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border-color: #ffffff;
  box-shadow:
    0 20px 44px -16px rgba(255,255,255,.5),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.btn--ghost{
  color: var(--txt);
  border: 1px solid rgba(255,255,255,.20);
  background-color: transparent;
}
.btn--ghost:hover{
  transform: translateY(-2px);
  background-color: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.40);
}
.btn .arw{
  font-size: 13px; opacity: .62;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.btn:hover .arw{ transform: translateX(5px); opacity: 1; }
.btn--solid#copyMail .arw{ transform: none; }

.hero-stats{
  display: flex; gap: 34px;
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stats li{ display: flex; flex-direction: column; gap: 3px; }
.hero-stats b{
  font-size: 20px; font-weight: 700; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span{ font-size: 11.5px; color: var(--dim-2); letter-spacing: .06em; }

/* 首屏视觉：选手名片 + 墨点散焦 */
.hero-card{ position: relative; }

.card-frame{
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.075),
    0 64px 120px -54px rgba(0,0,0,.96),
    0 0 120px -30px rgba(225,6,0,.20);
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 1s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
}
.card-frame:hover{
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 74px 130px -54px rgba(0,0,0,.96),
    0 0 140px -26px rgba(225,6,0,.28);
}
.card-frame img{
  width: 100%;
  filter: saturate(.99) contrast(1.02);
}
.card-frame .ink{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .9;
}

.card-meta{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.075);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--dim-2);
}

/* ---------------- 条幅 ---------------- */
.ticker{
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.018);
  overflow: hidden;
  padding: 15px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track{
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state: paused; }
.ticker-track span{
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  font-size: 11px; letter-spacing: .3em;
  color: rgba(238,241,247,.42);
  white-space: nowrap;
}
.ticker-track i{
  font-style: normal; font-size: 7px;
  color: rgba(255,116,74,.85);
}
@keyframes marquee{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}

/* ---------------- 通用区块 ---------------- */
.section{
  position: relative; z-index: 1;
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 40px;
}

.sec-kicker{
  display: flex; align-items: center; gap: 10px;
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  font-size: 10.5px; letter-spacing: .24em;
  color: var(--dim-2);
  margin-bottom: 18px;
}
.sec-kicker span{
  color: var(--c1);
  padding: 2px 7px;
  border: 1px solid rgba(255,116,74,.32);
  border-radius: 5px;
  font-size: 9.5px;
  letter-spacing: .1em;
}

.sec-title{
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  background: linear-gradient(170deg, #fff 20%, #a9b1c9 115%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.sec-head{ max-width: 620px; margin-bottom: 40px; }
.sec-desc{
  margin-top: 16px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------------- 筛选：空心描边胶囊 ---------------- */
.filters{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.filter{
  --ring: rgba(255,255,255,.26);
  --glow: 255,198,152;
  --glow-a: .19;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--ring);
  background-color: transparent;
  font-size: 13.5px;
  letter-spacing: .02em;
  color: rgba(242,241,238,.92);
  -webkit-tap-highlight-color: transparent;
  transition:
    color .42s var(--ease),
    border-color .42s var(--ease),
    background-color .42s var(--ease),
    box-shadow .42s var(--ease);
}

/* 向内柔和扩散的淡色光晕 */
.filter::before{
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(105% 125% at 50% 50%, rgba(var(--glow),0) 46%, rgba(var(--glow),var(--glow-a)) 100%);
  opacity: 0;
  transition: opacity .46s var(--ease);
}

.filter em{
  font-style: normal;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(242,241,238,.40);
  font-variant-numeric: tabular-nums;
  transition: color .42s var(--ease);
}

/* hover：描边微粗 + 文字提亮 + 内侧光晕 */
.filter:hover{
  color: #fff;
  border-color: rgba(255,255,255,.44);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.filter:hover::before{ opacity: .85; }
.filter:hover em{ color: rgba(242,241,238,.64); }
.filter:active{ background-color: rgba(255,255,255,.045); }

/* 选中：暖橙描边 + 橙字 + 极淡橙底 */
.filter.is-on{
  --glow: 255,150,96;
  --glow-a: .27;
  color: #ffb27a;
  border-color: rgba(255,150,96,.78);
  background-color: rgba(255,138,84,.075);
  box-shadow:
    inset 0 0 0 1px rgba(255,150,96,.12),
    0 6px 24px -16px rgba(255,112,56,.55);
}
.filter.is-on em{ color: rgba(255,178,122,.64); }
.filter.is-on::before{ opacity: .5; }
.filter.is-on:hover{
  color: #ffc195;
  border-color: rgba(255,166,118,.92);
  background-color: rgba(255,138,84,.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,166,118,.24),
    inset 0 0 26px rgba(255,150,96,.09),
    0 8px 30px -16px rgba(255,104,48,.6);
}
.filter.is-on:hover::before{ opacity: .8; }
.filter.is-on:hover em{ color: rgba(255,190,140,.78); }
.filter.is-on:active{ background-color: rgba(255,138,84,.135); }

/* ---------------- 作品网格 ---------------- */
.works{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 空分类的交代 */
.works-empty{
  margin: 0;
  padding: 72px 24px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: var(--r);
  text-align: center;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .02em;
}
.works-empty b{
  display: block;
  margin-bottom: 6px;
  color: rgba(242,241,238,.9);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}

.work{
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
  transition:
    transform .5s var(--ease),
    border-color .5s,
    box-shadow .5s,
    opacity .35s,
    filter .35s;
}
.work::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255,255,255,.35), transparent 62%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  z-index: 4;
}
.work:hover::before{ opacity: 1; }
.work:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.16);
  box-shadow:
    0 30px 60px -24px rgba(0,0,0,.9),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.09);
}

.work-media{
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0909;
}
.work-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1s var(--ease), filter .6s, opacity .5s;
  filter: saturate(.9) brightness(.88);
}
.work:hover .work-media img{
  transform: scale(1.06);
  filter: saturate(1.02) brightness(1);
}

/* 平面类作品：竖向画幅，完整显示不裁切 */
.work[data-cat="visual"] .work-media{
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 50% 0%, #171312 0%, #0d0b0b 62%, #080807 100%);
}
/* 作品图不做压暗渐变，别盖住画本身 */
.work[data-cat="visual"] .work-media::after{ display: none; }

/* 横画幅摄影：允许裁切，避免卡片高度被拉低 */
.work[data-cat="visual"].work--cover .work-media img{
  object-fit: cover;
  object-position: center 58%;
}

/* 横版作品：占两列，按横画幅铺开，不做无谓留白 */
.work[data-cat="visual"].work--wide{ grid-column: span 2; }
.work[data-cat="visual"].work--wide .work-media{ aspect-ratio: 13 / 8; }
.work[data-cat="visual"] .work-media img{
  object-fit: contain;
  object-position: center;
  filter: saturate(.98) brightness(.96);
}
.work[data-cat="visual"]:hover .work-media img{
  transform: scale(1.03);
  filter: saturate(1.02) brightness(1);
}
.work-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,11,.25) 0%, rgba(6,7,11,0) 30%, rgba(6,7,11,.55) 78%, rgba(6,7,11,.92) 100%);
  pointer-events: none;
}

.work-idx{
  position: absolute; top: 14px; left: 16px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px; letter-spacing: .16em;
  color: rgba(255,255,255,.62);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(6,7,11,.45);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.work-info{
  position: relative;
  padding: 16px 18px 19px;
  z-index: 2;
}
.work-line{
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.work-line h3{
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.35;
}
.work-year{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: var(--dim-2);
  flex: none;
  font-variant-numeric: tabular-nums;
}
.work-en{
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .16em;
  color: rgba(238,241,247,.34);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chips{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.chips span{
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(238,241,247,.72);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  white-space: nowrap;
}
.chips--lg span{ font-size: 12.5px; padding: 7px 14px; }

.work-hit{
  position: absolute; inset: 0;
  z-index: 5;
  border-radius: inherit;
  width: 100%; height: 100%;
  cursor: pointer;
}
.work-hit::after{
  content: "查看 ↗";
  position: absolute; right: 16px; top: 14px;
  font-size: 11px;
  letter-spacing: .06em;
  color: #0a0808;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s, transform .4s var(--ease);
  z-index: 3;
}
.work:hover .work-hit::after{ opacity: 1; transform: translateY(0); }

.work.is-hidden{ display: none; }
.work.is-enter{ animation: cardIn .55s var(--ease) both; }
@keyframes cardIn{
  from{ opacity: 0; transform: translateY(14px) scale(.985); }
  to{ opacity: 1; transform: none; }
}

/* ---------------- 关于 ---------------- */
.section--about{ padding-top: 130px; }

.about-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start;
}
.about-lead{
  margin-top: 22px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
  color: rgba(238,241,247,.9);
  letter-spacing: -.005em;
}
.about-text{
  margin-top: 20px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.95;
}

.about-panel{
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 26px 26px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -40px rgba(0,0,0,.9);
}
.panel-title{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px; letter-spacing: .24em;
  color: var(--dim-2);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.steps{ counter-reset: s; }
.steps li{
  position: relative;
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  counter-increment: s;
}
.steps li:last-child{ border-bottom: 0; padding-bottom: 4px; }
.steps li::before{
  content: "0" counter(s);
  position: absolute; left: 0; top: 22px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: var(--c1);
  opacity: .85;
}
.steps b{
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.steps span{
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--dim);
}

.skills{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.skill-group{
  padding: 22px 22px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.028);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.skill-group h3{
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--dim-2);
  margin-bottom: 14px;
}

/* ---------------- 联系 ---------------- */
.section--contact{ padding-top: 120px; padding-bottom: 60px; }

.contact-card{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.022) 55%, rgba(255,255,255,.045));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  padding: clamp(32px, 5vw, 64px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 40px 90px -50px rgba(0,0,0,1);
}
.contact-glow{
  position: absolute;
  width: 520px; height: 520px;
  right: -120px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,116,74,.24), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}
.contact-title{
  position: relative;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  background: linear-gradient(170deg, #fff 20%, #b3bbd2 120%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-top: 6px;
}
.contact-desc{
  position: relative;
  margin-top: 16px;
  color: var(--dim);
  font-size: 15.5px;
  max-width: 34em;
}
.contact-actions{
  position: relative;
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.contact-links{
  position: relative;
  display: flex; flex-wrap: wrap; gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-links a{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  color: var(--dim);
  transition: color .3s, gap .3s var(--ease);
}
.contact-links a em{
  font-style: normal; font-size: 11px; color: var(--dim-2);
  transition: transform .3s var(--ease), color .3s;
}
.contact-links a:hover{ color: var(--txt); }
.contact-links a:hover em{ transform: translate(2px,-2px); color: var(--c2); }

/* ---------------- 页脚 ---------------- */
.foot{
  position: relative; z-index: 1;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 26px 0 34px;
}
.foot-inner{
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--dim-2);
  letter-spacing: .04em;
}
.foot-mid{ color: rgba(238,241,247,.26); }
.foot-inner a{ transition: color .3s; }
.foot-inner a:hover{ color: var(--txt); }

/* ---------------- 详情弹窗 ---------------- */
.modal{
  width: min(1020px, calc(100% - 40px));
  max-height: min(88vh, 760px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(23,26,38,.94), rgba(10,12,18,.96));
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  color: var(--txt);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,1),
    inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
}
.modal::backdrop{
  background: rgba(3,4,8,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal[open]{
  animation: modalIn .45s var(--ease) both;
}
@keyframes modalIn{
  from{ opacity: 0; transform: translateY(18px) scale(.985); }
  to{ opacity: 1; transform: none; }
}

.modal-inner{
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  height: 100%;
  max-height: inherit;
}
.modal-media{
  position: relative;
  background: #05060a;
  overflow: hidden;
  min-height: 260px;
}
.modal-media img{
  width: 100%; height: 100%;
  object-fit: contain;
  max-height: inherit;
}
.modal-body{
  padding: 34px 30px 30px;
  overflow-y: auto;
  max-height: inherit;
  border-left: 1px solid rgba(255,255,255,.07);
}
.modal-kicker{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px; letter-spacing: .22em;
  color: var(--c1);
  margin-bottom: 14px;
}
.modal-title{
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.modal-en{
  margin-top: 7px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--dim-2);
}
.modal-desc{
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(238,241,247,.82);
}
.modal-body .chips{ margin-top: 22px; }
.modal-note{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--dim-2);
}
.modal-note:empty{ display: none; }

/* 可玩作品：弹窗里的启动按钮 */
.modal-play{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: #250b04;
  background: linear-gradient(135deg, #ffc095, #ff7f4f);
  box-shadow: 0 14px 34px -16px rgba(255,110,60,.8);
  transition: transform .4s var(--ease), filter .4s, box-shadow .4s;
}
.modal-play[hidden]{ display: none; }
.modal-play i{
  font-style: normal;
  transition: transform .4s var(--ease);
}
.modal-play:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 44px -18px rgba(255,110,60,.95);
}
.modal-play:hover i{ transform: translate(2px,-2px); }

.modal-x{
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,12,18,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  color: rgba(255,255,255,.85);
  z-index: 10;
  transition: background .3s, transform .3s var(--ease), color .3s;
}
.modal-x:hover{ background: rgba(255,255,255,.16); transform: rotate(90deg); color: #fff; }

/* ---------------- 入场动画 ---------------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in{
  opacity: 1;
  transform: none;
}

/* 复制成功提示 */
.btn.is-copied{
  background: linear-gradient(135deg, #b8ffe9, #7ce8cc);
}

/* ---------------- 交互 / 影像：屏幕类作品用横画幅 ---------------- */
.work[data-cat="motion"] .work-media,
.work[data-cat="interactive"] .work-media{
  aspect-ratio: 16 / 10;
  background: #0a0908;
}
.work[data-cat="motion"] .work-media img,
.work[data-cat="interactive"] .work-media img{
  object-fit: cover;
  object-position: center;
  filter: saturate(1) brightness(.95);
}
.work[data-cat="motion"]:hover .work-media img,
.work[data-cat="interactive"]:hover .work-media img{
  transform: scale(1.035);
  filter: saturate(1.05) brightness(1.02);
}
/* 影像卡不做底部压暗，别盖住画面 */
.work[data-cat="motion"] .work-media::after,
.work[data-cat="interactive"] .work-media::after{ display: none; }

/* 影像：右下角播放圆环 */
.work[data-cat="motion"] .work-media::before{
  content: "";
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(10,8,8,.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.14);
  z-index: 3;
  transition: transform .5s var(--ease), border-color .5s, background-color .5s;
  pointer-events: none;
}
.work[data-cat="motion"] .work-media::before,
.work[data-cat="interactive"] .work-media::before{ z-index: 3; }

.work[data-cat="motion"] .work-media img + .work-idx ~ .work-media-play{ }

/* 影像：三角 */
.work[data-cat="motion"] .work-media::after{
  content: "";
  display: block;
  position: absolute; right: 14px; bottom: 14px;
  left: auto; top: auto;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.92);
  -webkit-clip-path: polygon(38% 31%, 38% 69%, 67% 50%);
  clip-path: polygon(38% 31%, 38% 69%, 67% 50%);
  border: 0;
  z-index: 4;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.work[data-cat="motion"]:hover .work-media::before{
  transform: scale(1.08);
  border-color: rgba(255,178,122,.62);
  background: rgba(255,120,70,.16);
}
.work[data-cat="motion"]:hover .work-media::after{
  transform: translateX(2px);
}

/* 交互：右下角 PLAY 胶囊 */
.work[data-cat="interactive"] .work-media::before{
  content: "PLAY";
  position: absolute; right: 14px; bottom: 14px;
  z-index: 3;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  line-height: 1;
  color: rgba(255,255,255,.94);
  padding: 7px 11px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(10,8,8,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.8);
  transition: background-color .45s, border-color .45s, color .45s, transform .45s var(--ease);
  pointer-events: none;
}
.work[data-cat="interactive"]:hover .work-media::before{
  color: #16100c;
  background: linear-gradient(135deg, #ffc095, #ff7f4f);
  border-color: rgba(255,150,96,.7);
  transform: translateY(-2px);
}

/* ---------------- 完整档案入口 ---------------- */
.arc-cta{
  position: relative;
  display: block;
  margin-top: 26px;
  padding: 54px 58px 52px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(92% 150% at 86% 4%, rgba(225,6,0,.17), rgba(225,6,0,0) 58%),
    linear-gradient(112deg, rgba(255,255,255,.052), rgba(255,255,255,.012) 58%, rgba(255,255,255,.032));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: border-color .55s, transform .6s var(--ease), box-shadow .6s;
}

/* 巨大的水印数字 */
.arc-cta-big{
  position: absolute;
  right: 26px; bottom: -52px;
  font-size: clamp(180px, 25vw, 330px);
  font-weight: 700;
  line-height: .76;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.085);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color .6s, transform .8s var(--ease);
}
.arc-cta:hover .arc-cta-big{
  -webkit-text-stroke-color: rgba(255,150,96,.12);
  transform: translateX(-6px);
}

.arc-cta:hover{
  border-color: rgba(255,150,96,.3);
  transform: translateY(-3px);
  box-shadow:
    0 44px 90px -46px rgba(0,0,0,.95),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.arc-cta-kicker{
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(242,241,238,.34);
}
.arc-cta-kicker b{ color: rgba(255,150,96,.9); font-weight: 600; }
.arc-cta-kicker i{ font-style: normal; color: rgba(255,255,255,.16); }

.arc-cta-title{
  position: relative; z-index: 2;
  margin-top: 22px;
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.032em;
}
.arc-cta-title em{
  font-style: normal;
  background: linear-gradient(96deg, #ffb27a 0%, #ff6a3d 46%, #e10600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.arc-cta-desc{
  position: relative; z-index: 2;
  max-width: 520px;
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 2;
  color: rgba(242,241,238,.5);
}

.arc-cta-go{
  position: absolute;
  right: 58px; bottom: 52px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .01em;
  color: #250b04;
  font-weight: 500;
  background: linear-gradient(135deg, #ffc095, #ff7f4f);
  box-shadow: 0 12px 32px -14px rgba(255,110,60,.7);
  transition: transform .45s var(--ease), box-shadow .45s, filter .45s;
}
.arc-cta:hover .arc-cta-go{
  transform: translateX(4px);
  box-shadow: 0 18px 44px -16px rgba(255,110,60,.85);
  filter: brightness(1.04);
}
.arc-cta-go i{
  font-style: normal;
  transition: transform .45s var(--ease);
}
.arc-cta:hover .arc-cta-go i{ transform: translate(2px,-2px); }

.arc-cta-count{
  position: absolute;
  right: 58px; top: 56px;
  z-index: 2;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(242,241,238,.24);
}

/* ---------------- 交互（可玩）板块 ---------------- */
.section--play{ padding-top: 76px; }

.play-note{
  margin-top: 18px;
  padding: 13px 16px 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,150,96,.26);
  background: rgba(255,138,84,.055);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,206,176,.9);
  max-width: 100%;
}
.play-note b{ color: #ffc095; font-weight: 600; }
.play-note code{
  padding: 1px 6px 2px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  color: #ffe0cb;
  background: rgba(255,255,255,.08);
}

.play-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.play{
  position: relative;
  display: block;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
  transition: transform .55s var(--ease), border-color .5s, box-shadow .55s;
}
.play:hover{
  transform: translateY(-4px);
  border-color: rgba(255,150,96,.36);
  box-shadow: 0 34px 64px -44px rgba(0,0,0,.95), 0 0 0 1px rgba(255,150,96,.08);
}

.play-media{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080808;
}
.play-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.96);
  transition: transform 1s var(--ease), filter .6s;
}
.play:hover .play-media img{
  transform: scale(1.04);
  filter: brightness(1.03);
}
.play-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.46) 100%);
  pointer-events: none;
}

.play-idx{
  position: absolute; left: 16px; top: 14px; z-index: 2;
  padding: 6px 9px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,8,8,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.66);
}

.play-go{
  position: absolute; right: 16px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: #1d0c05;
  background: linear-gradient(135deg, #ffc095, #ff7f4f);
  box-shadow: 0 14px 32px -18px rgba(255,110,60,.9);
  transition: filter .45s, box-shadow .45s;
}
.play-go i{
  font-style: normal;
  transition: transform .45s var(--ease);
}
.play:hover .play-go{ filter: brightness(1.06); box-shadow: 0 18px 40px -18px rgba(255,110,60,1); }
.play:hover .play-go i{ transform: translate(2px, -2px); }

.play-info{ padding: 18px 22px 22px; }
.play-line{
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.play-line h3{
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--fg);
}
.play-en{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: rgba(242,241,238,.3);
  white-space: nowrap;
}
.play-desc{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(242,241,238,.52);
  max-width: 48ch;
}
.play-info .chips{ margin-top: 15px; }

/* 交互板块底部：另外四件可玩可看的作品 */
.play-more{
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: rgba(242,241,238,.45);
}
.play-more > span{
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(242,241,238,.28);
}
.play-more a{
  position: relative;
  color: rgba(242,241,238,.62);
  text-decoration: none;
  padding-bottom: 3px;
  transition: color .28s var(--ease);
}
.play-more a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .2;
  transition: opacity .28s var(--ease);
}
.play-more a:hover{ color: #ff9a72; }
.play-more a:hover::after{ opacity: .65; }
.play-more a.play-more-all{ color: rgba(255,138,92,.86); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 760px){
  /* 手机端让说明自然折行，别被强制换行撑出屏幕 */
  .arc-cta-desc br{ display: none; }
  .play-grid{ grid-template-columns: 1fr; }
  .play-info{ padding: 16px 18px 20px; }
}

@media (max-width: 1080px){
  .works{ grid-template-columns: repeat(2, 1fr); }
  .arc-cta{ padding: 42px 38px 40px; }
  .arc-cta-go{ right: 38px; bottom: 40px; }
  .arc-cta-count{ right: 38px; top: 46px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 56px; }
  .hero{ min-height: auto; padding-top: calc(var(--nav-h) + 96px); }
  .hero-card{ max-width: 640px; }
  .about-grid{ grid-template-columns: 1fr; gap: 36px; }
  .skills{ grid-template-columns: 1fr 1fr; }
  .modal-inner{ grid-template-columns: 1fr; }
  .modal-body{ border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .modal-media{ max-height: 42vh; }
}

@media (max-width: 760px){
  :root{ --r: 16px; }
  .nav-links{ display: none; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: block; }
  .nav.is-open .nav-links{
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #12151f, #090b11);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  }
  .nav.is-open .nav-links a{ padding: 13px 16px; border-radius: 14px; font-size: 15px; }

  .hero-grid, .section, .foot-inner{ width: calc(100% - 36px); }
  .hero-title{ font-size: clamp(46px, 15vw, 72px); }
  .hero-stats{ gap: 22px; flex-wrap: wrap; }
  .hero-stats b{ font-size: 17px; }
  .works{ grid-template-columns: 1fr; gap: 16px; }
  .work--wide{ grid-column: auto; }
  .section{ padding-top: 86px; }
  .skills{ grid-template-columns: 1fr; }
  .filters{ gap: 8px; }
  .filter{ padding: 9px 15px; font-size: 12.5px; }
  .sec-title{ font-size: 34px; }
  .contact-actions .btn{ width: 100%; justify-content: center; }
  .contact-links{ gap: 18px; }
  .modal{ width: calc(100% - 24px); max-height: 90vh; }
  .modal-body{ padding: 26px 22px 24px; }
  .work-hit::after{ display: none; }

  .arc-cta{ padding: 32px 24px 30px; border-radius: 20px; margin-top: 20px; }
  .arc-cta-title{ font-size: 30px; }
  .arc-cta-desc{ max-width: none; font-size: 12.5px; margin-top: 18px; }
  .arc-cta-go{ position: static; margin-top: 26px; padding: 12px 20px; }
  .arc-cta-count{ display: none; }
  .arc-cta-big{ font-size: 190px; right: -28px; bottom: -44px; }
}

/* 窄屏：五个标签排成一行，隐去计数 */
@media (max-width: 480px){
  .filters{ gap: 7px; }
  .filter{ padding: 9px 13px; font-size: 12.5px; }
  .filter em{ display: none; }
}

/* 触屏：去掉 hover 位移 */
@media (hover: none){
  .work:hover{ transform: none; }
  .work:hover .work-media img{ transform: none; }
}

/* 减少动效 */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal]{ opacity: 1; transform: none; }
  .ticker-track{ animation: none; }
}

/* 不支持 backdrop-filter 的浏览器 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .nav-inner,
  .work,
  .about-panel,
  .contact-card,
  .modal{
    background: rgba(14,11,11,.92);
  }
}
