/* =====================================================
   TAO · 视频剪辑师作品集
   设计语言：影视飓风风格 · 明亮 · 强对比 · 红点 · 留白
   ===================================================== */

/* ============ 基础 & 变量 ============ */
:root {
  --bg:           #f6f6f4;
  --bg-2:         #ffffff;
  --surface:      #ffffff;
  --surface-2:    #fafafa;
  --border:       #ebebe8;
  --border-2:     #e3e3df;
  --text:         #111111;
  --text-2:       #333333;
  --muted:        #888888;
  --muted-2:      #b5b5b0;
  --accent:       #ff2d2d;   /* 影视飓风红 */
  --accent-2:     #e52727;
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.04);
  --shadow:       0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:    0 20px 50px -20px rgba(0,0,0,0.15);
  --radius:       14px;
  --radius-sm:    10px;
  --max:          1400px;
  --pad:          clamp(24px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #080808;
  color: var(--text);
  font-family: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
em { font-style: italic; }
strong { font-weight: 700; }

.accent { color: var(--accent); font-style: italic; }
.accent-dot::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px;
  vertical-align: middle; position: relative; top: -1px;
}

/* ============ 开页动画（7s 总时长） ============ */
.intro {
  position: fixed; inset: 0; z-index: 999;
  background: #080808;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  animation: introFadeOut 3.5s ease forwards;
}
/* 最后 1s 整体淡出 */
@keyframes introFadeOut {
  0%,  87%  { opacity: 1; }
  100%      { opacity: 0; }
}

/* 上下电影黑边 */
.intro-bar {
  position: absolute; left: 0; right: 0; height: 10vh;
  background: #080808; z-index: 5;
}
.intro-bar-top    { top: 0;    animation: slideDown 0.7s cubic-bezier(0.4,0,0.2,1) 0.1s both; }
.intro-bar-bottom { bottom: 0; animation: slideUp   0.7s cubic-bezier(0.4,0,0.2,1) 0.1s both; }
@keyframes slideDown { from { transform: translateY(-100%) } to { transform: translateY(0) } }
@keyframes slideUp   { from { transform: translateY(100%) }  to { transform: translateY(0) } }

/* 顶部胶片信息条（模拟电影画幅标记） */
.intro-film-bar {
  position: absolute; top: 10vh; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 28px;
  font-family: "Inter", monospace;
  font-size: 9px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25); text-transform: uppercase;
  z-index: 4;
  animation: fadeIn 0.6s ease 0.3s both;
}
.intro-film-bar span { display: flex; align-items: center; gap: 6px; }
.intro-film-bar .rec-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: recPulse 1.2s ease-in-out 0.9s infinite;
}
@keyframes recPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,45,45,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(255,45,45,0); }
}

/* 中心 Logo */
.intro-logo {
  display: flex; align-items: center;
  gap: 0; padding: 0 60px;
  z-index: 3;
}

/* 水平线：中间向两侧展开 */
.intro-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.18) 60%, transparent);
}
.intro-line-left  { animation: lineFromCenter 0.9s cubic-bezier(0.4,0,0.2,1) 0.5s both; transform-origin: right; }
.intro-line-right { animation: lineFromCenter 0.9s cubic-bezier(0.4,0,0.2,1) 0.5s both; transform-origin: left;  }
@keyframes lineFromCenter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* TAO 大字 */
.intro-logo-text {
  display: flex; align-items: baseline;
  padding: 0 40px;
  animation: taoAppear 1.1s cubic-bezier(0.34,1.56,0.64,1) 0.8s both;
}
@keyframes taoAppear {
  from { transform: scale(0.6); opacity: 0; filter: blur(12px); }
  to   { transform: scale(1);   opacity: 1; filter: blur(0); }
}
.intro-tao {
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900; letter-spacing: -0.03em;
  color: #fff; line-height: 1;
}
.intro-dot {
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900; color: var(--accent);
  line-height: 1;
  animation: dotPop 0.6s cubic-bezier(0.34,1.56,0.64,1) 1.4s both;
}
@keyframes dotPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* 副标题 */
.intro-sub {
  margin-top: 28px;
  font-family: "Inter", monospace;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  z-index: 3;
  animation: subFade 0.8s ease 1.6s both;
}
@keyframes subFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 底部胶片条 */
.intro-bottom {
  position: absolute; bottom: 10vh; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center;
  gap: 12px; padding: 0 40px;
  z-index: 4;
  animation: fadeIn 0.7s ease 1.9s both;
}
.intro-bottom span {
  display: block; width: 5px; height: 5px; border-radius: 1px;
  background: rgba(255,255,255,0.15);
}
.intro-bottom span:nth-child(3) { background: rgba(255,255,255,0.35); }
.intro-bottom span:nth-child(5) { background: rgba(255,255,255,0.35); }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  background: rgba(246, 246, 244, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.02em;
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255,45,45,0.12);
}
.logo-text { font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 9px 16px; font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-cta {
  background: var(--text); color: #fff !important;
  padding: 9px 18px !important; font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
}

/* ============ HERO 首屏（全屏视频背景 + 文字叠加） ============ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

/* 全屏视频背景 */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* 暗角 + 底部渐变遮罩：让叠加文字可读 */
.hero-mask {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.3) 0%,
      rgba(0,0,0,0.05) 30%,
      rgba(0,0,0,0.05) 50%,
      rgba(0,0,0,0.7) 100%
    );
  pointer-events: none;
}

/* 标题内容叠加 */
.hero-content {
  position: absolute;
  left: 0; right: 0;
  bottom: 120px;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  color: #fff;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 24px; letter-spacing: 0.05em;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,45,45,0.15);
}
.hero-title {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 900;
}
.hero-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.75);
  max-width: 520px; margin-bottom: 40px;
  line-height: 1.7;
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: #fff; color: #111;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background: var(--accent); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,45,45,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.45);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 右侧播放按钮 */
.hero-play-btn {
  position: absolute; right: var(--pad); bottom: 120px;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(8px);
  cursor: pointer; transition: all 0.2s ease;
}
.hero-play-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

/* 滚动提示 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 40px;
  transform: translateX(-50%); z-index: 3;
  text-align: center;
  font-size: 12px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  animation: fadeUp 2.5s ease-in-out infinite;
}
@keyframes fadeUp {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(-6px); opacity: 1; }
}

/* ============ 通用 Section 头部（带数字 01/02/03） ============ */
.section-head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); margin-bottom: 48px;
  display: flex; align-items: flex-end; gap: 32px;
}
.section-num {
  font-family: "Inter", monospace;
  font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 0.9;
  color: var(--text);
  padding-right: 24px;
  border-right: 2px solid var(--border-2);
  min-width: 80px;
}
.section-head-right { flex: 1; padding-bottom: 8px; }
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; letter-spacing: -0.015em;
  line-height: 1.1; margin-bottom: 10px;
}
.section-desc { font-size: 15px; color: var(--muted); }

/* ============ WORKS 作品区 ============ */
.works { padding: 120px 0 60px; background: var(--bg); }

.group {
  max-width: var(--max); margin: 0 auto 100px;
  padding: 0 var(--pad);
}
.group:last-child { margin-bottom: 0; }

.group-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; margin-bottom: 32px;
  border-top: 2px solid var(--text);
}
.group-head-accent {
  background: linear-gradient(180deg, rgba(255,45,45,0.04), transparent);
  padding: 24px 20px;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
}
.group-name {
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; gap: 14px;
  letter-spacing: -0.01em;
}
.group-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.05em;
}
.group-count { font-size: 13px; color: var(--muted); font-family: "Inter", monospace; }

/* 作品卡片网格 */
.cards { display: grid; gap: 20px; }
.cards-brand { grid-template-columns: 1.5fr 1fr 1fr; }
.cards-brand .card-large { grid-row: span 1; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.cards-duo { grid-template-columns: 1fr 1fr; }

/* 卡片 */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #222;
  overflow: hidden;
}
.card-large .card-media { aspect-ratio: 4 / 3.5; }

.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.card:hover .card-media img { transform: scale(1.04); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 16px;
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover .card-overlay { opacity: 1; }
.card-play {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.card:hover .card-play {
  background: var(--accent); color: #fff;
  transform: scale(1.08);
}

.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(255,45,45,0.3);
}

.card-info { padding: 18px 20px 22px; }
.card-title {
  font-size: 16px; font-weight: 600;
  margin-bottom: 6px; line-height: 1.3;
}
.card-sub { font-size: 13px; color: var(--muted); }

/* ============ ABOUT 关于我 ============ */
.about { padding: 120px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: var(--max); margin: 0 auto; }
.about-head { margin-bottom: 60px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; padding: 0 var(--pad);
}

.about-text { color: var(--text-2); }
.about-body {
  font-size: 17px; line-height: 1.85; margin-bottom: 24px;
  color: var(--text-2);
}
.about-body strong { color: var(--text); }
.about-body .accent { font-weight: 600; font-style: normal; }
.about-body-small { font-size: 15px; color: var(--muted); }

/* 技能卡 */
.about-skills { display: flex; flex-direction: column; gap: 20px; }
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.3s ease;
}
.skill-card:hover { border-color: var(--border-2); }
.skill-k {
  font-size: 12px; letter-spacing: 0.25em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s ease;
}
.tag:hover {
  color: var(--text); border-color: var(--text);
}

/* 工具进度条 */
.skill-tools { display: flex; flex-direction: column; gap: 16px; }
.tool-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.tool-name { font-size: 14px; font-weight: 600; min-width: 130px; }
.tool-level {
  flex: 1; display: flex; align-items: center; gap: 14px;
  position: relative; height: 4px;
  background: var(--surface-2); border-radius: 999px;
}
.tool-bar {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--text), var(--accent));
  border-radius: 999px;
}
.tool-num {
  margin-left: auto; font-size: 12px; color: var(--muted);
  font-family: "Inter", monospace; font-weight: 600;
}

/* ============ CONTACT 联系 ============ */
.contact { padding: 120px 0; background: var(--bg); }
.contact-inner { max-width: var(--max); margin: 0 auto; }
.contact-head { margin-bottom: 48px; }

.email-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  margin: 0 var(--pad) 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 48px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.email-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px rgba(255,45,45,0.25);
  transform: translateY(-3px);
}
.email-tag {
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 10px;
}
.email-address {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.email-hint { font-size: 14px; color: var(--muted); }
.email-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--text); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.email-card:hover .email-arrow {
  background: var(--accent); transform: rotate(-45deg) scale(1.05);
}

/* 联系元信息 */
.contact-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.meta-item {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--border);
}
.meta-item:last-child { border-right: none; }
.meta-k { font-size: 11px; letter-spacing: 0.25em; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.meta-v { font-size: 15px; font-weight: 600; color: var(--text); }

/* ============ FOOTER ============ */
.footer {
  padding: 32px var(--pad);
  background: var(--text); color: #fff;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-weight: 800; font-size: 15px; }
.footer-logo .accent { font-weight: 800; }
.footer-text { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-top { font-size: 13px; color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-top:hover { color: #fff; }

/* ============ LIGHTBOX 视频播放 ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 40px;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-video-wrap {
  max-width: 1100px; width: 100%; max-height: 85vh;
  position: relative;
}
.lightbox-video-wrap video {
  width: 100%; height: 100%; max-height: 85vh;
  border-radius: var(--radius); background: #000;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed; top: 24px; right: 24px;
  z-index: 101;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.95); color: var(--text);
  font-size: 13px; font-weight: 600;
  transition: all 0.2s ease;
}
.lightbox-close:hover {
  background: var(--accent); color: #fff;
}

/* ============ 滚动淡入动画 ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ 响应式 · 影视飓风手机端风格 ============ */

/* 汉堡菜单按钮 */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
  z-index: 60;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: 0.3s ease;
}

/* 分类标签横向滚动 */
.works-tabs {
  display: none;
  max-width: var(--max); margin: 0 auto 32px;
  padding: 0 var(--pad);
  overflow-x: auto; gap: 8px;
  -webkit-overflow-scrolling: touch;
}
.works-tabs::-webkit-scrollbar { display: none; }
.works-tab {
  display: inline-block; flex-shrink: 0;
  padding: 8px 20px; font-size: 14px; font-weight: 500;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  transition: all 0.2s ease; white-space: nowrap;
}
.works-tab.active {
  background: var(--text); color: #fff; border-color: var(--text);
}

/* 移动端导航弹出菜单 */
.nav-mobile-overlay {
  display: none;
}

@media (max-width: 1024px) {
  .hero-title { font-size: clamp(36px, 6vw, 72px); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards-brand { grid-template-columns: 1fr 1fr; }
  .cards-brand .card-large { grid-column: span 2; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* 导航 */
  .nav { padding: 12px 0; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.nav-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(246, 246, 244, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px; gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.nav-open a {
    display: block; width: 100%; padding: 14px 16px;
    font-size: 16px; font-weight: 500; border-radius: var(--radius-sm);
  }
  .nav-links.nav-open .nav-cta {
    text-align: center; margin-top: 4px;
  }

  /* 汉堡动画 */
  .nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Hero */
  .hero { height: 100svh; min-height: unset; }
  .hero-content {
    bottom: 80px; padding: 0 20px;
  }
  .hero-tag { font-size: 12px; margin-bottom: 12px; }
  .hero-title { font-size: 32px; margin-bottom: 12px; }
  .hero-desc { font-size: 13px; margin-bottom: 24px; line-height: 1.6; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-play-btn {
    right: 16px; bottom: 32px;
    font-size: 11px; padding: 8px 14px;
  }
  .hero-scroll { bottom: 16px; font-size: 11px; }

  /* 分类标签 */
  .works-tabs { display: flex; padding: 0 20px; }
  .works-tab { font-size: 13px; padding: 7px 16px; }

  /* 通用 */
  .works, .about, .contact { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; padding: 0 20px; }
  .section-num { border-right: none; border-bottom: 2px solid var(--border-2); padding-bottom: 10px; padding-right: 0; min-width: auto; font-size: 32px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 13px; }

  .group { padding: 0 20px; margin-bottom: 64px; }
  .group-head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; margin-bottom: 20px; }
  .group-name { font-size: 18px; }
  .group-count { font-size: 12px; }

  /* 卡片网格：2列 */
  .cards { gap: 12px; }
  .cards-brand { grid-template-columns: 1fr 1fr; }
  .cards-brand .card-large { grid-column: span 2; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-duo { grid-template-columns: 1fr 1fr; }

  .card:hover { transform: none; }
  .card-media { aspect-ratio: 4 / 3; }
  .card-title { font-size: 14px; }
  .card-sub { font-size: 11px; }
  .card-overlay { opacity: 0.9; }
  .card-play svg { width: 28px; height: 28px; }
  .card-large .card-play svg { width: 32px; height: 32px; }

  /* About */
  .about-inner { padding: 0 20px; }
  .about-head { padding: 0; }
  .about-body { font-size: 14px; }
  .about-body-small { font-size: 12px; }
  .skill-tags { gap: 8px; }
  .skill-tags .tag { font-size: 12px; padding: 5px 12px; }
  .tool-name { font-size: 13px; }
  .tool-num { font-size: 11px; }

  /* Contact */
  .contact-inner { padding: 0 20px; }
  .contact-head { padding: 0; margin-bottom: 32px; }
  .email-card { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; border-radius: var(--radius-sm); }
  .email-left { width: 100%; }
  .email-label { font-size: 12px; }
  .email-address { font-size: 16px; }
  .email-hint { font-size: 12px; }
  .email-arrow { width: 44px; height: 44px; }

  .contact-meta { grid-template-columns: 1fr 1fr; gap: 0; }
  .meta-item { padding: 20px 16px; }
  .meta-item:nth-child(2) { border-right: none; }
  .meta-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .meta-label { font-size: 11px; }
  .meta-value { font-size: 14px; }

  .footer { padding: 32px 20px; flex-direction: column; gap: 12px; text-align: center; font-size: 12px; }

  /* 灯箱 */
  .lightbox-content { padding: 0 12px; }
  .lightbox-video { max-width: 100%; max-height: 50vh; }
  .lightbox-close { top: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 12px; }

  .cards-grid { grid-template-columns: 1fr; }
  .cards-duo { grid-template-columns: 1fr; }
  .cards-brand { grid-template-columns: 1fr; }
  .cards-brand .card-large { grid-column: auto; }

  .contact-meta { grid-template-columns: 1fr; }
  .meta-item, .meta-item:nth-child(2) { border-right: none; border-bottom: 1px solid var(--border); }
  .meta-item:last-child { border-bottom: none; }

  .works-tabs { gap: 6px; }
  .works-tab { font-size: 12px; padding: 6px 14px; }
}
