:root {
  color-scheme: light;
  --ink: #151719;
  --muted: #5d6368;
  --line: #dfe3e6;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --blue: #215c8f;
  --green: #2d765f;
  --orange: #b85f20;
  --coal: #0d1114;
  --shadow: 0 18px 55px rgba(15, 20, 25, 0.12);
  --float-shadow: 0 18px 45px rgba(15, 20, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0 40px;
  color: #fff;
  background: rgba(13, 17, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--coal);
  background: #fff;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: var(--coal);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(8, 11, 14, 0.68);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://fstc.kispace.cc/i/f858acfa44e97163650711e1c492a7d1.png");
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  transform: scale(1.05);
  transition: transform 1200ms ease-out, opacity 1200ms ease-out;
}

.is-loaded .hero-bg {
  opacity: 0.82;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, calc(100% - 48px));
  min-height: 88svh;
  margin: 0 auto;
  padding: 120px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a8d4ff;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 850;
}

h1 span {
  display: block;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

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

.hero [data-reveal] {
  opacity: 1;
  transform: none;
}

.hero .eyebrow,
.hero h1 span,
.hero-copy,
.hero-actions {
  animation: hero-rise 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 span:first-child {
  animation-delay: 80ms;
}

.hero h1 span:last-child {
  animation-delay: 160ms;
}

.hero-copy {
  animation-delay: 240ms;
}

.hero-actions {
  animation-delay: 320ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  color: var(--coal);
  background: #fff;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 34px;
  min-width: 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.intro-band > *,
.featured-case > *,
.method-section > *,
.contact-section > *,
.capability-card,
.case-card {
  min-width: 0;
}

.intro-grid {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.intro-grid p {
  margin-bottom: 0;
}

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

.capability-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(15, 20, 25, 0.03);
}

.capability-card {
  min-height: 386px;
  padding: 28px;
  border-top: 5px solid var(--blue);
  --float-distance: 10px;
}

.capability-card.accent-green {
  border-top-color: var(--green);
}

.capability-card.accent-orange {
  border-top-color: var(--orange);
}

.capability-index {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.capability-card p,
.case-copy p,
.case-card p,
.method-list p,
.contact-copy p {
  color: var(--muted);
}

.capability-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding-left: 18px;
  color: #34393e;
  font-size: 15px;
}

.capability-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
}

.case-section {
  width: 100%;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: #eef2f1;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 22px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  --float-distance: 8px;
}

.case-type {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.proof-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.proof-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
}

.proof-list dt {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.proof-list dd {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.case-media {
  overflow: hidden;
  min-height: 420px;
  background: var(--coal);
  border-radius: 8px;
  box-shadow: var(--shadow);
  --float-distance: 12px;
}

.case-media video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.case-card {
  overflow: hidden;
  --float-distance: 9px;
}

.case-card img,
.case-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e5e7e8;
}

.video-card video {
  background: var(--coal);
}

.case-card-body {
  padding: 20px;
}

.case-card h3 {
  font-size: 22px;
}

.case-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.mini-cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.mini-cases div {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 20px;
  background: var(--surface);
}

.mini-cases span {
  color: var(--muted);
  font-size: 14px;
}

.mini-cases a:hover,
.text-link:hover {
  color: var(--orange);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
}

.method-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.method-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  --float-distance: 7px;
}

.method-list span {
  color: var(--orange);
  font-weight: 850;
}

.method-list h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.method-list p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 42px;
  padding: 42px;
  color: #fff;
  background: #101416;
  border-radius: 8px;
  --float-distance: 8px;
}

.is-loaded [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 80ms);
  will-change: opacity, transform;
}

.is-loaded [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.floating-card {
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.floating-card.is-floating {
  animation: cloud-float 7.5s ease-in-out infinite;
  animation-delay: calc(var(--float-index, 0) * -1.2s);
  box-shadow: var(--float-shadow);
}

.floating-card:hover {
  animation-play-state: paused;
  border-color: rgba(33, 92, 143, 0.34);
  box-shadow: 0 24px 70px rgba(15, 20, 25, 0.16);
  transform: translate3d(0, -6px, 0);
}

.case-media.floating-card.is-floating {
  box-shadow: 0 26px 75px rgba(15, 20, 25, 0.18);
}

@keyframes cloud-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, calc(var(--float-distance, 8px) * -1), 0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .is-loaded [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

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

.option-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  color: #101416;
  font-weight: 800;
  background: #fff;
  border-radius: 8px;
}

.option-link:hover,
.button:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .intro-band,
  .featured-case,
  .method-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mini-cases {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 58px;
    padding: 0 18px;
  }

  .brand {
    font-size: 14px;
  }

  .hero,
  .hero-content {
    min-height: 86svh;
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-top: 96px;
  }

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

  h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  h2 {
    font-size: clamp(26px, 7vw, 30px);
    max-width: 100%;
    word-break: break-all;
  }

  p,
  li,
  dd,
  .mini-cases span,
  .option-link {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 66px 0;
  }

  .case-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .capability-grid,
  .case-grid,
  .mini-cases {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
    padding: 24px;
  }

  .capability-index {
    margin-bottom: 28px;
  }

  .case-copy,
  .contact-section {
    padding: 24px;
  }

  .case-media,
  .case-media video {
    min-height: 260px;
  }

  .proof-list div,
  .method-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section {
    width: min(100% - 32px, 1180px);
  }
}
