:root {
  color-scheme: dark;
  --bg: #000000;
  --text: rgba(255, 255, 255, 0.98);
  --muted: rgba(255, 255, 255, 0.7);
  --soft: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.01);
  --shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 28%),
    #000;
}

.content-wrap {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.03) 45%, rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at center, rgba(37, 99, 255, 0.08), transparent 42%);
  z-index: 1;
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.38;
}

.hero-overlay::before {
  top: 18%;
  left: 14%;
  width: 280px;
  height: 280px;
  background: rgba(37, 99, 255, 0.14);
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-overlay::after {
  right: 16%;
  bottom: 18%;
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 255, 0.08);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.hero-header,
.hero-content,
.social-row {
  position: relative;
  z-index: 3;
}

.hero-header {
  padding: 24px;
}

.nav-pill {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: none;
}

.nav-pill::before,
.nav-pill .liquid-glass::before {
  display: none;
}

.nav-left,
.brand-block,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-left {
  gap: 32px;
}

.brand-block {
  gap: 12px;
}

.brand-logo,
.social-button svg,
.submit-button svg,
.service-icon svg {
  width: 100%;
  height: 100%;
}

.brand-logo {
  width: 64px;
  height: auto;
  object-fit: contain;
  animation: logoFloat 4.8s ease-in-out infinite;
}

.nav-links {
  gap: 32px;
}

.nav-links a,
.text-button {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

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

.nav-actions {
  gap: 12px;
}

.text-button {
  background: transparent;
  border: 0;
  padding: 0 8px;
}

.pill-button {
  color: #fff;
  border-radius: 999px;
  padding: 14px 32px;
  background: var(--glass-bg);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.pill-button:hover,
.social-button:hover,
.feature-button:hover,
.service-card:hover .service-media video {
  transform: translateY(-1px);
}

.small-pill {
  padding: 10px 24px;
  font-size: 0.92rem;
}

.hero-content {
  position: absolute;
  inset: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 48px 24px 10vh;
  pointer-events: none;
}

.hero-animate {
  opacity: 0;
  will-change: opacity, transform;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-animate-nav {
  animation-name: heroFadeDown;
  animation-duration: 0.9s;
  animation-delay: 0.1s;
}

.hero-animate-title {
  animation-name: heroFadeUp;
  animation-duration: 1s;
  animation-delay: 0.28s;
}

.hero-animate-copy {
  animation-name: heroFadeUp;
  animation-duration: 0.95s;
  animation-delay: 0.48s;
}

.hero-animate-button {
  animation-name: heroFadeUp, ctaPulse;
  animation-duration: 0.95s, 3.2s;
  animation-delay: 0.64s, 1.9s;
  animation-iteration-count: 1, infinite;
}

.hero-title,
.about-title,
.philosophy-title,
.serif-accent {
  font-family: "Instrument Serif", serif;
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-family: "SimHei", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.6);
}

.hero-title em,
.serif-accent {
  font-style: italic;
}

.hero-title span {
  display: block;
}

.hero-copy {
  width: min(100%, 640px);
  margin: 18px 0 0;
  padding: 0 16px;
  font-size: 0.98rem;
  line-height: 1.8;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.55);
}

.manifesto-button {
  margin-top: 22px;
  font-size: 0.92rem;
  pointer-events: auto;
}

.manifesto-button:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px) scale(1.02);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 48px;
  z-index: 3;
}

.social-button {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
  pointer-events: auto;
}

.social-button svg {
  width: 20px;
  height: 20px;
}

.social-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.content-section {
  position: relative;
  overflow: hidden;
  background: #000;
}

.about-section {
  padding: 176px 0 56px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.03), transparent 70%), #000;
}

.eyebrow,
.card-label,
.copy-label,
.service-meta p,
.services-head p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.eyebrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.about-title {
  margin: 24px 0 0;
  max-width: 1100px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-family: Arial, sans-serif;
}

.about-title .serif-accent {
  color: rgba(255, 255, 255, 0.6);
}

.featured-section {
  padding: 40px 0 120px;
}

.feature-video-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.feature-video,
.philosophy-media video,
.service-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-gradient,
.service-gradient {
  position: absolute;
  inset: 0;
}

.feature-gradient {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62) 100%);
}

.feature-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.approach-card {
  max-width: 430px;
  border-radius: 24px;
  padding: 28px 30px;
}

.card-label,
.copy-label,
.service-meta p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.card-copy {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.75;
}

.feature-button {
  white-space: nowrap;
}

.philosophy-section {
  padding: 160px 0;
}

.philosophy-title {
  margin: 0 0 96px;
  font-size: clamp(3.6rem, 7vw, 7.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-family: Arial, sans-serif;
}

.philosophy-title .serif-accent {
  font-family: "Instrument Serif", serif;
}

.muted {
  color: rgba(255, 255, 255, 0.4);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.philosophy-media {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3;
}

.philosophy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.copy-block p:last-child {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

.copy-label {
  margin-bottom: 18px;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 34px 0;
  background: var(--line);
}

.services-section {
  padding: 150px 0 170px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02), transparent 60%), #000;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.services-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  letter-spacing: -0.04em;
}

.services-head p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.service-card {
  border-radius: 28px;
}

.service-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-media video {
  transition: transform 0.7s ease;
}

.service-gradient {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}

.service-body {
  padding: 30px 32px 34px;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 16px;
  height: 16px;
}

.service-body h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.service-body p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.reveal-item {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-item.delay-1 {
  transition-delay: 0.12s;
}

.reveal-item.delay-2 {
  transition-delay: 0.24s;
}

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

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 0 24px rgba(255, 255, 255, 0.08);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    padding-bottom: 9vh;
  }

  .feature-overlay,
  .philosophy-grid,
  .services-grid {
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .feature-overlay,
  .services-head {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-pill {
    padding: 10px 12px;
    gap: 12px;
  }

  .nav-left {
    flex: 0 0 auto;
    gap: 0;
    min-width: 0;
  }

  .brand-block {
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  .text-button {
    padding: 0 4px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .small-pill {
    padding: 8px 16px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .hero-header {
    padding: 18px;
  }

  .hero-content {
    padding: 36px 18px 8vh;
  }

  .social-row {
    padding-bottom: 36px;
  }

  .about-section {
    padding-top: 124px;
  }

  .desktop-break {
    display: none;
  }

  .featured-section,
  .philosophy-section,
  .services-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .feature-overlay {
    padding: 24px;
  }

  .philosophy-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-head p {
    display: none;
  }
}

@media (max-width: 520px) {
  .content-wrap {
    width: min(var(--content-width), calc(100% - 32px));
  }

  .nav-pill {
    padding: 9px 10px;
  }

  .nav-actions {
    gap: 6px;
  }

  .manifesto-button,
  .feature-button,
  .pill-button {
    padding-left: 22px;
    padding-right: 22px;
  }

  .small-pill {
    padding: 8px 14px;
  }

  .brand-logo {
    width: 48px;
  }

  .feature-video-frame,
  .philosophy-media,
  .service-card {
    border-radius: 24px;
  }

  .approach-card,
  .service-body {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 390px) {
  .hero-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .text-button {
    display: none;
  }

  .brand-logo {
    width: 44px;
  }
}
