:root {
  --ink: #101419;
  --muted: #5f6872;
  --paper: #f7f4ee;
  --paper-soft: #ede8df;
  --line: rgba(16, 20, 25, 0.12);
  --cyan: #2ec5c0;
  --cyan-dark: #177a78;
  --coral: #d66a4b;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 20, 25, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(11, 15, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  flex: 0 0 auto;
}

.brand-mark span {
  display: block;
  background: var(--cyan);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: var(--coral);
}

.brand-name {
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82svh;
  padding: 116px 0 66px;
  overflow: hidden;
  color: var(--white);
  background: #091015;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-pixbeat.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 9, 13, 0.95) 0%, rgba(4, 9, 13, 0.76) 38%, rgba(4, 9, 13, 0.24) 72%),
    linear-gradient(0deg, rgba(4, 9, 13, 0.78) 0%, rgba(4, 9, 13, 0) 36%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #061012;
  background: var(--cyan);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #70ded8;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
}

.focus-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 42px;
}

.focus-strip span {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.intro-band {
  padding: 76px 0;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.section-grid,
.content-section,
.media-section,
.contact-section,
.site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead-block p,
.media-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.lead-block p + p {
  margin-top: 18px;
}

.content-section {
  padding: 88px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.process-step {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16, 20, 25, 0.06);
}

.service-index {
  display: block;
  margin-bottom: 50px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.service-card p,
.process-step p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.media-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: stretch;
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-copy {
  align-self: center;
}

.media-copy p {
  max-width: 540px;
  margin-top: 22px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-item {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  padding: 22px;
  color: var(--white);
  background: #162126;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-item:nth-child(2) {
  background: var(--cyan-dark);
}

.solution-item:nth-child(3) {
  background: #863f30;
}

.solution-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-item strong {
  font-size: 22px;
  line-height: 1.24;
}

.process-section {
  padding-bottom: 96px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  min-height: 230px;
  background: transparent;
}

.process-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
  padding: 76px 0;
  color: var(--white);
  background: #101419;
  box-shadow: 0 0 0 100vmax #101419;
  clip-path: inset(0 -100vmax);
}

.contact-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-meta span {
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 25, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(46, 197, 192, 0.24);
  border-color: var(--cyan-dark);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #101419;
  box-shadow: 0 0 0 100vmax #101419;
  clip-path: inset(0 -100vmax);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero h1 {
    max-width: 650px;
    font-size: 42px;
  }

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

  .section-grid,
  .media-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 20px, var(--max));
    margin-top: 10px;
  }

  .brand-name {
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    background: rgba(11, 15, 19, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 84svh;
    padding: 100px 0 42px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 9, 13, 0.94), rgba(4, 9, 13, 0.62)),
      linear-gradient(0deg, rgba(4, 9, 13, 0.78), rgba(4, 9, 13, 0) 38%);
  }

  .hero-inner,
  .section-grid,
  .content-section,
  .media-section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .focus-strip {
    gap: 8px;
    margin-top: 28px;
  }

  .focus-strip span {
    font-size: 12px;
  }

  .intro-band,
  .content-section,
  .media-section,
  .contact-section {
    padding: 58px 0;
  }

  h2 {
    font-size: 30px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

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

  .service-card,
  .process-step {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 32px;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    background: #101419;
  }
}
