:root {
  color-scheme: light;
  --surface: #f4f3ee;
  --surface-raised: #fbfaf6;
  --surface-warm: #fff8d8;
  --ink: #171717;
  --ink-soft: #292929;
  --muted: #64635e;
  --line: rgba(23, 23, 23, .14);
  --line-strong: rgba(23, 23, 23, .28);
  --accent: #e52d3d;
  --accent-dark: #9d1725;
  --signal: #f2cc00;
  --night: #101011;
  --night-soft: #1b1b1d;
  --radius: 18px;
  --radius-control: 12px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 64px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --font: "Avenir Next", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--ink);
  background: var(--signal);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.header-sentinel {
  position: absolute;
  top: 1px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.splash-cursor-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.splash-cursor-layer canvas {
  width: 100%;
  height: 100%;
  opacity: .78;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px var(--pad);
  color: #fff;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(244, 243, 238, .88);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  color: var(--ink);
  background: var(--signal);
  box-shadow: 6px 6px 0 var(--accent);
  font-size: 13px;
  letter-spacing: -.08em;
}

.brand-text {
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius-control);
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s var(--ease-out);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100dvh;
  overflow: hidden;
  padding: 124px var(--pad) 42px;
  color: #fff;
  background: var(--night);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 64%), linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .7));
}

.hyperspeed-canvas,
.hero-scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hyperspeed-canvas {
  z-index: 0;
}

.hero-scan {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(180deg, transparent 0, rgba(255, 255, 255, .1) 50%, transparent 100%);
  background-size: 92px 100%, 100% 100%;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.3;
}

.hero .eyebrow {
  color: var(--signal);
}

.hero-title {
  max-width: 8ch;
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 8.5vw, 112px);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .94;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-control);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}

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

.button:active {
  transform: translateY(-1px) scale(.98);
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
  box-shadow: 6px 6px 0 var(--accent);
}

.button-primary:hover {
  box-shadow: 9px 9px 0 var(--accent);
}

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

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

.hero-console {
  position: absolute;
  right: var(--pad);
  bottom: 42px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  width: min(500px, calc(100% - var(--pad) * 2));
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-control);
  overflow: hidden;
  background: rgba(16, 16, 17, .72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.hero-console div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

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

.hero-console strong {
  display: block;
  color: var(--signal);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -.05em;
  line-height: 1;
}

.hero-console span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.signal-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--ink);
  border-block: 1px solid var(--ink);
  scrollbar-width: thin;
}

.signal-strip span {
  flex: 1 0 auto;
  min-width: 190px;
  padding: 16px 24px;
  color: var(--ink);
  background: var(--signal);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(84px, 11vw, 148px) var(--pad);
}

.section-head {
  max-width: 880px;
}

.section-head h2,
.proof-copy h2,
.method-copy h2,
.team-copy h2,
.contact-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-head p:last-child,
.proof-copy p:last-child,
.team-copy p,
.contact-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 54px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-raised);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.service-card:nth-child(1) {
  grid-column: span 7;
  background: var(--surface-raised);
}

.service-card:nth-child(2) {
  grid-column: span 5;
  background: var(--surface-warm);
}

.service-card:nth-child(3) {
  grid-column: span 5;
  color: #fff;
  background: var(--night);
}

.service-card:nth-child(4) {
  grid-column: span 7;
  background: #fff;
}

.service-card::after {
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .1;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(23, 23, 23, .1);
  transform: translateY(-5px);
}

.service-index {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
}

.service-card:nth-child(3) .service-index {
  color: var(--signal);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 17ch;
  margin: auto 0 18px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.service-card p,
.case-panel p,
.timeline p,
.faq p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-card:nth-child(3) p {
  color: rgba(255, 255, 255, .7);
}

.proof {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  align-items: start;
}

.proof-copy {
  grid-column: span 5;
  position: sticky;
  top: 104px;
}

.proof-copy h2 {
  max-width: 8ch;
}

.metric-wall {
  display: grid;
  grid-column: span 7;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}

.metric:nth-child(2),
.metric:nth-child(3) {
  background: var(--night-soft);
}

.metric:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
}

.metric strong {
  display: block;
  color: var(--signal);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .9;
}

.metric span {
  display: block;
  max-width: 18ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.45;
}

.proof-media {
  grid-column: 6 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.proof-media img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
}

.cases {
  max-width: none;
  border-block: 1px solid var(--line);
  background: #fff;
}

.cases > * {
  max-width: var(--max);
  margin-inline: auto;
}

.case-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.case-panel {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(242, 204, 0, .24), transparent 48%), var(--surface);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.case-panel:first-child {
  grid-column: span 7;
  min-height: 392px;
  background: linear-gradient(145deg, rgba(229, 45, 61, .12), transparent 50%), var(--surface);
}

.case-panel:nth-child(2),
.case-panel:nth-child(3) {
  grid-column: span 5;
}

.case-panel:hover {
  box-shadow: 0 18px 44px rgba(23, 23, 23, .1);
  transform: translateY(-5px);
}

.case-tag {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

.case-panel h3 {
  max-width: 12ch;
  margin: auto 0 18px;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}

.method {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: center;
}

.method-visual {
  grid-column: span 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.method-copy {
  grid-column: span 7;
}

.method-copy h2 {
  max-width: 9ch;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.team {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  max-width: none;
  padding: clamp(82px, 10vw, 136px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  color: #fff;
  background: var(--night);
}

.team-copy,
.team-media {
  max-width: none;
}

.team-copy h2 {
  max-width: 8ch;
  color: #fff;
}

.team-copy p {
  color: rgba(255, 255, 255, .7);
}

.team-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin-top: 42px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface-raised);
  padding: 0 22px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 auto;
  color: var(--accent);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  max-width: 70ch;
  padding: 0 0 22px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: start;
  padding: clamp(84px, 11vw, 148px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  background: linear-gradient(90deg, rgba(229, 45, 61, .05) 1px, transparent 1px), linear-gradient(180deg, #fff, var(--surface));
  background-size: 64px 100%, 100% 100%;
}

.contact-copy {
  grid-column: span 6;
}

.contact-copy h2 {
  max-width: 9ch;
}

.contact-form {
  display: grid;
  grid-column: span 5;
  gap: 16px;
  width: 100%;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 10px 10px 0 var(--signal);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .2s var(--ease-standard), box-shadow .2s var(--ease-standard);
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #77766f;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 45, 61, .16);
}

.contact-form .button-primary {
  width: 100%;
  border-color: var(--ink);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  color: rgba(255, 255, 255, .66);
  background: var(--night);
  font-size: 12px;
  line-height: 1.6;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  text-align: right;
}

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

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

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

.js-ready .service-card:nth-child(2),
.js-ready .metric:nth-child(2),
.js-ready .case-panel:nth-child(2) {
  transition-delay: 80ms;
}

.js-ready .service-card:nth-child(3),
.js-ready .metric:nth-child(3),
.js-ready .case-panel:nth-child(3) {
  transition-delay: 150ms;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .js-ready .reveal,
  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hyperspeed-canvas {
    opacity: .46;
  }

  .splash-cursor-layer {
    display: none;
  }
}

@media (pointer: coarse) {
  .splash-cursor-layer {
    display: none;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    color: var(--ink);
    background: var(--surface-raised);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    align-items: start;
    padding-top: 124px;
    padding-bottom: 300px;
  }

  .hero-title {
    font-size: clamp(54px, 15vw, 92px);
  }

  .hero-console {
    left: var(--pad);
    right: var(--pad);
    width: auto;
  }

  .proof-copy,
  .metric-wall,
  .proof-media,
  .method-visual,
  .method-copy,
  .contact-copy,
  .contact-form {
    grid-column: 1 / -1;
  }

  .proof-copy {
    position: static;
  }

  .proof-copy h2,
  .method-copy h2,
  .contact-copy h2 {
    max-width: 11ch;
  }

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

  .team-copy,
  .team-media {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-title {
    max-width: 7ch;
    font-size: clamp(50px, 15vw, 84px);
  }

  .hero-copy {
    max-width: 34ch;
  }

  .service-card,
  .case-panel,
  .case-panel:first-child {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .case-panel:first-child {
    min-height: 320px;
  }

  .service-card h3,
  .case-panel h3 {
    margin-top: 72px;
  }

  .proof {
    gap: 18px;
  }

  .metric-wall {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 150px;
  }

  .method {
    gap: 30px;
  }

  .method-visual {
    order: 2;
  }

  .method-copy {
    order: 1;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-details {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-console {
    grid-template-columns: 1fr;
  }

  .hero-console div {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .hero-console div:last-child {
    border-bottom: 0;
  }

  .section-head h2,
  .proof-copy h2,
  .method-copy h2,
  .team-copy h2,
  .contact-copy h2 {
    line-height: 1.04;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .section-head p:last-child,
  .proof-copy p:last-child,
  .team-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .contact-form {
    padding: 20px;
    box-shadow: 7px 7px 0 var(--signal);
  }
}
