:root {
  color-scheme: dark;
  --bg: #08090b;
  --paper: #0e1014;
  --paper-2: #111419;
  --ink: #f5f2ec;
  --ink-2: #d7d9da;
  --muted: #8a9099;
  --mute-2: #565d66;
  --hair: #1d2228;
  --hair-2: #2c333b;
  --accent: #00f5d4;
  --accent-hov: #00dec1;
  --accent-ink: #050607;
  --warm: #f4c764;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Consolas, ui-monospace, monospace;
  --r-sm: 6px;
  --r-md: 10px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 16%, rgba(0, 245, 212, 0.15), transparent 30%),
    radial-gradient(circle at 20% 74%, rgba(244, 199, 100, 0.08), transparent 34%);
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .075 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.tech-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: .72;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--hair);
  background: rgba(8, 9, 11, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.brand span {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.nav a {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: color .18s var(--ease), background .18s var(--ease);
}

.nav a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, .045);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.nav-cta,
.button.primary {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.nav-cta:hover,
.button:hover,
.feature-card:hover,
.service-card:hover,
.work-card:hover,
.process article:hover {
  transform: translateY(-2px);
}

.section {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  display: block;
  min-height: calc(100vh - 68px);
  padding-top: clamp(92px, 12vh, 150px);
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 1040px;
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1100px;
  margin-bottom: 26px;
  font-size: clamp(54px, 9.4vw, 128px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 820px;
  margin-bottom: 32px;
  color: var(--ink-2);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.72;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  max-width: 890px;
  margin-top: 64px;
}

.hero-stats a {
  flex: 1 1 210px;
  min-height: 116px;
  padding: 24px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  color: var(--muted);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.hero-stats a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(0, 245, 212, .055);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 42px;
  line-height: 1;
}

.hero-visual {
  display: none;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 44px));
  margin: -34px auto 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(8, 9, 11, .78);
  backdrop-filter: blur(14px);
}

.feature-card {
  min-height: 214px;
  padding: 30px 28px;
  border-right: 1px solid var(--hair);
  transition: transform .22s var(--ease), background .22s var(--ease);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card:hover {
  background: rgba(0, 245, 212, .055);
}

.feature-card span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h2 {
  margin: 26px 0 10px;
  font-size: clamp(28px, 3.4vw, 48px);
}

.feature-card p {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 28px;
  align-items: end;
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--ink);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  grid-column: span 2;
  min-height: 244px;
  padding: 28px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  border-color: var(--accent);
  background: #111820;
}

.service-card h3::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 24px;
  content: "";
  background: var(--accent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(17, 20, 25, .96), rgba(10, 11, 13, .96));
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.work-card:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(18, 27, 30, .98), rgba(10, 11, 13, .98));
}

.work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--hair);
  background: #000;
}

.work-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-media::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 245, 212, .12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, .04), transparent 45%);
}

.work-media video,
.work-format {
  position: relative;
  z-index: 1;
}

.work-format {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  padding: 22px;
}

.work-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.work-body h3 {
  display: -webkit-box;
  min-height: 64px;
  overflow: hidden;
  font-size: 25px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  overflow: hidden;
}

.process article {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--hair-2);
  background: rgba(14, 16, 20, .78);
  transition: transform .22s var(--ease), background .22s var(--ease);
}

.process article:last-child {
  border-right: 0;
}

.process article:hover {
  background: rgba(0, 245, 212, .06);
}

.process span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 900;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.about-panel,
.contact-list {
  padding: 28px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: var(--paper);
}

.about-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  align-items: center;
  padding-bottom: 112px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 18px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sm);
  background: #08090b;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.contact-list a:hover,
.contact-list div:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-list strong {
  overflow-wrap: anywhere;
  font-size: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 3vw, 42px);
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section-heading,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .process {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--hair);
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process article {
    border-right: 0;
    border-bottom: 1px solid var(--hair-2);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section {
    width: min(100% - 28px, 1240px);
    padding: 62px 0;
  }

  .hero {
    padding-top: 70px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 18px;
  }

  .feature-strip,
  .service-grid,
  .work-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    width: min(100% - 28px, 1240px);
    margin-top: -18px;
  }

  .hero-stats a {
    flex-basis: 100%;
  }

  .work-card {
    min-height: 500px;
  }

  .contact-list strong {
    font-size: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
