:root {
  color-scheme: dark;
  --night: #02050a;
  --night-soft: #06101a;
  --paper: #f3f7f5;
  --muted: rgba(224, 236, 235, 0.58);
  --line: rgba(204, 239, 235, 0.15);
  --cyan: #66e7dd;
  --blue: #5ea7ff;
  --violet: #9b8cff;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  background: var(--night);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--night);
  color: var(--paper);
  font-family: "Noto Sans SC", "Manrope", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 9999;
  inset: 0;
  border: 1px solid rgba(216, 249, 245, 0.08);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--cyan);
  color: #03100f;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.page-noise {
  position: fixed;
  z-index: 9000;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-aura {
  position: fixed;
  z-index: 8999;
  top: var(--pointer-y);
  left: var(--pointer-x);
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 222, 214, 0.055), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 400ms ease;
}

.has-pointer .cursor-aura {
  opacity: 1;
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 6.4rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.2rem;
  pointer-events: none;
  transition: height 300ms ease, background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-nav::after {
  position: absolute;
  right: 2.2rem;
  bottom: 0;
  left: 2.2rem;
  height: 1px;
  background: rgba(215, 243, 239, 0.09);
  content: "";
}

.site-nav.is-scrolled {
  height: 5rem;
  border-bottom: 1px solid rgba(218, 243, 240, 0.08);
  background: rgba(2, 6, 12, 0.58);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.site-nav.is-scrolled::after {
  opacity: 0;
}

.site-nav > * {
  pointer-events: auto;
}

.nav-mark {
  position: relative;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
  border: 1px solid rgba(218, 247, 243, 0.2);
  border-radius: 50%;
  background: rgba(8, 17, 27, 0.42);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 260ms ease, border-color 260ms ease;
}

.nav-mark:hover {
  border-color: rgba(102, 231, 221, 0.65);
  transform: rotate(-12deg);
}

.nav-mark span {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-style: italic;
}

.nav-mark i {
  position: absolute;
  inset: 0.36rem;
  border: 1px solid rgba(102, 231, 221, 0.27);
  border-radius: 50%;
  transform: rotate(34deg) scaleY(0.38);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.brand-beacon {
  display: block;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(102, 231, 221, 0.08), 0 0 22px rgba(102, 231, 221, 0.9);
  animation: beacon 2.6s ease-in-out infinite;
}

.brand-lockup > span {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  text-align: center;
}

.brand-lockup strong {
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(102, 231, 221, 0.18);
}

.brand-lockup small {
  color: rgba(225, 240, 239, 0.46);
  font-family: "Manrope", sans-serif;
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-left: 5.4rem;
  color: rgba(232, 243, 241, 0.58);
  font-size: 0.68rem;
}

.nav-menu a {
  position: relative;
  transition: color 180ms ease;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 220ms ease;
}

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

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  border: 1px solid rgba(220, 247, 243, 0.18);
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  background: rgba(6, 13, 22, 0.4);
  font-size: 0.72rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.nav-contact:hover {
  background: var(--paper);
  color: #06100f;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #02050a;
  contain: paint;
}

.starfield,
.hero-vignette,
.hero-beam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.starfield {
  z-index: 1;
}

.hero-nebula {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(85px);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.nebula-a {
  top: -18%;
  left: 20%;
  width: 68vw;
  height: 52vw;
  background: conic-gradient(from 180deg, transparent, rgba(31, 164, 184, 0.19), transparent 38%, rgba(89, 59, 171, 0.22), transparent 74%);
  animation: nebula-float 18s ease-in-out infinite alternate;
}

.nebula-b {
  right: -12%;
  bottom: -35%;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, rgba(77, 80, 214, 0.19), transparent 65%);
  animation: nebula-breathe 12s ease-in-out infinite alternate;
}

.eclipse {
  position: absolute;
  z-index: 2;
  top: 47%;
  left: 50%;
  width: min(59vw, 880px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.eclipse-body,
.eclipse-halo,
.eclipse-orbit {
  position: absolute;
  border-radius: 50%;
}

.eclipse-halo {
  inset: 5%;
  background:
    conic-gradient(from 215deg, transparent 0 14%, rgba(77, 185, 255, 0.92) 21%, rgba(173, 144, 255, 0.74) 29%, transparent 39% 70%, rgba(90, 234, 218, 0.65) 82%, transparent 91%),
    radial-gradient(circle, transparent 52%, rgba(73, 194, 218, 0.27) 56%, transparent 64%);
  filter: blur(7px);
  opacity: 0.85;
  animation: halo-turn 24s linear infinite;
}

.eclipse-body {
  inset: 12%;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 36%, rgba(23, 39, 52, 0.43), transparent 38%),
    radial-gradient(circle at 68% 73%, rgba(21, 58, 64, 0.32), transparent 31%),
    #010306;
  box-shadow:
    inset 25px 18px 80px rgba(77, 169, 186, 0.08),
    0 0 32px rgba(100, 230, 220, 0.18),
    0 0 140px rgba(67, 128, 255, 0.16),
    0 0 280px rgba(92, 74, 210, 0.12);
}

.eclipse-body::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(112deg, transparent 48%, rgba(99, 228, 218, 0.05) 49%, transparent 50%),
    radial-gradient(circle at 62% 42%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px);
  background-size: 72px 72px, 84px 84px;
  content: "";
  opacity: 0.55;
  animation: planet-drift 12s linear infinite;
}

.eclipse-orbit {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(137, 225, 225, 0.17);
}

.orbit-a {
  width: 112%;
  height: 31%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit-b {
  width: 98%;
  height: 118%;
  border-color: rgba(154, 134, 255, 0.13);
  transform: translate(-50%, -50%) rotate(62deg) scaleX(0.38);
}

.orbit-probe {
  position: absolute;
  top: 47%;
  left: -5%;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #e7fffc;
  box-shadow: 0 0 18px #74e7dd, 0 0 50px rgba(102, 231, 221, 0.6);
  animation: probe-travel 8s ease-in-out infinite alternate;
}

.hero-beam {
  z-index: 3;
  background: conic-gradient(from 250deg at 50% 48%, transparent 0 10%, rgba(107, 226, 220, 0.045) 15%, transparent 20% 69%, rgba(126, 106, 242, 0.05) 76%, transparent 82%);
  filter: blur(8px);
  animation: beam-turn 18s ease-in-out infinite alternate;
}

.hero-vignette {
  z-index: 4;
  background:
    linear-gradient(90deg, #02050a 0%, transparent 19% 81%, #02050a 100%),
    linear-gradient(180deg, rgba(2, 5, 10, 0.46), transparent 24% 71%, #02050a 100%);
}

.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1060px, calc(100% - 3rem));
  flex-direction: column;
  align-items: center;
  padding: 10rem 0 12rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(220, 244, 241, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  background: rgba(7, 14, 23, 0.48);
  color: rgba(236, 247, 245, 0.8);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eyebrow > span:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 0.65rem;
  color: rgba(217, 237, 234, 0.43);
  font-family: "Manrope", sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.15em;
}

.eyebrow-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(102, 231, 221, 0.9);
}

.hero h1 {
  margin: 1.8rem 0 0;
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  font-weight: 300;
  letter-spacing: -0.085em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero h1 > span,
.hero h1 > em {
  display: block;
}

.hero h1 > span {
  color: rgba(245, 248, 247, 0.95);
}

.hero h1 > em {
  padding-bottom: 0.12em;
  background: linear-gradient(94deg, #f6fbfa 8%, #87f0e4 47%, #a99cff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-style: italic;
  letter-spacing: -0.065em;
  text-shadow: 0 0 70px rgba(106, 232, 220, 0.11);
}

.hero-intro {
  max-width: 700px;
  margin: 1.7rem 0 0;
  color: rgba(225, 237, 235, 0.65);
  font-size: clamp(0.88rem, 1.45vw, 1.05rem);
  font-weight: 300;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.15rem;
}

.button-primary,
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  background: #f3f7f5;
  color: #04100f;
  font-size: 0.79rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.38), 0 18px 60px rgba(0, 0, 0, 0.25);
  transition: box-shadow 250ms ease, background 250ms ease, color 250ms ease, transform 180ms ease;
}

.button-primary:hover,
.contact-link:hover {
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(108, 235, 222, 0.72), 0 0 46px rgba(102, 231, 221, 0.18);
}

.button-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(236, 246, 244, 0.78);
  font-size: 0.76rem;
}

.button-quiet i {
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(102, 231, 221, 0.2), var(--cyan));
  transition: width 220ms ease;
}

.button-quiet:hover i {
  width: 3.2rem;
}

.hero-console {
  position: absolute;
  z-index: 12;
  right: 13%;
  bottom: 2.2rem;
  left: 13%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(218, 244, 240, 0.12);
  border-bottom: 1px solid rgba(218, 244, 240, 0.08);
}

.hero-console > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.05rem 0.8rem;
  padding: 1rem 1.25rem;
}

.hero-console > div + div {
  border-left: 1px solid rgba(218, 244, 240, 0.1);
}

.hero-console span {
  grid-row: 1 / 3;
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.53rem;
}

.hero-console strong {
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-console small {
  color: rgba(220, 239, 236, 0.38);
  font-family: "Manrope", sans-serif;
  font-size: 0.47rem;
  letter-spacing: 0.1em;
}

.hero-rail {
  position: absolute;
  z-index: 12;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(218, 238, 235, 0.33);
  font-family: "Manrope", sans-serif;
  font-size: 0.45rem;
  letter-spacing: 0.18em;
  pointer-events: none;
  writing-mode: vertical-rl;
}

.hero-rail i {
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(transparent, rgba(102, 231, 221, 0.65), transparent);
}

.rail-left {
  left: 2rem;
  transform: translateY(-50%) rotate(180deg);
}

.rail-right {
  right: 2rem;
  transform: translateY(-50%);
}

.scroll-indicator {
  position: absolute;
  z-index: 14;
  bottom: 1.8rem;
  left: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(221, 239, 236, 0.38);
  font-family: "Manrope", sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.2em;
}

.scroll-indicator i {
  position: relative;
  width: 3.4rem;
  height: 1px;
  overflow: hidden;
  background: rgba(216, 243, 239, 0.12);
}

.scroll-indicator i::after {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  content: "";
  animation: scroll-line 2.4s ease-in-out infinite;
}

.manifesto {
  position: relative;
  display: flex;
  min-height: 86vh;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 9rem max(2rem, 8vw);
  background:
    radial-gradient(circle at 75% 35%, rgba(79, 93, 184, 0.11), transparent 30%),
    linear-gradient(180deg, #02050a, #050b12);
}

.manifesto::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19%;
  width: 1px;
  background: linear-gradient(transparent, rgba(115, 231, 220, 0.2), transparent);
  content: "";
}

.manifesto-index,
.section-kicker {
  color: rgba(205, 234, 230, 0.43);
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.manifesto-line {
  max-width: 1120px;
  margin: 2.4rem 0 0;
  font-size: clamp(2.7rem, 5.4vw, 6.2rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.manifesto-line span {
  color: rgba(218, 237, 234, 0.32);
}

.manifesto-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
  color: rgba(220, 239, 236, 0.35);
  font-family: "Manrope", sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
}

.manifesto-meta i {
  width: 2.6rem;
  height: 1px;
  background: rgba(102, 231, 221, 0.28);
}

.services {
  position: relative;
  padding: 9rem max(2rem, 6vw) 11rem;
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(216, 242, 239, 0.055) 50%, transparent 50.05%),
    #071019;
}

.section-heading {
  display: grid;
  max-width: 1320px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: 6rem;
  align-items: end;
  margin: 0 auto;
}

.section-heading h2,
.terrain-title h2,
.process-heading h2,
.contact h2 {
  margin: 1.2rem 0 0;
  font-size: clamp(3rem, 5.6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.section-heading h2 em,
.terrain-title h2 em,
.contact h2 em {
  background: linear-gradient(94deg, #f4f9f8, #83eadf 48%, #a79dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-style: italic;
}

.section-heading > p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.9;
}

.service-list {
  max-width: 1320px;
  margin: 7rem auto 0;
  border-top: 1px solid var(--line);
}

.service-item {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 5rem minmax(260px, 0.9fr) minmax(260px, 0.8fr) auto;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 1rem;
  transition: padding 300ms ease, background 300ms ease;
}

.service-item::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(430px circle at var(--card-x) var(--card-y), rgba(94, 224, 213, 0.1), transparent 60%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.service-item:hover {
  padding-right: 1.7rem;
  padding-left: 1.7rem;
  background: rgba(255, 255, 255, 0.018);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item > * {
  position: relative;
  z-index: 1;
}

.service-number {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
}

.service-item small {
  color: rgba(102, 231, 221, 0.48);
  font-family: "Manrope", sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
}

.service-item h3 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.service-item p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.85;
}

.service-arrow {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(218, 244, 240, 0.15);
  border-radius: 50%;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-item:hover .service-arrow {
  background: var(--paper);
  color: #06100f;
  transform: rotate(45deg);
}

.terrain-story {
  position: relative;
  height: 280vh;
  background: #02050a;
}

.terrain-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #02050a;
  contain: paint;
}

.hero:not(.is-motion-active) .hero-nebula,
.hero:not(.is-motion-active) .eclipse-halo,
.hero:not(.is-motion-active) .orbit-probe,
.hero:not(.is-motion-active) .hero-beam,
.terrain-story:not(.is-motion-active) .terrain-scanline,
.terrain-story:not(.is-motion-active) .terrain-live i {
  animation-play-state: paused;
}

#terrain-canvas,
.terrain-atmosphere,
.terrain-vignette,
.terrain-scanline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#terrain-canvas {
  z-index: 0;
}

.terrain-atmosphere {
  z-index: 1;
  background:
    radial-gradient(ellipse at 52% 34%, rgba(90, 234, 220, 0.13), transparent 23%),
    conic-gradient(from 260deg at 52% 34%, transparent, rgba(77, 125, 222, 0.05), transparent 26%, rgba(119, 90, 223, 0.055), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.terrain-scanline {
  z-index: 2;
  top: -60%;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(103, 230, 219, 0.04), rgba(178, 255, 247, 0.09), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: skewY(-8deg);
  animation: terrain-scan 6.5s linear infinite;
}

.terrain-vignette {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.9), transparent 26% 74%, rgba(2, 5, 10, 0.88)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.72), transparent 25% 75%, rgba(2, 5, 10, 0.82));
  pointer-events: none;
}

.terrain-title {
  position: absolute;
  z-index: 10;
  top: 14%;
  left: max(2rem, 6vw);
  max-width: 720px;
}

.terrain-title h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}

.terrain-title > p {
  margin: 1.2rem 0 0;
  color: rgba(220, 239, 236, 0.49);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.terrain-hud {
  position: absolute;
  z-index: 12;
  right: max(1.5rem, 3vw);
  left: max(1.5rem, 3vw);
  display: flex;
  justify-content: space-between;
  color: rgba(212, 237, 233, 0.41);
  font-family: "Manrope", sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.hud-top {
  top: 2rem;
  border-bottom: 1px solid rgba(211, 240, 236, 0.1);
  padding-bottom: 0.85rem;
}

.hud-bottom {
  bottom: 1.7rem;
  justify-content: flex-end;
  gap: 2.4rem;
  border-top: 1px solid rgba(211, 240, 236, 0.1);
  padding-top: 0.85rem;
}

.terrain-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(207, 244, 239, 0.65);
}

.terrain-live i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
  animation: beacon 1.8s ease-in-out infinite;
}

.terrain-phases {
  position: absolute;
  z-index: 14;
  right: max(2rem, 6vw);
  bottom: 14%;
  display: grid;
  width: min(390px, calc(100% - 4rem));
  grid-template-columns: 4rem 1fr;
  gap: 1.4rem;
  border-top: 1px solid rgba(218, 244, 240, 0.18);
  padding-top: 1.3rem;
  opacity: 0.6;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.terrain-phases.phase-ready {
  opacity: 1;
  transform: translateY(0);
}

#terrain-phase-number {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
}

.terrain-phases div {
  display: flex;
  flex-direction: column;
}

.terrain-phases small {
  color: rgba(102, 231, 221, 0.56);
  font-family: "Manrope", sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.2em;
}

.terrain-phases strong {
  margin-top: 0.75rem;
  font-size: 1.55rem;
  font-weight: 400;
}

.terrain-phases p {
  margin: 0.75rem 0 0;
  color: rgba(222, 239, 236, 0.56);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.8;
}

.terrain-scroll {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  pointer-events: none;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.45fr);
  gap: 6rem;
  padding: 10rem max(2rem, 6vw);
  background: #060d15;
}

.process-heading h2 {
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent);
  transition: background 260ms ease;
}

.process-grid article:hover {
  background: linear-gradient(145deg, rgba(102, 231, 221, 0.07), transparent 70%);
}

.process-grid span {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
}

.process-grid strong {
  margin-top: auto;
  font-size: 2rem;
  font-weight: 300;
}

.process-grid p {
  margin: 0.5rem 0 0;
  color: rgba(218, 238, 235, 0.42);
  font-size: 0.67rem;
}

.contact {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9rem 2rem 2rem;
  background:
    radial-gradient(circle at 50% 44%, rgba(63, 162, 171, 0.13), transparent 24%),
    radial-gradient(circle at 50% 54%, rgba(93, 79, 202, 0.12), transparent 38%),
    #02050a;
  text-align: center;
}

.contact::before,
.contact::after {
  position: absolute;
  top: 48%;
  left: 50%;
  border: 1px solid rgba(102, 231, 221, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(-9deg);
}

.contact::before {
  width: min(76vw, 1050px);
  height: min(28vw, 330px);
}

.contact::after {
  width: min(58vw, 780px);
  height: min(19vw, 230px);
  border-color: rgba(156, 138, 255, 0.13);
  transform: translate(-50%, -50%) rotate(11deg);
}

.contact-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 255, 248, 0.55), rgba(102, 231, 221, 0.12) 10%, transparent 62%);
  transform: translate(-50%, -50%);
  animation: contact-breathe 4.5s ease-in-out infinite;
}

.contact > *:not(.contact-glow) {
  position: relative;
  z-index: 3;
}

.contact h2 {
  max-width: 1040px;
  font-size: clamp(3.2rem, 6.8vw, 7rem);
}

.contact > p {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-link {
  margin-top: 2.4rem;
}

.footer-meta {
  display: grid;
  width: calc(100% - 4rem);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(219, 244, 240, 0.11);
  padding-top: 1.2rem;
  color: rgba(214, 236, 232, 0.34);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: 0.49rem;
  letter-spacing: 0.17em;
}

.footer-meta span:first-child { justify-self: start; }
.footer-meta span:last-child { justify-self: end; }

.reveal {
  opacity: 0;
  filter: blur(13px);
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes beacon {
  0%, 100% { opacity: 0.55; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes nebula-float {
  from { transform: translate3d(-4%, -2%, 0) rotate(-8deg); }
  to { transform: translate3d(7%, 4%, 0) rotate(8deg); }
}

@keyframes nebula-breathe {
  from { opacity: 0.55; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes halo-turn { to { transform: rotate(360deg); } }
@keyframes planet-drift { to { background-position: 72px 0, 84px 0; } }

@keyframes probe-travel {
  from { left: -5%; top: 47%; }
  to { left: 101%; top: 53%; }
}

@keyframes beam-turn {
  from { transform: rotate(-4deg) scale(1); }
  to { transform: rotate(5deg) scale(1.06); }
}

@keyframes scroll-line {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

@keyframes terrain-scan {
  from { transform: translateY(-20vh) skewY(-8deg); }
  to { transform: translateY(190vh) skewY(-8deg); }
}

@keyframes contact-breathe {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@media (max-width: 1000px) {
  .site-nav {
    grid-template-columns: 3rem 1fr 3rem;
    padding: 0 1.2rem;
  }

  .site-nav::after { right: 1.2rem; left: 1.2rem; }
  .nav-menu { display: none; }

  .nav-contact {
    width: 3rem;
    height: 3rem;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    text-indent: -999px;
  }

  .nav-contact span { text-indent: 0; }
  .hero-console { right: 5%; left: 5%; }
  .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .service-item { grid-template-columns: 3rem minmax(220px, 0.9fr) minmax(230px, 0.8fr) auto; }
  .process { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 720px) {
  .site-nav { height: 5.4rem; }
  .nav-mark, .nav-contact { width: 2.75rem; height: 2.75rem; }

  .brand-lockup { gap: 0.58rem; }
  .brand-lockup strong { font-size: 0.95rem; letter-spacing: 0.12em; }
  .brand-lockup small { display: none; }
  .brand-beacon { width: 0.34rem; height: 0.34rem; }

  .eclipse {
    top: 45%;
    width: 130vw;
  }

  .hero-copy {
    width: calc(100% - 1.5rem);
    padding: 7.6rem 0 15rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.3rem);
    line-height: 0.94;
  }

  .hero-intro {
    max-width: 32rem;
    font-size: 0.83rem;
    line-height: 1.75;
  }

  .hero-actions { flex-direction: column; gap: 1rem; }
  .hero-console { right: 0.75rem; bottom: 1rem; left: 0.75rem; }
  .hero-console > div { padding: 0.8rem 0.55rem; }
  .hero-console span, .hero-console small { display: none; }
  .hero-console strong { font-size: 0.63rem; text-align: center; }
  .hero-rail, .scroll-indicator { display: none; }

  .manifesto { min-height: 76vh; padding: 7rem 1.25rem; }
  .manifesto::before { left: 1.25rem; opacity: 0.4; }
  .manifesto-line { font-size: clamp(2.4rem, 11.5vw, 4rem); }
  .manifesto-meta { flex-wrap: wrap; gap: 0.7rem; }
  .manifesto-meta i { width: 1.3rem; }

  .services { padding: 7rem 1rem 8rem; }
  .section-heading h2, .terrain-title h2, .contact h2 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
  .service-list { margin-top: 4.5rem; }

  .service-item {
    grid-template-columns: 2rem 1fr auto;
    gap: 1rem;
    padding: 1.8rem 0.5rem;
  }

  .service-item > p {
    grid-column: 2 / 4;
  }

  .service-item:hover { padding-right: 0.5rem; padding-left: 0.5rem; }
  .service-arrow { width: 2.3rem; height: 2.3rem; }

  .terrain-story { height: 250vh; }
  .terrain-sticky { min-height: 560px; }
  .terrain-title { top: 13%; left: 1.15rem; max-width: calc(100% - 2.3rem); }
  .terrain-title h2 { font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .terrain-title > p { max-width: 30ch; line-height: 1.7; }
  .terrain-phases { right: 1.15rem; bottom: 11%; width: calc(100% - 2.3rem); }
  .hud-top { top: 1rem; }
  .hud-bottom { bottom: 0.8rem; gap: 1rem; }
  .hud-bottom span:nth-child(2) { display: none; }

  .process { padding: 7rem 1rem; }
  .process-grid article { min-height: 190px; padding: 1rem; }
  .process-grid strong { font-size: 1.5rem; }

  .contact { min-height: 88vh; padding: 8rem 1rem 1.5rem; }
  .contact::before { width: 130vw; height: 45vw; }
  .contact::after { width: 100vw; height: 34vw; }
  .footer-meta { width: 100%; grid-template-columns: 1fr auto; }
  .footer-meta span:nth-child(2) { display: none; }
}

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

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

/* Terrain journey v2 — scroll-driven fly-through */
.terrain-story {
  --journey-progress: 0;
  height: 360vh;
  cursor: grab;
  touch-action: pan-y;
}

.terrain-story.is-dragging {
  cursor: grabbing;
}

.terrain-sticky {
  min-height: 640px;
  isolation: isolate;
}

.terrain-atmosphere {
  background:
    radial-gradient(ellipse at 50% 33%, rgba(116, 246, 232, 0.16), transparent 19%),
    radial-gradient(ellipse at 68% 46%, rgba(101, 80, 223, 0.11), transparent 32%),
    conic-gradient(from 255deg at 50% 34%, transparent, rgba(63, 122, 215, 0.07), transparent 25%, rgba(121, 83, 221, 0.065), transparent 70%);
}

.terrain-vignette {
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.9), transparent 19% 78%, rgba(2, 5, 10, 0.88)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.69), transparent 23% 73%, rgba(2, 5, 10, 0.85));
}

.terrain-intro {
  position: absolute;
  z-index: 12;
  top: 14%;
  left: max(2rem, 6vw);
  width: min(760px, calc(100% - 4rem));
  transform-origin: left top;
  will-change: opacity, transform;
}

.terrain-intro h2 {
  margin: 1.15rem 0 0;
  font-size: clamp(3.3rem, 5.8vw, 6.4rem);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 1.01;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.76);
}

.terrain-intro h2 em {
  background: linear-gradient(94deg, #f5fbfa, #7deade 48%, #ae9aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-style: italic;
}

.terrain-intro > p {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  color: rgba(220, 240, 237, 0.54);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.terrain-intro > p::before {
  width: 2.7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  content: "";
}

.terrain-chapters {
  position: absolute;
  z-index: 16;
  bottom: 12%;
  left: max(2rem, 6vw);
  width: min(510px, calc(100% - 4rem));
  min-height: 230px;
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  perspective: 900px;
}

.terrain-story.has-started .terrain-chapters {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.terrain-chapter {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: 230px;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.2rem;
  border-top: 1px solid rgba(222, 248, 244, 0.23);
  border-bottom: 1px solid rgba(222, 248, 244, 0.1);
  padding: 1.35rem 1.35rem 1.25rem 0;
  background: linear-gradient(100deg, rgba(3, 10, 17, 0.78), rgba(4, 12, 20, 0.28) 72%, transparent);
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(150px, 0, 0) rotateY(-10deg);
  transform-origin: left center;
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.terrain-chapter.is-active {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotateY(0);
}

.terrain-chapter.is-past {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(-155px, -10px, 0) rotateY(9deg);
}

.terrain-chapter.is-future {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(155px, 10px, 0) rotateY(-10deg);
}

.chapter-number {
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.terrain-chapter small {
  color: rgba(111, 232, 222, 0.58);
  font-family: "Manrope", sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
}

.terrain-chapter h3 {
  margin: 0.9rem 0 0;
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.055em;
}

.terrain-chapter p {
  max-width: 44ch;
  margin: 0.8rem 0 0;
  color: rgba(220, 239, 236, 0.58);
  font-size: 0.73rem;
  font-weight: 300;
  line-height: 1.8;
}

.chapter-data {
  display: block;
  margin-top: 1.15rem;
  color: rgba(212, 238, 234, 0.35);
  font-family: "Manrope", sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.17em;
}

.terrain-phase-nav {
  position: absolute;
  z-index: 19;
  top: 50%;
  right: max(1.5rem, 3vw);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.terrain-phase-nav::before {
  position: absolute;
  z-index: -1;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  width: 1px;
  background: rgba(209, 239, 235, 0.13);
  content: "";
}

.terrain-phase-nav button {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(216, 243, 239, 0.13);
  border-radius: 50%;
  background: rgba(4, 11, 18, 0.58);
  color: rgba(220, 239, 236, 0.39);
  font-family: "Manrope", sans-serif;
  font-size: 0.52rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.terrain-phase-nav button:hover,
.terrain-phase-nav button.is-active {
  border-color: rgba(111, 239, 228, 0.62);
  background: rgba(91, 225, 214, 0.13);
  color: #ecfffc;
  box-shadow: 0 0 22px rgba(102, 231, 221, 0.16);
  transform: scale(1.09);
}

.terrain-progress {
  position: absolute;
  z-index: 18;
  right: max(7rem, 11vw);
  bottom: 3.55rem;
  display: grid;
  width: min(320px, 28vw);
  grid-template-columns: auto 1fr 2rem;
  gap: 0.8rem;
  align-items: center;
  color: rgba(216, 239, 235, 0.36);
  font-family: "Manrope", sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.16em;
}

.terrain-progress > i {
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(215, 243, 239, 0.13);
}

.terrain-progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(102, 231, 221, 0.65);
  transform: scaleX(0.008);
  transform-origin: left;
}

.terrain-progress strong {
  color: rgba(232, 249, 246, 0.64);
  font-weight: 500;
  text-align: right;
}

.terrain-drag-hint {
  position: absolute;
  z-index: 18;
  right: max(2rem, 6vw);
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(218, 240, 236, 0.36);
  font-family: "Manrope", sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  transition: opacity 240ms ease;
}

.terrain-drag-hint i {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(219, 246, 242, 0.18);
  border-radius: 50%;
}

.terrain-drag-hint i::before,
.terrain-drag-hint i::after {
  position: absolute;
  top: 50%;
  width: 0.42rem;
  height: 1px;
  background: rgba(109, 238, 227, 0.65);
  content: "";
}

.terrain-drag-hint i::before { left: 0.32rem; }
.terrain-drag-hint i::after { right: 0.32rem; }

.terrain-story.is-dragging .terrain-drag-hint {
  opacity: 0.12;
}

.terrain-scroll {
  grid-template-rows: repeat(4, 1fr);
}

@media (max-width: 720px) {
  .terrain-story {
    height: 320vh;
  }

  .terrain-intro {
    top: 14%;
    left: 1.15rem;
    width: calc(100% - 2.3rem);
  }

  .terrain-intro h2 {
    font-size: clamp(2.8rem, 12.5vw, 4.2rem);
  }

  .terrain-intro > p {
    max-width: 26rem;
    font-size: 0.57rem;
    line-height: 1.65;
  }

  .terrain-chapters {
    bottom: 12%;
    left: 1.15rem;
    width: calc(100% - 4.7rem);
    min-height: 220px;
  }

  .terrain-chapter {
    min-height: 220px;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.75rem;
    padding-right: 0.4rem;
  }

  .terrain-chapter h3 {
    font-size: clamp(1.55rem, 7.3vw, 2.2rem);
  }

  .terrain-phase-nav {
    right: 0.8rem;
  }

  .terrain-phase-nav button {
    width: 2rem;
    height: 2rem;
  }

  .terrain-progress {
    right: 4.6rem;
    bottom: 3.2rem;
    width: calc(100% - 5.8rem);
  }

  .terrain-progress-label,
  .terrain-drag-hint {
    display: none;
  }

  .hud-bottom {
    right: 0.8rem;
    left: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terrain-chapter,
  .terrain-chapters,
  .terrain-intro,
  .terrain-progress b {
    transition: none !important;
  }
}
