/* 马能武 · MV 视觉导演 — 全站样式
   风格：深空电影感（风格 1） */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07080d;
  --bg-soft: #0d1018;
  --line: #1e2331;
  --text: #eef2f8;
  --muted: #8b96aa;
  --dim: #6d7b93;
  --accent: #6ea8ff;
  --accent-2: #5ce0ff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}

.serif { font-family: Georgia, "Songti SC", "SimSun", serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7,8,13,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-size: 13px; letter-spacing: .26em; font-weight: 600; color: var(--text); text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 30px; font-size: 13px; color: var(--muted); }
.navlinks a { color: inherit; text-decoration: none; }
.navlinks a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid #33405c; border-radius: 999px; padding: 7px 18px;
  color: var(--text) !important; font-size: 12.5px;
}
.nav-cta:hover { background: #131a29; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: none; border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); font-size: 16px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(115% 90% at 14% 118%, #1e2d55 0%, #0c1119 52%, #07080d 100%),
    radial-gradient(70% 60% at 88% 8%, rgba(110,168,255,.14) 0%, transparent 60%);
}
.hero .grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero .wrap { position: relative; padding-top: 130px; padding-bottom: 130px; min-height: 82vh; display: flex; flex-direction: column; justify-content: center; }
.kicker { font-size: 11.5px; letter-spacing: .40em; color: var(--dim); margin-bottom: 26px; }
.hero h1 { font-size: 92px; line-height: 1.08; font-weight: 400; letter-spacing: .01em; }
.hero .lead { font-size: 16px; color: var(--muted); margin-top: 30px; max-width: 560px; }
.hero .cta { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

.btn { border-radius: 999px; padding: 13px 30px; font-size: 14px; text-decoration: none; display: inline-block; }
.btn-main { background: #eef2f8; color: #07080d; font-weight: 500; }
.btn-main:hover { background: #fff; }
.btn-ghost { border: 1px solid #33405c; color: var(--text); }
.btn-ghost:hover { background: #131a29; }

.hero .rule { width: 68px; height: 1px; background: #3b465e; margin-top: 46px; }
.scroll-hint { font-size: 11.5px; letter-spacing: .22em; color: var(--dim); margin-top: 16px; }

/* ---------- section shell ---------- */
section { padding: 108px 0; border-top: 1px solid var(--line); }
.sec-label { font-size: 11.5px; letter-spacing: .32em; color: var(--dim); margin-bottom: 16px; }
.sec-title { font-size: 40px; font-weight: 400; line-height: 1.25; }
.sec-intro { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 620px; }

/* ---------- works grid ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; margin-top: 56px; }
.work { display: block; text-decoration: none; color: inherit; }
.thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: #11151f; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, opacity .4s; opacity: .92; }
.work:hover .thumb img { transform: scale(1.045); opacity: 1; }
.thumb .tagline {
  position: absolute; left: 12px; top: 12px; font-size: 10.5px; letter-spacing: .14em;
  background: rgba(7,8,13,.66); border: 1px solid rgba(255,255,255,.14);
  padding: 3px 10px; border-radius: 999px; color: #dbe4f2; backdrop-filter: blur(6px);
}
.work h3 { font-size: 17px; font-weight: 500; margin-top: 16px; }
.work .meta { font-size: 12.5px; color: var(--dim); margin-top: 5px; letter-spacing: .03em; }
.more { margin-top: 52px; font-size: 13.5px; }
.more a { color: var(--accent); text-decoration: none; }

/* ---------- services ---------- */
.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 52px; }
.svc { background: var(--bg-soft); padding: 38px 34px; }
.svc .no { font-size: 11.5px; color: var(--dim); letter-spacing: .2em; }
.svc h3 { font-size: 19px; font-weight: 500; margin: 14px 0 10px; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; }
.step .n { font-family: Georgia, serif; font-size: 30px; color: #33405c; }
.step h4 { font-size: 15.5px; font-weight: 500; margin: 14px 0 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; margin-top: 48px; }
.about p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.about p strong { color: var(--text); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 12.5px; color: #b9c4d6; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.brandline { font-size: 12.5px; color: var(--dim); letter-spacing: .06em; }
.brands { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 18px; }
.brands span { font-size: 14.5px; color: #55627a; letter-spacing: .06em; }

/* ---------- contact ---------- */
.contact-box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; margin-top: 48px; }
.contact-box h2 { font-size: 46px; font-weight: 400; line-height: 1.25; }
.contact-box .sub { color: var(--muted); font-size: 15px; margin-top: 20px; }
.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.crow { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 13px; font-size: 14.5px; }
.crow .k { color: var(--dim); font-size: 12.5px; letter-spacing: .12em; white-space: nowrap; }
.crow .v { color: var(--text); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.copy { font-size: 12px; color: var(--accent); background: none; border: 1px solid #33405c; border-radius: 6px; padding: 4px 12px; cursor: pointer; font-family: inherit; }
.copy:hover { background: #131a29; }
.qr {
  border: 1px dashed #33405c; border-radius: 12px; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--dim); font-size: 12.5px; line-height: 1.9; background: #0b0e15;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--dim); flex-wrap: wrap; gap: 14px; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--muted); }

/* ---------- 作品列表页 ---------- */
.page-head { padding: 96px 0 0; }
.page-head h1 { font-size: 54px; font-weight: 400; line-height: 1.15; }
.page-head .sub { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 620px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-bottom: 4px; }
.filters button {
  font-family: inherit; font-size: 12.5px; color: var(--muted); background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filters button:hover { color: var(--text); }
.filters button.active { color: #07080d; background: var(--text); border-color: var(--text); }
.list-section { padding-top: 44px; }
.empty { color: var(--dim); font-size: 14px; padding: 60px 0; }

/* ---------- 作品详情页 ---------- */
.detail { padding: 60px 0 108px; }
.back { font-size: 13px; color: var(--dim); text-decoration: none; }
.back:hover { color: var(--text); }
.wd-head { margin-top: 44px; }
.wd-head h1 { font-size: 56px; font-weight: 400; line-height: 1.15; margin-top: 14px; }
.wd-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13.5px; margin-top: 22px; }
.wd-meta span { letter-spacing: .04em; }
.wd-meta .sep { color: #33405c; }
.player {
  margin-top: 46px; position: relative; aspect-ratio: 16/9; background: #0b0e15;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--dim); font-size: 13px; line-height: 2; padding: 24px;
}
.player-note { font-size: 12px; color: var(--dim); margin-top: 14px; letter-spacing: .04em; }
.wd-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.wd-block { border-top: 1px solid var(--line); padding-top: 22px; }
.wd-k { font-size: 11.5px; letter-spacing: .28em; color: var(--dim); margin-bottom: 14px; }
.wd-block p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.wd-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 86px; border-top: 1px solid var(--line); padding-top: 28px; }
.wd-nav a { text-decoration: none; color: inherit; max-width: 46%; }
.wd-nav .dir { font-size: 11.5px; letter-spacing: .22em; color: var(--dim); }
.wd-nav .name { font-size: 16px; margin-top: 8px; }
.wd-nav a:hover .name { color: var(--accent); }
.wd-nav .right { text-align: right; margin-left: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero .wrap { padding-top: 96px; padding-bottom: 96px; }
  .hero h1 { font-size: 52px; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .cards4, .steps, .about, .contact-box { grid-template-columns: 1fr; }
  .sec-title { font-size: 30px; }
  .contact-box h2 { font-size: 34px; }
  section { padding: 76px 0; }
  .page-head { padding-top: 64px; }
  .page-head h1 { font-size: 38px; }
  .wd-head h1 { font-size: 38px; }
  .wd-body { grid-template-columns: 1fr; gap: 30px; }
  .wd-nav { flex-direction: column; }
  .wd-nav a, .wd-nav .right { max-width: 100%; text-align: left; margin-left: 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .navlinks {
    position: absolute; top: 66px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,8,13,.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .navlinks.open { display: flex; }
  .navlinks a { display: block; padding: 14px 28px; }
  .navlinks .nav-cta { border: 0; border-top: 1px solid var(--line); border-radius: 0; color: var(--muted) !important; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 40px; }
  .works { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .detail { padding-top: 40px; }
  .wd-head h1 { font-size: 30px; }
}