:root {
  color-scheme: dark;
  --bg: #060606;
  --bg-soft: #111113;
  --ink: #f5f5f1;
  --muted: rgba(245, 245, 241, 0.64);
  --line: rgba(245, 245, 241, 0.13);
  --panel: rgba(255, 255, 255, 0.055);
  --white: #ffffff;
  --violet: #9da3ff;
  --orange: #ff633d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    "Noto Sans SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 84px;
  padding: 14px clamp(22px, 6vw, 128px);
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.86), rgba(6, 6, 6, 0));
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 800;
}

.availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 26px 9px rgba(157, 163, 255, 0.65);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 17px;
  font-weight: 700;
}

.button.light {
  background: var(--white);
  color: #101010;
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 28%, rgba(157, 163, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.72) 42%, rgba(6, 6, 6, 0.28) 78%, rgba(6, 6, 6, 0.86) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.12), rgba(6, 6, 6, 0.9));
}

.hero-content {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 132px 0 56px;
}

.kicker {
  margin: 0;
  color: rgba(245, 245, 241, 0.58);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 34px 0 0;
  font-size: clamp(54px, 6.4vw, 104px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.section-head h2,
.work-copy h3,
.flow-meta strong,
.flow-body h3,
.product-card h3,
.product-card strong,
.proposal h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero h1 span {
  display: block;
  margin-top: 18px;
  font-weight: 520;
  letter-spacing: 0;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.58fr);
  gap: 28px;
  max-width: 760px;
  margin-top: clamp(82px, 14vh, 150px);
}

.partner-mark {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.mark-symbol {
  display: grid;
  width: 32px;
  height: 24px;
  place-items: center;
  background: var(--white);
  color: #101010;
  font-size: 12px;
  font-weight: 950;
}

.hero-bottom p {
  margin: 0;
  color: rgba(245, 245, 241, 0.72);
  font-size: 19px;
}

.hero-button {
  width: max-content;
  align-self: end;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0c;
}

.metric-band div {
  min-height: 176px;
  padding: 28px clamp(22px, 4vw, 48px);
  border-left: 1px solid var(--line);
}

.metric-band div:first-child {
  border-left: 0;
}

.metric-band span {
  color: rgba(245, 245, 241, 0.36);
  font-size: 13px;
  font-weight: 800;
}

.metric-band strong {
  display: block;
  margin-top: 32px;
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 550;
  letter-spacing: 0;
  line-height: 0.9;
}

.metric-band p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(92px, 12vw, 170px) 0;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 78px);
}

.section-head.split {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.54fr);
  align-items: end;
}

.section-head h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 82px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.service-grid article {
  min-height: 320px;
  padding: 28px;
  background: #0c0c0d;
}

.service-grid span,
.process-list span,
.method-grid span,
.work-index {
  color: rgba(245, 245, 241, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.service-grid h3 {
  margin: 94px 0 16px;
  font-size: 28px;
  font-weight: 560;
  letter-spacing: 0;
}

.service-grid p,
.process-list p,
.method-grid p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.work {
  width: 100%;
  max-width: none;
  background: #f3f0ea;
  color: #101010;
}

.work > * {
  width: min(1280px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.work .kicker,
.work .work-index {
  color: rgba(16, 16, 16, 0.52);
}

.work .section-head p,
.work-copy p,
.work-copy dt {
  color: rgba(16, 16, 16, 0.62);
}

.work-list {
  display: grid;
  gap: 0;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 6vw, 86px) 0;
  border-top: 1px solid rgba(16, 16, 16, 0.16);
}

.work-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.02;
}

.work-copy p:not(.work-index) {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18px;
}

.work-copy dl {
  display: grid;
  gap: 14px;
  margin: 38px 0 0;
}

.work-copy dl div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 16, 16, 0.14);
}

.work-copy dt,
.work-copy dd {
  margin: 0;
}

.work-copy dd {
  font-weight: 780;
}

.media-carousel {
  position: relative;
  min-width: 0;
}

.media-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 2px;
  scroll-snap-type: x mandatory;
  padding: 2px 4px 18px;
  scrollbar-color: rgba(16, 16, 16, 0.45) rgba(16, 16, 16, 0.08);
}

.media-slide {
  flex: 0 0 clamp(260px, 34vw, 430px);
  min-height: 500px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  background: #0d0d0d;
  color: #f3f0ea;
  border: 1px solid rgba(16, 16, 16, 0.16);
}

.media-slide img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  background: #0d0d0d;
}

.media-slide figcaption {
  min-height: 72px;
  padding: 14px 16px 16px;
  color: rgba(243, 240, 234, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.stat-slide {
  padding: 28px;
  justify-content: space-between;
}

.stat-slide strong {
  margin-top: 20px;
  color: #f3f0ea;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 520;
  line-height: 0.92;
  letter-spacing: 0;
}

.stat-slide span {
  max-width: 280px;
  color: rgba(243, 240, 234, 0.7);
  font-size: 18px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 240, 234, 0.26);
  background: rgba(16, 16, 16, 0.78);
  color: #f3f0ea;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.carousel-button:hover {
  background: #f3f0ea;
  color: #101010;
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.proof-tile {
  min-height: 220px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(16, 16, 16, 0.14);
  background: rgba(255, 255, 255, 0.34);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-tile span {
  color: rgba(16, 16, 16, 0.48);
  font-size: 13px;
  font-weight: 800;
}

.proof-tile strong {
  margin-top: 46px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  font-weight: 540;
  letter-spacing: 0;
}

.proof-tile p {
  margin: 18px 0 0;
  color: rgba(16, 16, 16, 0.6);
}

.method,
.flow,
.pricing {
  border-top: 1px solid var(--line);
}

.process-list,
.method-grid,
.product-ladder {
  display: grid;
  gap: 1px;
  margin-top: clamp(40px, 6vw, 78px);
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list div,
.method-grid article {
  min-height: 260px;
  padding: 28px;
  background: #0c0c0d;
}

.process-list strong {
  display: block;
  margin: 84px 0 14px;
  font-size: 24px;
  font-weight: 560;
}

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

.method-grid article {
  min-height: 660px;
  display: flex;
  flex-direction: column;
}

.method-visual {
  position: relative;
  height: clamp(360px, 34vw, 470px);
  margin: -8px -8px 28px;
  border: 1px solid rgba(245, 245, 241, 0.08);
  background: #050505;
  overflow: hidden;
}

.method-visual img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.method-grid h3 {
  margin: 22px 0 16px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.08;
}

.method-grid p {
  font-size: 17px;
}

.flow-timeline {
  border-top: 1px solid var(--line);
}

.flow-step {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(32px, 5vw, 62px) 0;
  border-bottom: 1px solid var(--line);
}

.flow-meta {
  display: grid;
  align-content: start;
  gap: 18px;
}

.flow-meta span {
  color: rgba(245, 245, 241, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.flow-meta strong {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: 0;
}

.flow-body h3 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.06;
  font-weight: 540;
  letter-spacing: 0;
}

.flow-body > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.flow-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow-columns div {
  min-height: 190px;
  padding: 20px;
  background: #0c0c0d;
}

.flow-columns b {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 15px;
}

.flow-columns ul,
.product-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.flow-columns li,
.product-card li {
  padding-left: 2px;
}

.product-ladder {
  grid-template-columns: 0.94fr 1.12fr 0.94fr;
  align-items: stretch;
}

.product-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.8vw, 42px);
  background: #0c0c0d;
}

.product-card.featured {
  background: #f3f0ea;
  color: #101010;
}

.product-card.featured p,
.product-card.featured li,
.product-card.featured .product-eyebrow {
  color: rgba(16, 16, 16, 0.66);
}

.product-eyebrow {
  margin: 0 0 78px;
  color: rgba(245, 245, 241, 0.42);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: 0;
}

.product-card strong {
  display: block;
  min-height: 98px;
  margin: 22px 0 22px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.04;
  font-weight: 560;
  letter-spacing: 0;
}

.product-card ul {
  margin-top: auto;
  padding-top: 32px;
}

.proposal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 32px;
  align-items: end;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(92px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
}

.proposal h2 {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: clamp(42px, 5.8vw, 92px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.proposal p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 32px clamp(22px, 6vw, 128px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
}

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

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    display: none;
  }

  .service-grid,
  .metric-band,
  .process-list,
  .method-grid,
  .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head.split,
  .work-card,
  .flow-step,
  .flow-columns,
  .product-ladder,
  .proposal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .brand-logo {
    font-size: 20px;
  }

  .nav-links {
    gap: 18px;
    font-size: 14px;
  }

  .hero-content,
  .section,
  .work > *,
  .proposal {
    width: calc(100% - 44px);
    max-width: 1280px;
    overflow-x: hidden;
  }

  .section-head,
  .section-head > *,
  .work-copy,
  .flow-body,
  .product-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-content {
    padding-top: 148px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 44px);
    line-height: 1.12;
  }

  .section-head h2 {
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.08;
    word-break: break-all;
  }

  .work-copy h3 {
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.08;
    word-break: break-all;
  }

  .section-head p,
  .work-copy p:not(.work-index),
  .flow-body > p {
    font-size: 16px;
  }

  .flow-meta strong {
    font-size: 30px;
  }

  .flow-body h3 {
    font-size: clamp(26px, 8vw, 34px);
    word-break: break-all;
  }

  .product-card h3 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .product-card strong {
    min-height: auto;
    font-size: clamp(30px, 9vw, 40px);
  }

  .proposal h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }

  .hero-button {
    width: 100%;
  }

  .service-grid,
  .metric-band,
  .process-list,
  .method-grid,
  .customer-grid,
  .flow-columns,
  .product-ladder {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric-band div:first-child {
    border-top: 0;
  }

  .media-slide {
    flex-basis: min(86vw, 360px);
    min-height: 460px;
  }

  .media-slide img {
    height: 360px;
  }

  .carousel-button {
    width: 38px;
    height: 38px;
  }

  .flow-step {
    gap: 20px;
  }

  .product-eyebrow {
    margin-bottom: 48px;
  }

  .work-copy dl div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
  }
}
