/* ============================================================
   尹佳敏作品集 · 样式
   纸 / 墨 / 朱砂
   ============================================================ */

:root {
  --paper: #f3efe6;
  --paper-deep: #e9e2d2;
  --paper-card: #faf7f0;
  --ink: #17130e;
  --ink-soft: #57504a;
  --vermilion: #e83812;
  --vermilion-dark: #c12a0c;
  --blue: #1f3fe0;
  --ochre: #b07c10;
  --violet: #6d3bff;
  --line: rgba(23, 19, 14, 0.16);
  --line-strong: rgba(23, 19, 14, 0.55);

  --f-serif: "Noto Serif SC", "Songti SC", serif;
  --f-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-display: "Anton", "Noto Sans SC", sans-serif;
  --f-mono: "Space Mono", "Courier New", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --pad-x: clamp(20px, 4vw, 56px);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--vermilion); color: var(--paper); }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; }

.noscript-tip { padding: 40px; border: 1px dashed var(--vermilion); }

/* ---------- 滚动揭示 ---------- */
.has-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.has-js .reveal.shown { opacity: 1; transform: none; }

/* ============================================================
   开屏
   ============================================================ */
.preloader { display: none; }
.has-js .preloader {
  display: block;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
}
.preloader__inner {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
}
.preloader__role {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
  color: rgba(243, 239, 230, .6);
}
.preloader__name {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: clamp(8px, 2vw, 24px);
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(64px, 16vw, 200px); line-height: 1;
}
.pl-line { overflow: hidden; display: inline-block; }
.pl-line > span { display: inline-block; animation: plRise .9s var(--ease-out) both; }
.pl-line:nth-child(2) > span { animation-delay: .12s; color: var(--vermilion); }
.pl-line:nth-child(3) > span { animation-delay: .24s; }
.preloader__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em;
}
.preloader__count {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 120px); line-height: .85;
}
.preloader__panel {
  position: absolute; inset: 0; z-index: 2;
  background: var(--ink);
  transform: translateY(100%);
  pointer-events: none;
}
.preloader__panel--b { background: var(--vermilion); z-index: 1; }
.preloader.is-leaving .preloader__panel--a { animation: curtainUp .85s cubic-bezier(0.76, 0, 0.24, 1) .05s both; }
.preloader.is-leaving .preloader__panel--b { animation: curtainUp .85s cubic-bezier(0.76, 0, 0.24, 1) both; }
.preloader.is-gone { display: none; }

@keyframes plRise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes curtainUp { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* ============================================================
   自定义光标
   ============================================================ */
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 1200;
    pointer-events: none; border-radius: 50%;
    mix-blend-mode: difference;
  }
  .cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--paper); }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1.5px solid var(--paper);
    transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, border-color .3s;
  }
  .cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.nav.scrolled {
  background: rgba(243, 239, 230, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__logo {
  font-family: var(--f-serif); font-weight: 900;
  font-size: 22px; letter-spacing: .02em;
}
.nav__left { display: flex; align-items: center; gap: 14px; }

/* ============================================================
   音乐光碟
   ============================================================ */
.disc {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 15px 0 4px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 240, .55);
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.disc:hover { border-color: var(--vermilion); background: var(--paper-card); }
.disc:active { transform: scale(.97); }

/* 唱片本体 */
.disc__vinyl {
  position: relative;
  width: 36px; height: 36px; flex: none;
  animation: discSpin 8s linear infinite;
}
.disc.is-paused .disc__vinyl { animation-play-state: paused; }
@keyframes discSpin { to { transform: rotate(360deg); } }

.disc__svg {
  width: 100%; height: 100%; display: block;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(23, 19, 14, .22), 0 0 0 1px rgba(23, 19, 14, .18);
}

/* 关闭状态的红斜线（不随唱片旋转） */
.disc__slash {
  position: absolute;
  left: 22px; top: 50%;
  width: 34px; height: 2.5px;
  background: var(--vermilion);
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(0);
  box-shadow: 0 0 0 1.5px rgba(243, 239, 230, .7);
  transition: transform .3s var(--ease-out);
  pointer-events: none;
}
.disc.is-paused .disc__vinyl { opacity: .9; }
.disc.is-paused .disc__slash { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1); }

/* 律动条 + 文字 */
.disc__meta { display: flex; align-items: center; gap: 8px; }
.disc__eq { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.disc__eq i {
  width: 3px; height: 100%; border-radius: 2px;
  background: var(--vermilion);
  transform-origin: bottom;
  animation: eqBeat .9s ease-in-out infinite;
}
.disc__eq i:nth-child(1) { animation-delay: 0s;    height: 60%; }
.disc__eq i:nth-child(2) { animation-delay: .15s;  height: 100%; }
.disc__eq i:nth-child(3) { animation-delay: .3s;   height: 45%; }
.disc__eq i:nth-child(4) { animation-delay: .45s;  height: 80%; }
@keyframes eqBeat {
  0%, 100% { transform: scaleY(.22); }
  50% { transform: scaleY(1); }
}
.disc.is-paused .disc__eq i {
  animation-play-state: paused;
  transform: scaleY(.16);
  background: var(--ink-soft);
}
.disc__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--ink-soft);
  min-width: 4.4em;
  transition: color .3s;
}
.disc__label b { font-weight: 400; }
.disc__label .lbl-off { display: none; }
.disc__label .lbl-blocked { display: none; }
.disc.is-paused .disc__label .lbl-on { display: none; }
.disc.is-paused .disc__label .lbl-off { display: inline; }
.disc:hover .disc__label { color: var(--vermilion); }

/* 浏览器拦截自动播放时的状态：提示点击，并轻微呼吸 */
.disc.is-blocked {
  border-color: var(--vermilion);
  animation: discPulse 1.9s ease-out infinite;
}
.disc.is-blocked .disc__label .lbl-on { display: none; }
.disc.is-blocked .disc__label .lbl-off { display: none; }
.disc.is-blocked .disc__label .lbl-blocked { display: inline; }
.disc.is-blocked .disc__vinyl { animation-play-state: paused; }
.disc.is-blocked .disc__eq i {
  animation-play-state: paused;
  transform: scaleY(.16);
  background: var(--ink-soft);
}
.disc.is-blocked .disc__slash { transform: translate(-50%, -50%) rotate(-45deg) scaleX(0); }
.disc.is-blocked .disc__tip .tip-on { display: none; }
.disc.is-blocked .disc__tip .tip-off { display: inline; }
@keyframes discPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 56, 18, .30); }
  70% { box-shadow: 0 0 0 9px rgba(232, 56, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 56, 18, 0); }
}

/* 悬停提示 */
.disc__tip {
  position: absolute; left: calc(100% + 8px); top: 50%;
  transform: translate(-6px, -50%);
  white-space: nowrap;
  padding: 6px 12px; border-radius: 100px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .05em;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease-out), visibility .25s;
  pointer-events: none;
  z-index: 5;
}
.disc__tip b { font-weight: 400; }
.disc__tip .tip-off { display: none; }
.disc.is-paused .disc__tip .tip-on { display: none; }
.disc.is-paused .disc__tip .tip-off { display: inline; }
.disc:hover .disc__tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }

@media (pointer: coarse) { .disc__tip { display: none; } }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav__links a {
  position: relative; font-size: 15px; font-weight: 500;
  padding: 6px 2px;
}
.nav__links a i {
  font-family: var(--f-mono); font-style: normal; font-size: 10px;
  color: var(--vermilion); margin-right: 5px; vertical-align: 2px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--vermilion);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--vermilion); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border-radius: 100px;
  font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--ink);
  transition: transform .3s var(--ease-out), background .25s, color .25s;
}
.btn b { font-weight: 400; transition: transform .3s var(--ease-out); }
.btn--fill { background: var(--vermilion); border-color: var(--vermilion); color: var(--paper); }
.btn--fill:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn:hover b { transform: translateX(5px); }

/* ============================================================
   首屏
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 48px;
}
.hero__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em;
  color: var(--ink-soft);
  margin-bottom: clamp(24px, 4vh, 56px);
}
.hero__available {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--vermilion);
}
.hero__available::before {
  content: ""; width: 7px; height: 7px; background: var(--vermilion);
  border-radius: 50%;
}
.hero__title {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(46px, 9.6vw, 140px);
  line-height: 1.06; letter-spacing: -0.01em;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-line__inner { display: inline-block; }
.has-js .hero-line__inner { transform: translateY(112%); }
html.intro-done .hero-line__inner {
  transform: none;
  transition: transform 1s var(--ease-out);
}
html.intro-done .hero-line:nth-child(2) .hero-line__inner { transition-delay: .09s; }
html.intro-done .hero-line:nth-child(3) .hero-line__inner { transition-delay: .18s; }
.hero-line__inner em {
  font-style: normal; color: var(--vermilion);
}
.hero-rotator { display: inline-block; min-width: 4.6em; text-align: left; }
.has-js .hero-rotator.swap { animation: wordSwap .55s var(--ease-out); }
@keyframes wordSwap {
  0% { transform: translateY(60%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.hero-line--sub {
  font-family: var(--f-sans); font-weight: 900;
  font-size: clamp(19px, 2.4vw, 34px);
  letter-spacing: .01em;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
  margin-top: clamp(32px, 5vh, 76px);
}
.hero__desc { font-size: 15px; color: var(--ink-soft); max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.has-js .hero-reveal { opacity: 0; transform: translateY(20px); }
html.intro-done .hero-reveal {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out) .35s, transform .8s var(--ease-out) .35s;
}

/* ============================================================
   跑马灯
   ============================================================ */
.marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  transform: rotate(-1.2deg) scale(1.03);
  margin: 8px 0 30px;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: .03em; white-space: nowrap;
  padding: 14px 0;
}
.marquee__track i { font-style: normal; color: var(--vermilion); padding: 0 .15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   通用 SECTION
   ============================================================ */
.section { padding: clamp(72px, 11vh, 140px) var(--pad-x); }
.section__head { margin-bottom: clamp(28px, 4.5vh, 56px); }
.section__label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
  color: var(--vermilion);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section__label::before { content: ""; width: 42px; height: 1.5px; background: var(--vermilion); }
.section__title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__title {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(40px, 7vw, 96px); line-height: 1.05;
}
.section__title em, .contact__big em { font-style: normal; color: var(--vermilion); }
.section__note { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .08em; }

/* ============================================================
   筛选
   ============================================================ */
.filters {
  display: flex; flex-wrap: wrap; gap: 6px 30px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: clamp(28px, 4.5vh, 52px);
}
.filter {
  position: relative;
  padding: 6px 0;
  font-size: 15px; font-weight: 700;
  color: var(--ink-soft);
  transition: color .25s;
}
.filter::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   作品网格
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 30px);
}

.card {
  position: relative;
  cursor: pointer;
  animation: cardIn .5s var(--ease-out) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.card__media img {
  object-fit: contain;
  transition: transform .8s var(--ease-out), filter .5s;
}
.card:hover .card__media img { transform: scale(1.04); }

/* 序号：实心朱砂底白字 */
.card__no {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--f-display);
  font-size: 22px; line-height: 1;
  color: var(--paper);
  background: var(--vermilion);
  padding: 7px 11px 8px;
  letter-spacing: .02em;
  pointer-events: none;
}

/* 视频/H5 角标 */
.card__play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(243, 239, 230, .92); color: var(--vermilion);
  display: grid; place-items: center; font-size: 12px;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.card:hover .card__play { background: var(--vermilion); color: var(--paper); transform: scale(1.08); }

.card__body { padding-top: 14px; }
.card__meta {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.card__dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-graphic { background: var(--vermilion); }
.dot-video { background: var(--blue); }
.dot-planning { background: var(--ochre); }
.dot-h5 { background: var(--violet); }

.card__title {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35;
  transition: color .25s;
}
.card:hover .card__title { color: var(--vermilion); }
.card__desc { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }

/* ============================================================
   关于
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about__portrait-frame {
  aspect-ratio: 3 / 4; overflow: hidden;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
}
.about__portrait-frame img {
  filter: grayscale(.15) contrast(1.02);
  transition: transform 1s var(--ease-out), filter .6s;
}
.about__portrait:hover img { transform: scale(1.03); filter: none; }
.about__portrait figcaption {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--ink-soft);
}

.about__lead {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.4;
  margin-bottom: 28px;
}
.about__text p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 18px; max-width: 58ch; }
.about__facts {
  border-top: 1px solid var(--line);
  margin: 36px 0 30px;
}
.about__facts li {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.about__facts span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); padding-top: 3px; }
.about__facts b { font-weight: 700; }
.about__tools { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.about__tools > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.about__tools ul { display: flex; flex-wrap: wrap; gap: 8px; }
.about__tools li {
  border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 6px 13px; font-size: 12.5px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.about__tools li:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   实习经历
   ============================================================ */
.timeline { border-top: 1.5px solid var(--ink); }
.t-item {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr 70px;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vh, 48px) 18px;
  border-bottom: 1px solid var(--line);
  transition: background .4s, color .4s;
}
.t-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.t-item:hover { color: var(--paper); }
.t-item:hover::before { transform: scaleY(1); transform-origin: bottom; }
.t-item:hover .t-item__period span,
.t-item:hover .t-item__desc { color: rgba(243, 239, 230, .72); }
.t-item__period { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); }
.t-item__period b { display: block; margin-top: 8px; font-weight: 400; font-size: 11px; }
.t-item__body h3 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(21px, 2.4vw, 32px); line-height: 1.3; }
.t-item__role { color: var(--vermilion); font-weight: 700; font-size: 14px; margin: 8px 0 12px; }
.t-item__desc { font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; transition: color .4s; }
.t-item__index {
  font-family: var(--f-display); font-size: clamp(34px, 4vw, 56px);
  color: rgba(23, 19, 14, .14);
  align-self: center; justify-self: end;
  transition: color .4s;
}
.t-item:hover .t-item__index { color: var(--vermilion); }

/* ============================================================
   联系
   ============================================================ */
.contact { padding-bottom: clamp(60px, 8vh, 100px); }
.contact__big {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(48px, 10.5vw, 152px); line-height: 1.08;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.contact__big span { color: var(--vermilion); }
.contact__rows { border-top: 1.5px solid var(--ink); }
.contact-row {
  display: grid;
  grid-template-columns: 160px 1fr 50px;
  align-items: center; gap: 20px;
  padding: clamp(22px, 3.6vh, 36px) 6px;
  border-bottom: 1px solid var(--line);
  transition: background .35s;
}
.contact-row:not(.contact-row--static) { cursor: pointer; }
.contact-row:hover { background: var(--paper-deep); }
.contact-row__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.contact-row__v {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(22px, 3.6vw, 46px);
  transition: transform .4s var(--ease-out), color .35s;
}
.contact-row:hover .contact-row__v { transform: translateX(14px); color: var(--vermilion); }
.contact-row b { font-size: 22px; font-weight: 400; justify-self: end; transition: transform .35s var(--ease-out); }
.contact-row:hover b { transform: translate(4px, -4px); }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 26px var(--pad-x);
  border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-soft);
}
.footer a:hover { color: var(--vermilion); }

/* ============================================================
   作品弹层
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 600;
  display: grid; place-items: center;
  padding: 24px;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility 0s .3s;
}
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(23, 19, 14, .74);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative; z-index: 2;
  width: min(960px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  transform: translateY(40px);
  transition: transform .45s var(--ease-out);
}
.modal.is-open .modal__panel { transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
  font-size: 16px;
  transition: background .25s, color .25s, transform .3s var(--ease-out);
}
.modal__close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.modal__media {
  background: var(--paper-deep);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}
.modal__media img { width: 100%; height: auto; }
.modal__media video {
  display: block; width: auto; max-width: 100%;
  height: auto; max-height: 76vh; margin: 0 auto;
  background: #000;
}
.modal__info { padding: clamp(24px, 3vw, 40px); }
.modal__tags {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--ink-soft); margin-bottom: 14px;
}
.modal__info h3 { font-family: var(--f-serif); font-weight: 900; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.28; }
.modal__info p { margin: 16px 0 28px; color: var(--ink-soft); font-size: 15px; max-width: 64ch; }
.modal__link.is-none { display: none; }

/* ---------- 组图 ---------- */
.gallery { position: relative; display: block; max-height: 76vh; overflow: hidden; }
.gallery__img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; cursor: zoom-in; background: var(--paper-deep); }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(243, 239, 230, .9); border: 1.5px solid var(--ink);
  font-size: 22px; font-weight: 700; z-index: 5;
  display: grid; place-items: center;
  transition: background .25s, color .25s;
}
.gallery__nav:hover { background: var(--vermilion); color: var(--paper); border-color: var(--vermilion); }
.gallery__prev { left: 16px; }
.gallery__next { right: 16px; }
.gallery__count {
  position: absolute; bottom: 14px; right: 16px; z-index: 5;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em;
  background: rgba(23, 19, 14, .7); color: var(--paper);
  padding: 5px 12px; border-radius: 100px;
}

/* ---------- 全屏灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(8, 6, 4, .96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  cursor: zoom-out; overflow: auto;
}
.lightbox.is-open { opacity: 1; }
.lightbox__inner {
  max-width: 1400px; width: 100%; max-height: 100%;
  padding: 40px; display: flex; align-items: flex-start; justify-content: center;
}
.lightbox__inner img {
  width: 100%; height: auto; max-height: none; object-fit: contain;
  max-width: 1400px;
}
.lightbox__hint {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: rgba(243, 239, 230, .5); pointer-events: none;
}

body.modal-open { overflow: hidden; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions { justify-content: flex-start; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 400px; }
  .t-item { grid-template-columns: 1fr; gap: 12px; }
  .t-item__index { display: none; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .contact-row b { display: none; }
}
@media (max-width: 680px) {
  .nav { height: 62px; gap: 10px; }
  .nav__left { gap: 10px; }
  .disc { height: 34px; padding: 0 9px 0 3px; gap: 7px; }
  .disc__vinyl { width: 28px; height: 28px; }
  .disc__slash { left: 17px; width: 27px; }
  .disc__label { display: none; }
  .nav__links { gap: 9px; }
  .nav__links a { font-size: 13px; }
  .nav__links a i { display: none; }
  .work-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__mid { display: none; }
}

/* ============================================================
   降低动态偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .has-js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-line__inner { animation: none !important; }
}
