:root {
  --bg0: #0b0c10;
  --bg1: #14161c;
  --panel: #171a22;
  --card: #1d2230;
  --ink: #f3efe6;
  --muted: #9aa3b2;
  --accent: #d4a574;
  --line: rgba(212, 165, 116, 0.22);
  --ok: #6fbf9a;
  --danger: #d96b5c;
  --font: "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(212, 165, 116, 0.12), transparent 50%),
    radial-gradient(800px 400px at 100% 0%, rgba(90, 140, 180, 0.1), transparent 46%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--ink);
  font-family: var(--font);
}
.app { min-height: 100vh; padding-bottom: 84px; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(11, 12, 16, 0.9);
  z-index: 8;
}
.brand-btn { appearance: none; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.brand { margin: 0; letter-spacing: 0.32em; font-size: 1.4rem; color: var(--accent); font-weight: 600; }
.tag { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.nav-actions { display: flex; gap: 8px; }
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
}
.btn.primary { background: var(--accent); color: #1a140c; border-color: transparent; font-weight: 700; }
.btn.big { width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.view { display: none; max-width: 920px; margin: 0 auto; padding: 18px 16px 40px; }
.view.active { display: block; }
.hero h2 { font-size: 1.7rem; margin: 6px 0 10px; }
.kicker { color: var(--accent); letter-spacing: 0.18em; font-size: 12px; }
.lead, .muted { color: var(--muted); line-height: 1.6; }
.panel {
  background: rgba(23, 26, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-top: 16px;
}
label { display: block; margin: 10px 0; color: var(--muted); font-size: 13px; }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f1218;
  color: var(--ink);
  font: inherit;
}
.grid4, .grid3 { display: grid; gap: 10px; }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.row-checks { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.check input { width: auto; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.chip {
  border: 1px solid var(--line);
  background: #12151c;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.estimate { color: var(--accent); font-size: 13px; }
.bar { height: 8px; background: #10131a; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8f7340, var(--accent)); }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); }
.job-head { display: flex; justify-content: space-between; align-items: center; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.shot {
  background: #12151c;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.shot img, .shot video, .final video { width: 100%; display: block; background: #000; }
.shot .cap { padding: 10px; font-size: 13px; color: var(--muted); }
.final { margin-top: 16px; }
.final a { display: inline-block; margin-top: 10px; }
.works { display: grid; gap: 10px; }
.work {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #12151c;
}
.about-facts { padding-left: 18px; line-height: 1.7; color: var(--muted); }
.about-copy, .foot { color: var(--muted); text-align: center; }
.foot { padding: 20px; }
.about-links a { color: var(--accent); }
.tabbar { display: none; }
.desktop-only { display: flex; }

@media (max-width: 820px) {
  .grid4, .grid3 { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .desktop-only { display: none; }
  .tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(11, 12, 16, 0.96);
    border-top: 1px solid var(--line);
    z-index: 9;
  }
  .tab {
    flex: 1;
    padding: 12px 0 16px;
    background: transparent;
    color: var(--muted);
    border: 0;
  }
  .tab.active { color: var(--accent); }
}
