:root {
  --ink: #0a0a0d;
  --paper: #f7f5ff;
  --muted: #6d6a79;
  --line: rgba(10, 10, 13, 0.13);
  --violet: #6b42ff;
  --blue: #3a8cff;
  --pink: #df45d7;
  --orange: #ff9f2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 56px, 1440px);
  height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand b {
  font-weight: 450;
}

.site-header nav {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.site-header nav a,
.nav-cta {
  transition: color 180ms ease, opacity 180ms ease;
}

.site-header nav a:hover,
.nav-cta:hover {
  color: #fff;
}

.nav-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 650;
}

.nav-cta span {
  margin-left: 5px;
  color: #d765ff;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 900px;
  overflow: hidden;
  background: #030305 url("/assets/brand-wave.png") center/cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 2, 5, 0.55), transparent 36%, transparent 64%, rgba(2, 2, 5, 0.55)),
    radial-gradient(circle at 50% 50%, rgba(3, 3, 6, 0.02), rgba(3, 3, 6, 0.62) 80%);
  content: "";
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: -1;
  width: min(72vw, 1050px);
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(116, 68, 255, 0.12);
  transform: translate(-50%, -50%);
}

.hero-glow::before,
.hero-glow::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 28px #fff;
  content: "";
}

.hero-glow::before {
  left: -4px;
}

.hero-glow::after {
  right: -4px;
}

.hero-content {
  max-width: 1000px;
  margin-top: -54px;
  padding: 100px 24px 160px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 730;
  letter-spacing: -0.08em;
  line-height: 0.94;
}

.hero h1 span {
  background: linear-gradient(100deg, #fff 18%, #8ab3ff 50%, #eb65d8 82%);
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: #fff;
  color: #0a0a0d;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-orbit {
  position: absolute;
  right: 3.7vw;
  bottom: 178px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.hero-orbit i {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 56px, 1440px);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  display: flex;
  gap: 15px;
  align-items: baseline;
  justify-content: center;
  min-height: 118px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.05em;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.section {
  padding: 120px max(28px, calc((100vw - 1320px) / 2));
}

.section-heading h2,
.experience h2,
.partner h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.about {
  background: #f7f5ff;
}

.about-heading {
  max-width: 1080px;
}

.about-heading h2 span {
  color: var(--violet);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  margin-top: 84px;
}

.office-card {
  position: relative;
  margin: 0;
}

.office-card::before {
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: -1;
  border: 1px solid rgba(107, 66, 255, 0.4);
  border-radius: 30px;
  content: "";
}

.office-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  object-fit: cover;
}

.office-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.78);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.about-copy {
  max-width: 580px;
}

.about-copy > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.about-copy .lead {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.65;
}

.mission-list {
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.mission-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.mission-list dt {
  color: var(--violet);
  font-weight: 750;
}

.mission-list dd {
  margin: 0;
  font-weight: 600;
}

.solutions {
  background: #fff;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 80px;
  align-items: end;
}

.split-heading > p,
.method-heading > p {
  max-width: 480px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  position: relative;
  min-height: 470px;
  padding: 28px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.solution-card:hover {
  z-index: 1;
  background: var(--ink);
  color: #fff;
  transform: translateY(-8px);
}

.solution-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 68, 227, 0.55), transparent 70%);
  opacity: 0;
  content: "";
  transition: opacity 220ms ease;
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.solution-meta b {
  color: var(--violet);
  font-size: 13px;
}

.solution-card h3 {
  margin: 94px 0 18px;
  font-size: clamp(28px, 2.7vw, 40px);
  letter-spacing: -0.05em;
}

.solution-card > p {
  min-height: 56px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.solution-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.solution-card:hover p,
.solution-card:hover li,
.solution-card:hover .solution-meta {
  color: rgba(255, 255, 255, 0.65);
}

.experience {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
  min-height: 850px;
  background: #09090c;
  color: #fff;
}

.experience-copy {
  max-width: 470px;
}

.experience-copy > p:not(.eyebrow) {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.9;
}

.experience-copy > a {
  display: inline-flex;
  gap: 60px;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 650;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 290px 250px;
  gap: 16px;
}

.photo-mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.photo-mosaic figure:hover img {
  transform: scale(1.03);
}

.photo-a {
  grid-row: 1 / 3;
}

.photo-a img {
  object-position: 58% center;
}

.method {
  background:
    radial-gradient(circle at 82% 14%, rgba(223, 69, 215, 0.12), transparent 28%),
    #f2efff;
}

.method-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.method-heading .eyebrow {
  align-self: start;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 90px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-flow li {
  position: relative;
  min-height: 230px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.method-flow li:first-child {
  padding-left: 0;
  border-left: 0;
}

.method-flow li::after {
  position: absolute;
  top: 11px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.method-flow li:last-child::after {
  display: none;
}

.method-flow li > span {
  color: var(--violet);
  font-size: 12px;
  font-weight: 750;
}

.method-flow li > div {
  margin-top: 88px;
}

.method-flow h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.method-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.cases {
  background: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.case-card {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.case-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #eee;
}

.case-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-card:hover img {
  transform: scale(1.035);
}

.case-image span {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.76);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.case-card:nth-child(2) .case-image img {
  object-position: center 45%;
}

.case-eyebrow {
  margin: 28px 0 8px !important;
  color: var(--violet) !important;
  font-size: 11px !important;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.case-card h3 {
  margin: 0 0 13px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.case-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.partner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 110px;
  align-items: end;
  border-top: 1px solid var(--line);
  background: #fff;
  padding-top: 0;
}

.partner > div,
.partner > p {
  padding-top: 100px;
}

.partner > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 110%, rgba(57, 140, 255, 0.55), transparent 34%),
    radial-gradient(circle at 84% -10%, rgba(223, 69, 215, 0.5), transparent 34%),
    #08080b;
  color: #fff;
  text-align: center;
}

.final-cta > img {
  width: 112px;
  height: 112px;
  margin-bottom: 14px;
  object-fit: cover;
  object-position: top;
}

.final-cta h2 {
  max-width: 990px;
}

.final-cta .button {
  margin-top: 42px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 46px;
  align-items: center;
  padding: 32px max(28px, calc((100vw - 1320px) / 2));
  background: #08080b;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .experience-copy {
    max-width: 720px;
  }

  .method-heading {
    grid-template-columns: 1fr;
  }

  .method-heading > p {
    max-width: 680px;
  }

  .partner {
    gap: 60px;
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 36px);
    height: 76px;
  }

  .site-header nav {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 810px;
    background-position: 48% center;
  }

  .hero-content {
    margin-top: -84px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 92px);
  }

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

  .desktop-only,
  .hero-orbit {
    display: none;
  }

  .hero-glow {
    width: 92vw;
    height: 300px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 36px);
  }

  .hero-stats div {
    min-height: 72px;
    padding: 12px;
  }

  .hero-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stats strong {
    font-size: 26px;
  }

  .hero-stats span {
    font-size: 11px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .about-grid,
  .split-heading,
  .partner {
    grid-template-columns: 1fr;
  }

  .about-grid {
    margin-top: 56px;
  }

  .split-heading {
    gap: 24px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .solution-card {
    min-height: 390px;
  }

  .solution-card h3 {
    margin-top: 62px;
  }

  .experience {
    gap: 54px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 200px;
  }

  .photo-a {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .method-flow {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .method-flow li,
  .method-flow li:first-child {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: auto;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-flow li::after {
    display: none;
  }

  .method-flow li > div {
    margin-top: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .partner {
    gap: 0;
  }

  .partner > div,
  .partner > p {
    padding-top: 64px;
  }

  .final-cta {
    min-height: 600px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .footer-brand {
    margin: 0 auto 10px;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
  }

  .button {
    width: 100%;
  }

  .hero-stats div {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .mission-list div {
    grid-template-columns: 68px 1fr;
  }

  .photo-mosaic {
    display: block;
  }

  .photo-mosaic figure {
    height: 260px;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
