/* ==========================================================================
   EvanYang AI · 影像创作实验室
   设计系统 —— 电影剪辑台美学
   参考：video-folio.framer.website
   纯静态 · 无构建 · 无依赖
   ========================================================================== */

@import url("fonts.css?v=20261009-ready");

/* --- 1. 设计令牌 --------------------------------------------------------- */
:root {
  --bg:        #0d0d0d;
  --bg-deep:   #000000;
  --surface:   #191919;
  --surface-2: #1b1c1c;
  --row:       rgba(255, 255, 255, .028);
  --row-hover: rgba(255, 255, 255, .062);

  --line:   rgba(255, 255, 255, .15);
  --line-2: rgba(255, 255, 255, .10);
  --line-3: rgba(255, 255, 255, .055);
  --guide:  rgba(255, 255, 255, .05);

  --fg:   #ffffff;
  --fg-2: rgba(255, 255, 255, .72);
  --fg-3: rgba(255, 255, 255, .50);
  --fg-4: rgba(255, 255, 255, .34);

  --red:        #d60000;
  --red-bright: #e80000;
  --lime:       #f4f4f4;

  --f-display: 'Archivo', 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-ui:      'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --max: 1360px;
  --pad: 48px;
  --nav-h: 68px;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s6:24px;
  --s8:32px; --s12:48px; --s16:64px; --s24:96px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. 重置 ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

::selection { background: var(--red); color: #fff; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 3;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -80px; left: 20px;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  z-index: 400;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* --- 3. 图标 ------------------------------------------------------------- */
.icon {
  width: 1em; height: 1em;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* --- 4. 垂直网格参考线（签名元素） --------------------------------------- */
.guides {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.guides-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.guides-in span { border-left: 1px solid var(--guide); }
.guides-in span:last-child { border-right: 1px solid var(--guide); }

/* --- 5. 排版 ------------------------------------------------------------- */
h1, .h1 {
  font-family: var(--f-display);
  font-size: clamp(38px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--fg);
}
h2, .h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.038em;
}
h3, .h3 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.018em;
}

/* 英文大写标题 */
.uc { text-transform: uppercase; }

/* 等宽微标签 */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.section-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-4);
  display: inline-block;
}

.section-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.hero-credit {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: block;
  margin-bottom: 22px;
}

.muted { color: var(--fg-3); }

/* --- 7. 按钮 ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 26px;
  border: 0;
  cursor: pointer;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 15px; height: 15px; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: var(--fg); border-color: var(--red-bright); }

/* 用作按钮时重置浏览器默认样式 */
button.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 3px;
  cursor: pointer;
}

/* 两栏：左侧强调块 + 右侧内容 */
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.round-link {
  width: 64px; height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.round-link .icon { width: 22px; height: 22px; }
.round-link:hover { background: var(--red-bright); transform: translate(3px, -3px); }

/* --- 8. 时间轴刻度条（签名元素） ----------------------------------------- */
.timeline {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.tl-track {
  position: relative;
  height: 32px;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,.22) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to right, rgba(255,255,255,.09) 0 1px, transparent 1px 13px);
  background-size: 100% 16px, 100% 9px;
  background-position: left bottom, left bottom;
  background-repeat: repeat-x;
}
.tl-head {
  position: absolute;
  bottom: 0;
  left: var(--p, 30%);
  width: 1px;
  height: 100%;
  background: var(--red-bright);
}
.tl-head::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -4px;
  width: 9px; height: 8px;
  background: var(--red-bright);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tl-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line-2);
}
.tl-labels span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
  padding: 10px 16px;
  border-left: 1px solid var(--line-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-labels span:first-child { border-left: 0; }
.tl-labels span.c { text-align: center; color: var(--fg-3); }
.tl-labels span.r { text-align: right; }

/* --- 9. 区块 ------------------------------------------------------------- */
.section { padding-top: 92px; position: relative; }
.section.tight { padding-top: 60px; }

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.section-top h2 { margin-top: 12px; }

/* --- 10. 首屏 ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-2);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,13,.2) 0%, rgba(13,13,13,.08) 35%, rgba(13,13,13,.9) 100%),
    linear-gradient(90deg, rgba(13,13,13,.7) 0%, rgba(13,13,13,.25) 62%);
}
.hero { min-height: min(740px, calc(100svh - var(--nav-h))); }
.hero-inner { position: relative; z-index: 2; }
.hero-toggle { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font: inherit; letter-spacing: 0; text-transform: none; min-height: 44px; }
.hero-toggle .icon { width: 16px; height: 16px; }
.hero-toggle:hover { color: var(--fg); }
.hero-toggle:active { color: var(--red-bright); }
.hero-toggle:disabled { opacity: .6; cursor: default; }
.hero-inner { width: 100%; }

.hero-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: end;
  padding-top: 130px;
}
.hero-heading h1 { max-width: 13ch; }

.hero-side { padding-bottom: 8px; }
.hero-side p { font-size: 15px; line-height: 1.8; color: var(--fg-2); }
.hero-side p + p { margin-top: 16px; }
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-combat { display: block; position: relative; width: 100%; max-width: 480px; padding: 0; margin-top: var(--s6); border: 0; background: var(--bg-deep); color: var(--fg); cursor: pointer; text-align: left; }
.hero-combat img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 714; object-fit: cover; transition: opacity .2s var(--ease); }
.hero-combat-caption { position: absolute; inset: auto 0 0; padding: var(--s4); display: flex; align-items: end; justify-content: space-between; gap: var(--s4); background: linear-gradient(transparent,rgba(0,0,0,.88)); }
.hero-combat-caption strong { display: block; font-size: 18px; line-height: 1.4; font-weight: 700; }
.hero-combat-meta { display: block; font-size: 11px; line-height: 1.5; color: var(--fg-2); margin-bottom: var(--s1); }
.hero-combat-play { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--red); }
.hero-combat-play .icon { width: 20px; height: 20px; }
.hero-combat:hover img { opacity: .88; }
.hero-combat:hover .hero-combat-play { background: var(--red-bright); }
.hero-combat:active img { opacity: .72; }
.hero-source { font: inherit; letter-spacing: 0; text-transform: none; }

/* 首屏主画面按钮 */
.hero-frame {
  display: block;
  width: 100%;
  margin-top: 62px;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--bg-deep);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.hero-frame:hover { border-color: var(--line); }
.hero-frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  opacity: .72;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.hero-frame:hover img { opacity: .92; transform: scale(1.015); }

.frame-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,0) 100%);
  text-align: left;
}
.frame-type {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 7px;
}
.frame-caption strong {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.frame-open {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.frame-open .icon { width: 13px; height: 13px; }
.hero-frame:hover .frame-open { background: var(--red); border-color: var(--red); }

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0 30px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* --- 11. 工具条 / 品牌墙 ------------------------------------------------- */
.strip { border-bottom: 1px solid var(--line-2); background: var(--bg-deep); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in .item {
  padding: 28px 22px;
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strip-in .item:first-child { border-left: 0; }
.strip-in .item .t {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--fg);
}
.strip-in .item .s {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* --- 12. 编号行 ---------------------------------------------------------- */
.rows { border-top: 1px solid var(--line-2); }

.row {
  display: grid;
  grid-template-columns: 76px 1fr auto 36px;
  align-items: center;
  gap: 22px;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line-2);
  background: var(--row);
  position: relative;
  transition: background .22s var(--ease), padding-left .22s var(--ease);
}
.row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red-bright);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s var(--ease);
}
.row:hover { background: var(--row-hover); padding-left: 26px; }
.row:hover::before { transform: scaleY(1); }

.row-num { font-family: var(--f-mono); font-size: 11px; color: var(--fg-4); letter-spacing: .08em; }
.row-title {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.018em;
  color: var(--fg);
}
.row-body { display: flex; flex-direction: column; gap: 7px; }
.row-body p { font-size: 13.5px; line-height: 1.75; color: var(--fg-3); max-width: 62ch; }
.row-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
  white-space: nowrap;
}
.row-arrow { color: var(--fg-4); display: grid; place-items: center; }
.row-arrow .icon { width: 16px; height: 16px; }
.row:hover .row-arrow { color: var(--red-bright); }

/* --- 13. 作品画廊 -------------------------------------------------------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.filter {
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 10px 18px;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--line); color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

/* 用边框画网格线：空单元格不会像底色那样显出一块灰 */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.gallery.featured { grid-template-columns: repeat(3, 1fr); }
/* 精选区只有 3 列，卡片不能再按 6 列制跨列，否则一行只放得下一张 */
.gallery.featured .work,
.gallery.featured .work.wide { grid-column: span 1; }
.gallery.featured .work.wide .work-thumb { aspect-ratio: 16 / 10; }

.work { grid-column: span 2; }
.work.wide { grid-column: span 4; }
.work[hidden] { display: none; }

.work {
  position: relative;
  background: var(--bg);
  border: 0;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background .25s var(--ease);
}
.work:hover { background: #151515; }

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}
.work.wide .work-thumb { aspect-ratio: 21 / 9; }
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: transform .55s var(--ease), opacity .3s var(--ease);
}
.work:hover .work-thumb img { transform: scale(1.045); opacity: 1; }

/* 竖屏视频缩略图 */
.portrait-thumb { aspect-ratio: 16 / 10; }
.portrait-thumb img { object-fit: contain; object-position: center; }

/* --- 13b. 占位图：剪辑软件里的「空媒体槽」 ------------------------------- */
.ph {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background-color: #131313;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.026) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(to right, rgba(255,255,255,.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0 1px, transparent 1px 46px);
}
.ph-frame {
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(255,255,255,.17);
  pointer-events: none;
}
.ph-idx {
  position: absolute;
  top: 17px; left: 19px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
}
.ph-mid {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  white-space: nowrap;
}
.ph-dot {
  width: 6px; height: 6px;
  flex: none;
  background: var(--red-bright);
}
.ph-file, .ph-dur {
  position: absolute;
  bottom: 17px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
  white-space: nowrap;
}
.ph-file { left: 19px; }
.ph-dur { right: 19px; }

/* 首屏背景占位：只留肌理，不显示文字，避免与标题打架 */
.ph--hero { background-color: #101010; }
.ph--hero .ph-frame,
.ph--hero .ph-idx,
.ph--hero .ph-mid,
.ph--hero .ph-file,
.ph--hero .ph-dur { display: none; }

/* 关于页配图容器 */
.about-media { position: relative; aspect-ratio: 4 / 3; }

.work-badge {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 7px 11px;
  background: var(--red);
  color: #fff;
}

.work-icon {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.6);
  border: 1px solid var(--line);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.work-icon .icon { width: 16px; height: 16px; }
.work:hover .work-icon { background: var(--red); border-color: var(--red); }

.work-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.work-kicker {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.work-body h3 { margin: 11px 0 9px; }
.work-body p { font-size: 13px; line-height: 1.8; color: var(--fg-3); flex: 1; }

.work-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-3);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* --- 14. 归档条 ---------------------------------------------------------- */
.archive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.archive-note { padding-top: 46px; }
.archive-note p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-3);
  max-width: 66ch;
}

/* --- 15. 数据块 / 统计 --------------------------------------------------- */
.redblock {
  background: var(--red);
  color: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.redblock .big {
  font-family: var(--f-display);
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
}
.redblock .big small { font-size: .4em; font-weight: 600; letter-spacing: -.02em; }
.redblock .cap {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .88;
  line-height: 1.65;
}
.redblock ul { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.32); }
.redblock li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.redblock li:last-child { border-bottom: 0; }

.statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-2);
}
.statgrid .cell {
  background: var(--bg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.statgrid .n {
  font-family: var(--f-display);
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.statgrid .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* --- 16. 创作方法 -------------------------------------------------------- */
.method {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.method-intro h2 { margin: 14px 0 18px; }
.method-intro > p { font-size: 14px; line-height: 1.85; color: var(--fg-3); max-width: 36ch; }
.method-lede { font-size: 14px; line-height: 1.85; color: var(--fg-3); max-width: 44ch; margin-bottom: 28px; }
.method-intro .text-link { margin-top: 24px; }

.method-checks { border-top: 1px solid var(--line-2); }
.method-checks details {
  border-bottom: 1px solid var(--line-2);
  background: var(--row);
  transition: background .2s var(--ease);
}
.method-checks details:hover { background: var(--row-hover); }
.method-checks summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 18px;
  padding: 22px 20px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.method-checks summary::-webkit-details-marker { display: none; }
.method-checks summary .icon {
  width: 17px; height: 17px;
  color: var(--fg-4);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.method-checks details[open] summary .icon { transform: rotate(180deg); color: var(--red-bright); }
.method-checks details p {
  padding: 0 20px 24px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--fg-3);
  max-width: 66ch;
}

/* --- 17. 工具列表 -------------------------------------------------------- */
.tool-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-2); }
.tool-list article {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tool-list h3 { font-size: 19px; }
.tool-list article > span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.tool-list p { font-size: 13px; line-height: 1.8; color: var(--fg-3); }

/* --- 18. 子页头 ---------------------------------------------------------- */
.page-head { padding-top: 92px; }
.page-head h1 { max-width: 16ch; }
.page-head > p,
.page-head > div > p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fg-2);
  max-width: 56ch;
}

.about-head {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 64px;
  align-items: center;
}
.about-head > * { min-width: 0; }
.about-image {
  border: 1px solid var(--line-2);
  background: var(--bg-deep);
}
.about-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.about-image figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* --- 19. 收尾区块 -------------------------------------------------------- */
.closing {
  padding: 100px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.closing > p {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 20px;
}
.closing h2 { max-width: 18ch; }

/* --- 20. 详情弹层 -------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), visibility .26s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }

.lightbox-panel {
  position: relative;
  width: min(940px, 100%);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line-2);
  transform: translateY(16px) scale(.99);
  transition: transform .3s var(--ease);
}
.lightbox[data-open="true"] .lightbox-panel { transform: none; }
.lightbox-bar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 56px; padding: var(--s1) var(--s3); border-bottom: 1px solid var(--line-2); background: var(--bg); }
.lightbox-bar-label { color: var(--fg-3); font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.lightbox-actions[hidden] { display: none; }
.image-zoom,.lightbox-download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: var(--s2) var(--s3); border: 1px solid var(--line); background: transparent; font-size: 12px; white-space: nowrap; cursor: pointer; }
.image-zoom:hover,.lightbox-download:hover { background: var(--row-hover); }
.image-zoom:active,.lightbox-download:active { background: var(--red); }
.image-zoom[aria-pressed="true"] { color: var(--fg); border-color: var(--red); }
.lightbox[data-zoomed="true"] .lightbox-body { display: none; }
.lightbox[data-zoomed="true"] .lightbox-thumb { flex: 1; min-height: 0; max-height: none; overflow: auto; overscroll-behavior: contain; }
.lightbox[data-zoomed="true"] .lightbox-panel { height: 90dvh; }
.lightbox[data-zoomed="true"] .lightbox-thumb img { max-width: none; max-height: none; width: max(200%,var(--image-width)); height: auto; }

.lightbox-close {
  z-index: 5;
  flex: none;
  width: 44px; height: 44px;
  background: rgba(0,0,0,.62);
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox-close .icon { width: 15px; height: 15px; }
.lightbox-close:hover { background: var(--red); border-color: var(--red); }

.lightbox-thumb {
  flex: none;
  max-height: 48dvh;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}
.lightbox-thumb img { width: 100%; height: auto; max-height: 48dvh; object-fit: contain; }
.lightbox-thumb video { display: block; width: 100%; max-height: 48dvh; object-fit: contain; background: #000; }

.video-loading {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: rgba(0,0,0,.7);
  padding: 7px 11px;
}
.video-error {
  padding: 18px 20px;
  font-size: 13px;
  color: var(--fg-2);
  border-top: 1px solid var(--line-2);
}
.video-error a { color: var(--lime); border-bottom: 1px solid currentColor; }

.lightbox-body { min-height: 0; padding: 34px 38px 40px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.lightbox-body h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 12px 0 16px;
}
.lightbox-body > p { font-size: 14.5px; line-height: 1.9; color: var(--fg-2); margin-bottom: 30px; max-width: 68ch; }
.lightbox-body h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin: 30px 0 10px;
}

.shotlist { border-top: 1px solid var(--line-2); }
.shotlist li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-3);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--fg-3);
}
.shotlist li b {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--red-bright);
  letter-spacing: .08em;
  overflow-wrap: anywhere;
}

.lightbox-body .work-meta { margin-top: 30px; border-top-color: var(--line-2); }

/* --- 21. 页脚 ------------------------------------------------------------ */
.site-footer {
  margin-top: 110px;
  border-top: 1px solid var(--line-2);
  background: var(--bg-deep);
}
.footer-wordmark {
  display: block;
  padding: 52px 0 36px;
  font-family: var(--f-display);
  font-size: clamp(40px, 8vw, 118px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color .25s var(--ease);
}
.footer-wordmark:hover { color: var(--red-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-3);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-3);
  transition: color .2s var(--ease);
}
.footer-bottom a .icon { width: 13px; height: 13px; }
.footer-bottom a:hover { color: var(--fg); }

/* --- 22. 滚动浮现 -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --- 23. 响应式 ---------------------------------------------------------- */
@media (max-width: 1120px) {
  :root { --pad: 34px; }
  .guides-in { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .work, .work.wide { grid-column: span 2; }
  .work.wide .work-thumb { aspect-ratio: 16 / 10; }
  .tool-list { grid-template-columns: repeat(2, 1fr); }
  .hero-heading { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; --nav-h: 76px; }
  .guides-in { grid-template-columns: repeat(2, 1fr); }
  .hero-heading { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; align-items: start; }
  .hero-heading h1 { max-width: none; }
  .hero-frame { margin-top: 40px; }
  .hero-frame img { aspect-ratio: 16 / 10; }
  .frame-caption { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }

  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in .item:nth-child(3) { border-left: 0; }
  .strip-in .item:nth-child(n+3) { border-top: 1px solid var(--line-2); }

  .section { padding-top: 62px; }
  .section-top { margin-bottom: 26px; }

  .row { grid-template-columns: 54px 1fr 28px; gap: 14px; padding: 20px 14px; }
  .row-meta { display: none; }
  .row-title { font-size: 18px; }

  .gallery, .gallery.featured { grid-template-columns: 1fr; }
  .work, .work.wide { grid-column: span 1; }
  .work.wide .work-thumb { aspect-ratio: 16 / 10; }

  .statgrid { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr; }

  .method { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .method-intro > p { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }

  .about-head { grid-template-columns: 1fr; gap: 34px; }
  .page-head { padding-top: 64px; }

  .closing { padding-top: 66px; gap: 26px; }

  .footer-wordmark { padding: 38px 0 28px; }
  .site-footer { margin-top: 76px; }

  .lightbox { padding: 0; }
  .lightbox-panel,.lightbox[data-zoomed="true"] .lightbox-panel { max-height: 100dvh; height: 100dvh; width: 100%; border: 0; }
  .lightbox-bar { padding-top: max(var(--s1),env(safe-area-inset-top)); padding-left: max(var(--s3),env(safe-area-inset-left)); padding-right: max(var(--s3),env(safe-area-inset-right)); }
  .lightbox-thumb,.lightbox-thumb img,.lightbox-thumb video { max-height: 48dvh; }
  .lightbox-body { padding: var(--s6) var(--pad) max(var(--s8),env(safe-area-inset-bottom)); }
  .shotlist li { grid-template-columns: 1fr; gap: var(--s2); font-size: 13px; padding: var(--s4) 0; }
  .shotlist li b { font-size: 11px; }
}


@media (max-width: 520px) {
  .lightbox[data-media="image"] .lightbox-bar-label { display: none; }
  :root { --pad: 16px; }
  h1 { font-size: clamp(30px, 9.4vw, 42px); letter-spacing: -.03em; }
  h2 { font-size: clamp(24px, 7.6vw, 34px); }
  .tl-labels { grid-template-columns: 1fr 1fr; }
  .tl-labels span:nth-child(3) { display: none; }
  .redblock { padding: 26px 22px; }
  .round-link { width: 54px; height: 54px; }
}

@media (max-width: 860px) and (max-height: 500px) and (min-width: 600px) {
  .lightbox[data-media="video"] .lightbox-panel { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); }
  .lightbox[data-media="video"] .lightbox-bar { grid-column: 1/-1; }
  .lightbox[data-media="video"] .lightbox-thumb { align-self: stretch; max-height: none; display: flex; align-items: center; }
  .lightbox[data-media="video"] video { height: 100%; max-height: none; }
  .lightbox[data-media="video"] .lightbox-body { height: 100%; padding-top: var(--s4); }
}

@media (hover: none) and (pointer: coarse) {
  .filter,.text-link,.resource-actions>a,.resource-images article>a,.footer-nav a,.footer-bottom a,.profile-fields a,.copy-wechat { min-height: 44px; display: inline-flex; align-items: center; }
  .filter { font-size: 11px; padding: var(--s2) var(--s4); }
  .work-thumb img { opacity: 1; }
  .work:hover .work-thumb img,.hero-combat:hover img { transform: none; }
  .footer-nav { gap: var(--s2) var(--s6); }
}

/* --- 24. 无障碍偏好 ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .lightbox, .filters, .guides { display: none; }
  body { background: #fff; color: #000; }
}
