@import url("https://fonts.googleapis.com/css2?family=Anton+SC&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --font-sans: "Space Mono", monospace;
  --font-serif: "Space Mono", monospace;
  --font-mono: "Space Mono", monospace;
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.28);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px clamp(16px, 2.4vw, 32px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.page-ready .navbar {
  opacity: 1;
  transform: translateY(0);
}

.nav-left,
.nav-right,
.logo-pill,
.menu-pill,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-left,
.nav-right {
  gap: 8px;
  pointer-events: auto;
}

.logo-pill,
.menu-pill,
.quote-button,
.language-switch {
  height: 48px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, width 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-pill {
  gap: 10px;
  padding: 0 18px;
}

.logo-pill:hover,
.menu-pill:hover {
  background: var(--glass-strong);
  transform: scale(1.02);
}

.logo-pill img {
  width: 18px;
  height: 24px;
  object-fit: contain;
}

.logo-pill span {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.menu-pill {
  width: 48px;
  overflow: hidden;
}

.menu-pill.open {
  width: 480px;
}

.menu-button {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.menu-pill.open .menu-button {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  margin-left: 6px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-button span {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: top 220ms ease, transform 220ms ease, opacity 160ms ease;
}

.menu-button span:nth-child(1) {
  top: 17px;
}

.menu-button span:nth-child(2) {
  top: 23px;
}

.menu-button span:nth-child(3) {
  top: 29px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px 0 12px;
  opacity: 0;
  transform: translateX(15px);
  pointer-events: none;
  transition: opacity 220ms ease 110ms, transform 220ms ease 110ms;
}

.menu-pill.open .nav-links {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-links a,
.quote-button,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a:hover,
.footer-bottom a:hover {
  color: var(--text);
}

.language-switch {
  gap: 4px;
  padding: 4px;
}

.language-button {
  min-width: 38px;
  height: 40px;
  color: rgba(255, 255, 255, 0.66);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.language-button.active {
  color: #000;
  background: #fff;
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 0 22px;
  color: #000;
  background: #fff;
  border-radius: 999px;
}

.quote-button:hover {
  background: #e2e2e6;
  transform: scale(1.03);
}

.section-video {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 55%, transparent 0, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.dot-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.05;
  pointer-events: none;
}

.top-fade {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, #010103, transparent);
  pointer-events: none;
}

.hero {
  display: flex;
  min-height: 92vh;
  min-height: 92dvh;
}

.watermark {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  z-index: -1;
  width: 120vw;
  transform: translate(-50%, -50%);
  font-family: "Anton SC", Impact, sans-serif;
  font-size: clamp(120px, 30vw, 521px);
  line-height: 0.8;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  background: radial-gradient(circle, rgba(142, 127, 148, 0) 0%, #8e7f94 70%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.1;
  user-select: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  flex-direction: column;
  padding: 104px clamp(16px, 2.6vw, 36px) 42px;
  opacity: 0;
  transition: opacity 1000ms ease;
}

.page-ready .hero-inner {
  opacity: 1;
}

.hero-wordmark {
  width: min(370px, 72vw);
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
}

.hero-spacer {
  flex: 1;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hero-copy {
  display: flex;
  max-width: 660px;
  flex-direction: column;
  gap: 16px;
}

.hero-copy-right {
  align-items: flex-start;
}

.section-kicker {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  color: var(--text);
  font-size: clamp(40px, 10vw, 100px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h2 {
  text-align: left;
}

.hero-description {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.75;
}

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

.primary-link,
.ghost-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.primary-link {
  color: #000;
  background: #fff;
}

.ghost-link {
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-2px);
}

.terminal-panel {
  width: min(380px, 100%);
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  font-size: 12px;
}

.terminal-panel span::before {
  content: ">";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.cinematic {
  display: grid;
  place-items: center;
  perspective: 400px;
  padding: 96px 24px;
}

.cinematic-text {
  max-width: 980px;
  transform: rotateX(20deg) translateZ(15px);
  text-align: center;
}

.cinematic-text p {
  color: var(--text);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  user-select: none;
}

.service-matrix {
  position: relative;
  padding: 124px clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 127, 148, 0.14), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    #000;
}

.service-matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.035;
  pointer-events: none;
}

.service-matrix-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.service-matrix-head {
  max-width: 820px;
  margin-bottom: 58px;
}

.service-matrix-head h2 {
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(32px, 6.5vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.service-matrix-head p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.75;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 58px minmax(220px, 0.75fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: start;
  min-height: 150px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-number {
  color: rgba(255, 255, 255, 0.34);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.service-row h3 {
  max-width: 360px;
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.service-row p {
  max-width: 360px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  line-height: 1.7;
}

.service-row ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
}

.service-row li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.service-row li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.35);
}

.metrics {
  display: grid;
  place-items: center;
  padding: 128px 24px;
}

.metrics-inner {
  width: min(100%, var(--max));
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(34px, 5vw, 72px);
  margin-top: 80px;
}

.metric {
  display: grid;
  gap: 18px;
}

.metric strong {
  color: var(--text);
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric span {
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(13px, 1.4vw, 15px);
}

.technology {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(88px, 12vh, 136px) clamp(24px, 5vw, 64px) 64px;
}

.technology-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.technology-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.technology h2 {
  color: var(--text);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.technology-top p {
  max-width: 380px;
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.75;
  text-align: right;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: auto;
}

.capability-grid article {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-grid h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
}

.capability-grid p {
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(12px, 1.25vw, 14px);
  line-height: 1.7;
}

.architecture {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 128px 24px;
  background: #000;
  text-align: center;
}

.architecture-inner {
  width: min(100%, 760px);
}

.architecture h2 {
  margin-top: 28px;
  color: var(--text);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.architecture-copy {
  max-width: 620px;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

.layer-stack {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 72px auto 0;
}

.layer-stack article {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
}

.layer-stack span {
  color: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.layer-stack strong {
  color: var(--text);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 400;
}

.footer {
  min-height: 420px;
  display: flex;
  background: #000;
  overflow: hidden;
}

.footer-media,
.footer-content {
  flex: 1 1 50%;
}

.footer-media {
  min-height: 420px;
}

.footer-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  padding: clamp(40px, 5vw, 64px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.footer-brand img {
  width: 18px;
  height: 24px;
  object-fit: contain;
  opacity: 0.72;
}

.footer-content p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.footer-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-links a:hover {
  color: #000;
  background: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.reveal,
.fade-up {
  transition: opacity 900ms cubic-bezier(0.215, 0.61, 0.355, 1), transform 900ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.js-enabled .reveal,
.js-enabled .fade-up {
  opacity: 0;
  transform: translateY(28px);
}

.js-enabled .reveal.visible,
.js-enabled .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero-copy-right {
    align-items: flex-end;
    text-align: right;
  }

  .hero h2 {
    text-align: right;
  }
}

@media (max-width: 920px) {
  .logo-pill span {
    display: none;
  }

  .logo-pill {
    width: 48px;
    justify-content: center;
    padding: 0;
  }

  .menu-pill.open {
    width: min(420px, calc(100vw - 180px));
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row {
    grid-template-columns: 48px 1fr;
  }

  .service-row ul {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .navbar {
    height: 64px;
    padding: 14px 16px;
  }

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

  .nav-right {
    gap: 6px;
  }

  .logo-pill,
  .menu-pill,
  .quote-button,
  .language-switch {
    height: 38px;
    border-radius: 10px;
  }

  .logo-pill {
    flex: 0 0 38px;
    width: 38px;
  }

  .logo-pill img {
    width: 15px;
    height: 20px;
  }

  .menu-pill {
    width: 38px;
  }

  .menu-pill.open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    width: auto;
    height: auto;
    min-height: 226px;
    align-items: flex-start;
    padding: 8px;
    background: rgba(0, 0, 0, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .menu-button {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .menu-pill.open .menu-button {
    position: absolute;
    right: 8px;
    top: 8px;
    margin: 0;
  }

  .menu-button span {
    left: 11.5px;
    width: 15px;
    height: 1.2px;
  }

  .menu-button span:nth-child(1) {
    top: 14px;
  }

  .menu-button span:nth-child(2) {
    top: 19px;
  }

  .menu-button span:nth-child(3) {
    top: 24px;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1),
  .menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 19px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    gap: 12px;
    padding: 44px 12px 12px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .language-switch {
    padding: 3px;
  }

  .language-button {
    min-width: 30px;
    height: 32px;
    border-radius: 8px;
    font-size: 11px;
  }

  .quote-button {
    min-width: auto;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero-inner {
    padding: 82px 16px 24px;
  }

  .hero-wordmark {
    width: min(270px, 78vw);
  }

  .hero-copy,
  .hero-description {
    max-width: none;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(38px, 15vw, 62px);
  }

  .hero-copy {
    gap: 11px;
  }

  .hero-copy-right h2 {
    display: none;
  }

  .section-kicker {
    font-size: 11px;
  }

  .hero-description {
    font-size: 12px;
    line-height: 1.62;
  }

  .primary-link,
  .ghost-link {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .terminal-panel {
    margin-top: 0;
    padding: 12px;
    gap: 7px;
    font-size: 11px;
  }

  .cinematic {
    padding: 80px 18px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 58px;
  }

  .service-matrix {
    padding: 92px 18px;
  }

  .service-matrix-head {
    margin-bottom: 42px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .service-row ul {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .technology {
    padding: 90px 24px 50px;
  }

  .technology-top {
    flex-direction: column;
  }

  .technology-top p {
    max-width: none;
    text-align: left;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 70px;
  }

  .architecture,
  .metrics {
    padding: 96px 18px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-media {
    min-height: 300px;
  }

  .footer-content {
    padding: 40px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .quote-button {
    display: none;
  }

  .menu-pill.open {
    min-height: 220px;
  }

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

  .primary-link,
  .ghost-link {
    width: 100%;
  }

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

  .layer-stack article {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
