:root {
  --bg: #0b0b0d;
  --panel: #141418;
  --line: #26262d;
  --text: #f2efe9;
  --muted: #9a978f;
  --accent: #ff6a2b;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 6vw; background: rgba(11,11,13,.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; letter-spacing: .2em; font-size: 15px; }
.logo span { color: var(--accent); margin: 0 4px; animation: blink 1.4s infinite; }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.btn { display: inline-block; background: var(--accent); color: #140600; font-weight: 700; padding: 14px 28px;
  border-radius: 999px; border: 0; cursor: pointer; font-size: 15px; font-family: inherit; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 8px 18px; font-size: 13px; color: #140600 !important; }

.eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--accent); font-weight: 700; margin-bottom: 16px; }

.hero { position: relative; min-height: 88vh; padding: 14vh 6vw 10vh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,106,43,.22), transparent 55%),
              radial-gradient(ellipse at 10% 90%, rgba(123,92,255,.14), transparent 50%); overflow: hidden; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); max-width: 560px; font-size: 17px; margin-top: 24px; }
.cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.rec { position: absolute; top: 40px; right: 6vw; font: 600 12px/1 ui-monospace, monospace; letter-spacing: .15em; color: var(--muted);
  display: flex; align-items: center; gap: 8px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff2b2b; animation: blink 1s infinite; }
.frame-corners span { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(242,239,233,.35); }
.frame-corners span:nth-child(1) { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.frame-corners span:nth-child(2) { top: 24px; right: 24px; border-left: 0; border-bottom: 0; }
.frame-corners span:nth-child(3) { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.frame-corners span:nth-child(4) { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }
@keyframes blink { 50% { opacity: .2; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: 36px 6vw; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 900; }
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 120px 6vw; }
.section h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.2; font-weight: 900; margin-bottom: 56px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid article { background: var(--bg); padding: 40px 32px; transition: background .3s; }
.grid article:hover { background: var(--panel); }
.ico { color: var(--accent); font-size: 26px; }
.grid h3 { font-size: 21px; margin: 18px 0 10px; }
.grid p { color: var(--muted); font-size: 15px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: -24px 0 32px; }
.filters button { background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 8px 20px; border-radius: 999px;
  cursor: pointer; font-family: inherit; font-size: 14px; }
.filters button.active, .filters button:hover { color: var(--text); border-color: var(--accent); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.works figure { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 30% 30%, var(--a), var(--b) 70%); }
.works figure::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 2px, transparent 2px 4px), linear-gradient(transparent 40%, rgba(0,0,0,.75)); }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.9); z-index: 1; width: 64px; height: 64px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  font-size: 20px; opacity: .7; transition: .3s; }
.works figure:hover .play { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; }
figcaption b { display: block; font-size: 19px; }
figcaption span { font-size: 13px; color: rgba(242,239,233,.75); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 2px solid var(--line); padding-top: 24px; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font: 700 13px ui-monospace, monospace; color: var(--accent); margin-bottom: 12px; }
.steps b { font-size: 20px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; background: var(--panel); border-top: 1px solid var(--line); }
.contact h2 { margin-bottom: 0; }
.info { list-style: none; padding: 0; margin-top: 40px; }
.info li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 24px; }
.info span { color: var(--muted); width: 80px; flex-shrink: 0; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
form .full { grid-column: 1 / -1; }
input, select, textarea { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  font: inherit; font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }

footer { display: flex; justify-content: space-between; padding: 32px 6vw; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

.thanks main { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; padding: 6vw; }
.thanks h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; }
.thanks p { color: var(--muted); }

@media (max-width: 900px) {
  .nav nav a:not(.btn) { display: none; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .grid, .works { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid, .works, form { grid-template-columns: 1fr; }
  .rec { display: none; }
}
