:root {
  /* Mintlify Dark Mode Color System */
  --pu: #18e299;
  --pu-dim: rgba(24, 226, 153, 0.12);
  --pu-border: rgba(24, 226, 153, 0.26);
  --brand-green-deep: #0fa76e;
  --brand-green-light: #d4fae8;
  --warm-amber: #c37d0d;
  --soft-blue: #3772cf;
  --error-red: #d45656;

  /* Surfaces & Backgrounds */
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --card: #141414;
  --card2: #1c1c1c;

  /* Typography Colors */
  --t1: #ededed;
  --t2: #a0a0a0;
  --t3: #666666;

  /* Geometry: STRICTLY 0px (No rounded corners) */
  --r: 0px;
  --rl: 0px;

  /* Layout */
  --shell: min(1360px, calc(100vw - 80px));
}

/* Global Reset - Strict Straight Geometry */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: 'Inter', 'Instrument Sans', 'Noto Sans SC', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

p {
  margin: 0;
  color: var(--t2);
}

h1, h2, h3, p {
  font-weight: 400;
}

h1, h2, h3 {
  margin: 0;
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--t1);
}

.shell {
  width: var(--shell);
  margin: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  color: var(--bg);
  background: var(--t1);
  padding: .5rem 1rem;
  font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.96);
  border-color: var(--pu-border);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: min(360px, 40vw);
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 758.5 / 38.2;
  background-color: #000000;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  color: var(--t2);
}

.main-nav > a {
  transition: color .2s;
}

.main-nav > a:hover,
.main-nav > a:focus {
  color: var(--pu);
}

.languages {
  display: flex;
  gap: 9px;
  margin-left: 8px;
  font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
}

.languages a {
  color: var(--t3);
}

.languages a.active {
  color: var(--pu);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--t1);
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin: 5px;
}

.section {
  padding: clamp(88px, 12vw, 180px) 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 190px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, rgba(24, 226, 153, 0.08) 0%, rgba(13, 13, 13, 0) 65%), var(--bg);
}

.hero .shell {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO BLUEPRINT - DYNAMIC GEOMETRIC CAD SYSTEM
   ========================================================================== */

.hero-blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  overflow: hidden;
}

/* 1. Grade Blueprint Dupla (100px major / 20px minor) */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(24, 226, 153, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 226, 153, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(24, 226, 153, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 226, 153, 0.025) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 80% at 55% 45%, rgba(0, 0, 0, 0.85) 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 55% 45%, rgba(0, 0, 0, 0.85) 20%, transparent 85%);
}

/* 2. Eixos de Coordenadas Globais */
.blueprint-axis {
  position: absolute;
  background-color: rgba(24, 226, 153, 0.18);
}

.axis-h-main {
  width: 100%;
  height: 1px;
  top: 48%;
  left: 0;
  border-top: 1px dashed rgba(24, 226, 153, 0.22);
  background: none;
}

.axis-h-sub {
  width: 100%;
  height: 1px;
  top: 72%;
  left: 0;
  opacity: 0.4;
}

.axis-v-main {
  width: 1px;
  height: 100%;
  left: clamp(48%, 56vw, 75%);
  top: 0;
  border-left: 1px dashed rgba(24, 226, 153, 0.22);
  background: none;
}

.axis-v-sub {
  width: 1px;
  height: 100%;
  left: clamp(15%, 22vw, 28%);
  top: 0;
  opacity: 0.35;
}

/* Cotas de Dimensão */
.blueprint-dim {
  position: absolute;
  font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(24, 226, 153, 0.55);
  text-transform: uppercase;
}

.dim-top {
  top: 140px;
  left: clamp(45%, 52vw, 68%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dim-top::before, .dim-top::after {
  content: "";
  display: inline-block;
  width: 35px;
  height: 1px;
  background: rgba(24, 226, 153, 0.35);
}

.dim-right {
  top: clamp(280px, 42vh, 460px);
  right: clamp(16px, 3vw, 48px);
  writing-mode: vertical-rl;
  letter-spacing: 0.16em;
  opacity: 0.65;
}

/* 3. O Container Principal de Desenho Técnico (Blueprint Box) */
.blueprint-box {
  position: absolute;
  top: clamp(140px, 20vh, 230px);
  right: clamp(20px, 6vw, 130px);
  width: clamp(320px, 44vw, 560px);
  height: clamp(240px, 32vw, 400px);
  background: rgba(13, 13, 13, 0.55);
  border: 1px dashed rgba(24, 226, 153, 0.3);
  border-radius: 0px !important;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(24, 226, 153, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cantos em cruz / marcas de registro técnico (0px radius) */
.corner-mark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--pu);
  border-style: solid;
  border-width: 0;
}
.cm-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.cm-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.cm-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.cm-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* Linhas de eixo do card */
.axis-line {
  position: absolute;
  background-color: rgba(24, 226, 153, 0.22);
}
.axis-line.horizontal {
  width: 116%;
  height: 1px;
  top: 50%;
  left: -8%;
}
.axis-line.vertical {
  width: 1px;
  height: 116%;
  left: 50%;
  top: -8%;
}

/* Scanner / laser de plotagem */
.blueprint-scanner {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 226, 153, 0.8) 30%, #18e299 50%, rgba(24, 226, 153, 0.8) 70%, transparent);
  box-shadow: 0 0 10px rgba(24, 226, 153, 0.7);
  animation: blueprintScan 6.5s ease-in-out infinite alternate;
}

@keyframes blueprintScan {
  0% { top: 4%; opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.85; }
  100% { top: 96%; opacity: 0; }
}

/* 4. Formas Geométricas em Transformação CSS (0px border-radius) */
.morph-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px solid var(--pu);
  box-shadow: 0 0 14px rgba(24, 226, 153, 0.35), inset 0 0 10px rgba(24, 226, 153, 0.12);
  border-radius: 0px !important;
  box-sizing: border-box;
  animation: morphFrameCycle 12s cubic-bezier(0.45, 0.05, 0.25, 0.95) infinite alternate;
}

@keyframes morphFrameCycle {
  0% {
    width: 32%;
    height: 32%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.4;
    border-style: solid;
  }
  25% {
    width: 68%;
    height: 48%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.75;
    border-style: solid;
  }
  50% {
    width: 52%;
    height: 64%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.55;
    border-style: dashed;
  }
  75% {
    width: 78%;
    height: 72%;
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0.8;
    border-style: solid;
  }
  100% {
    width: 44%;
    height: 44%;
    transform: translate(-50%, -50%) rotate(180deg);
    opacity: 0.5;
    border-style: solid;
  }
}

/* Losango / wireframe angulado a 45° */
.morph-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(24, 226, 153, 0.6);
  border-radius: 0px !important;
  box-sizing: border-box;
  box-shadow: 0 0 8px rgba(24, 226, 153, 0.25);
  animation: morphDiamondCycle 9s ease-in-out infinite alternate;
}

@keyframes morphDiamondCycle {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.65);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) rotate(135deg) scale(1.15);
    opacity: 0.75;
    border-color: var(--pu);
  }
  100% {
    transform: translate(-50%, -50%) rotate(225deg) scale(0.8);
    opacity: 0.4;
  }
}

/* Círculo de construção de curvas (raio técnico) */
.inner-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  border: 1px dashed rgba(24, 226, 153, 0.5);
  border-radius: 50%;
  box-sizing: border-box;
  animation: circlePulseCycle 7s ease-in-out infinite alternate;
}

@keyframes circlePulseCycle {
  0% {
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.4;
  }
}

/* Raio radial do compasso */
.compass-radial {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 1px;
  transform-origin: 0% 50%;
  background: linear-gradient(90deg, var(--pu), transparent);
  animation: rotateCompass 14s linear infinite;
  opacity: 0.55;
}

@keyframes rotateCompass {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 5. Desenho Vetorial Técnico SVG Animado */
.blueprint-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.svg-shape {
  fill: none;
  stroke: var(--pu);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.svg-poly-outer {
  stroke-dasharray: 4 6;
  stroke-opacity: 0.35;
}

.svg-poly-inner {
  stroke-opacity: 0.5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawSvgPoly 10s ease-in-out infinite;
}

@keyframes drawSvgPoly {
  0%, 10% { stroke-dashoffset: 600; opacity: 0; }
  35%, 65% { stroke-dashoffset: 0; opacity: 0.7; }
  90%, 100% { stroke-dashoffset: -600; opacity: 0; }
}

.svg-path-iso {
  stroke-opacity: 0.6;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawSvgIso 13s ease-in-out infinite;
}

@keyframes drawSvgIso {
  0%, 15% { stroke-dashoffset: 900; opacity: 0; }
  45%, 75% { stroke-dashoffset: 0; opacity: 0.8; }
  95%, 100% { stroke-dashoffset: -900; opacity: 0; }
}

.svg-circle-guide {
  stroke-opacity: 0.25;
  stroke-dasharray: 3 6;
}

.svg-circle-inner {
  stroke-opacity: 0.45;
}

.svg-cross {
  stroke-opacity: 0.7;
}

.svg-ray-45 {
  stroke-dasharray: 3 4;
  stroke-opacity: 0.35;
}

/* Metadados Técnicos do Blueprint */
.blueprint-meta {
  position: absolute;
  color: rgba(24, 226, 153, 0.45);
  font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-tl { top: 10px; left: 14px; }
.meta-tr { top: 10px; right: 14px; }
.meta-bl { bottom: 10px; left: 14px; }
.meta-br { bottom: 10px; right: 14px; }

/* 6. Módulo Satélite Secundário (Lado Esquerdo / Superior) */
.blueprint-satellite {
  position: absolute;
  top: 140px;
  left: clamp(16px, 4vw, 90px);
  width: 140px;
  height: 110px;
  border: 1px dashed rgba(24, 226, 153, 0.22);
  background: rgba(13, 13, 13, 0.35);
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
}

.blueprint-satellite .blueprint-meta {
  bottom: 6px;
  left: 8px;
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.sat-circle {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(24, 226, 153, 0.4);
  border-radius: 50%;
  animation: circlePulseCycle 6s ease-in-out infinite alternate;
}

.sat-cross-h {
  position: absolute;
  width: 115%;
  height: 1px;
  background: rgba(24, 226, 153, 0.2);
}

.sat-cross-v {
  position: absolute;
  width: 1px;
  height: 120%;
  background: rgba(24, 226, 153, 0.2);
}

.sat-pulse-box {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--pu);
  border-radius: 0px !important;
  animation: morphDiamondCycle 7s ease-in-out infinite alternate;
}

.eyebrow, .mono {
  font-family: 'Geist Mono', 'IBM Plex Mono', 'Noto Sans SC', monospace;
  letter-spacing: .08em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--t3);
}

.eyebrow {
  margin-bottom: clamp(35px, 5vw, 72px);
}

.eyebrow i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--pu);
  margin: 0 9px 1px 0;
  box-shadow: 0 0 8px var(--pu);
  animation: pulseBeacon 2.4s ease-in-out infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--pu); }
  50% { opacity: 0.35; transform: scale(0.75); box-shadow: 0 0 2px var(--pu); }
}

.hero h1 {
  font-size: clamp(54px, 8.7vw, 135px);
  max-width: 1050px;
  letter-spacing: -0.04em;
}

.hero h1.hero-offset {
  margin: clamp(38px, 5vw, 70px) 0 0 clamp(9%, 12vw, 210px);
  max-width: 1120px;
}

.hero-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 690px;
  margin: clamp(70px, 11vw, 150px) 0 0 auto;
  gap: 38px;
  font-size: 18px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(65px, 9vw, 125px);
  font: 10px 'Geist Mono', 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  color: var(--t3);
  transition: color .25s ease;
}

.scroll-cue span {
  position: relative;
  height: 42px;
  width: 1px;
  background: rgba(24, 226, 153, 0.2);
  overflow: hidden;
  display: block;
}

.scroll-cue span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--pu), transparent);
  animation: scrollLine 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

.scroll-cue:hover {
  color: var(--t1);
}

h2 {
  font-size: clamp(43px, 5.2vw, 77px);
  max-width: 850px;
  letter-spacing: -0.03em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: clamp(55px, 7vw, 100px);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 315px;
  flex-direction: column;
  border: 1px solid var(--pu-border);
  padding: 26px;
  background: var(--card);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), background .3s, border-color .3s, box-shadow .3s;
  grid-column: span 4;
}

.service-card:hover {
  background: var(--card2);
  border-color: var(--pu);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(24, 226, 153, 0.08);
}

.service-card::after {
  content: '';
  position: absolute;
  left: 26px;
  bottom: 24px;
  width: 0;
  height: 2px;
  background: var(--pu);
  box-shadow: 0 0 8px var(--pu);
  transition: width .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::after {
  width: 56px;
}

.service-card h3 {
  font-size: clamp(25px, 2.7vw, 38px);
  margin: 30px 0 20px;
  max-width: 560px;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), color .3s;
}

.service-card:hover h3 {
  transform: translateX(4px);
  color: #ffffff;
}

.service-card > span {
  transition: color .25s ease, text-shadow .25s ease;
}

.service-card:hover > span {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(24, 226, 153, 0.5);
}

.service-card.service-featured {
  grid-column: span 8;
  min-height: 420px;
  padding: clamp(28px, 4vw, 54px);
}

.service-card > span,
.service-card b {
  font: 11px 'Geist Mono', 'IBM Plex Mono', monospace;
  color: var(--pu);
  letter-spacing: .08em;
}

.service-card p {
  max-width: 470px;
  font-size: 15px;
}

.service-card b {
  margin-top: auto;
  padding-top: 28px;
  color: var(--t3);
  font-weight: 400;
}

.code-section {
  background: var(--bg2);
}

.code-module,
.special-module {
  border: 1px solid var(--pu-border);
  padding: clamp(28px, 5vw, 80px);
  background: linear-gradient(140deg, var(--card), var(--bg2));
  transition: border-color .35s ease, box-shadow .35s ease;
}

.code-module:hover,
.special-module:hover {
  border-color: rgba(24, 226, 153, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(24, 226, 153, 0.04);
}

.code-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 8vw;
}

.code-layout > div > p,
.process-heading > p,
.special-module > p,
.contact-grid > div > p {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

.sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.sequence li {
  font: 12px 'Geist Mono', 'IBM Plex Mono', monospace;
  color: var(--t2);
  padding: 8px 12px;
  border: 1px solid var(--pu-border);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.sequence li:hover {
  color: #ffffff;
  background: var(--pu-dim);
  border-color: var(--pu);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 226, 153, 0.16);
}

.sequence li::before {
  content: '■';
  font-size: 7px;
  color: var(--pu);
  padding-right: 7px;
  display: inline-block;
  transition: transform .25s ease;
}

.sequence li:hover::before {
  transform: scale(1.3);
}

.sequence li:not(:last-child):after {
  content: '→';
  padding-left: 12px;
  color: var(--pu);
}

.process-heading {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 7vw;
  margin-top: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 90px;
}

.step {
  border-top: 1px solid var(--pu-border);
  padding-top: 16px;
  min-height: 130px;
  transition: border-color .3s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step:hover {
  border-color: var(--pu);
  transform: translateY(-3px);
}

.step span {
  display: block;
  color: var(--pu);
  font: 11px 'Geist Mono', 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  transition: color .25s ease, text-shadow .25s ease;
}

.step:hover span {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(24, 226, 153, 0.6);
}

.step strong {
  display: block;
  margin-top: 29px;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 400;
  transition: color .25s ease;
}

.step:hover strong {
  color: #ffffff;
}

.trajectory {
  background: var(--bg2);
}

.history-list {
  margin-top: 70px;
  border-top: 1px solid var(--pu-border);
}

.history-item {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 8.33%;
  border-bottom: 1px solid var(--pu-border);
  padding: 46px 12px;
  transition: background .3s ease, border-bottom-color .3s ease, padding-left .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.history-item:hover {
  background: rgba(24, 226, 153, 0.025);
  border-bottom-color: var(--pu);
  padding-left: 24px;
}

.history-item h3 {
  font-size: clamp(25px, 3vw, 42px);
  margin-top: 14px;
  transition: color .25s ease;
}

.history-item:hover h3 {
  color: #ffffff;
}

.history-item > div > p {
  font-size: 16px;
}

.history-item a,
.text-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--pu);
  font: 12px 'Geist Mono', 'IBM Plex Mono', monospace;
  border-bottom: 1px solid var(--pu);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.history-item a:hover,
.text-link:hover {
  color: #ffffff;
  border-color: #ffffff;
  transform: translateX(4px);
}

.repertoire {
  overflow: hidden;
}

.word-field {
  min-height: 660px;
  position: relative;
  margin-top: 70px;
}

.word {
  position: absolute;
  display: block;
  letter-spacing: -.04em;
  font-size: clamp(30px, 5.6vw, 88px);
  line-height: 1;
  color: var(--t2);
  will-change: transform;
  transition: color .3s ease, text-shadow .3s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.word:hover {
  color: #ffffff !important;
  text-shadow: 0 0 24px rgba(24, 226, 153, 0.5);
  transform: scale(1.05) translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) !important;
}

.word-0 { left: 0; top: 5%; color: var(--t1); }
.word-1 { left: 39%; top: 0; font-size: clamp(27px, 4vw, 62px); }
.word-2 { right: 0; top: 18%; color: var(--t3); }
.word-3 { left: 13%; top: 31%; color: var(--pu); }
.word-4 { right: 7%; top: 43%; font-size: clamp(45px, 7.5vw, 115px); color: var(--t1); }
.word-0:nth-of-type(6) { left: 0; top: 57%; color: var(--t3); }
.word-1:nth-of-type(7) { left: 41%; top: 61%; color: var(--t1); }
.word-2:nth-of-type(8) { right: 1%; top: 73%; }
.word-3:nth-of-type(9) { left: 8%; top: 80%; color: var(--t2); }
.word-4:nth-of-type(10) { left: 48%; top: 89%; color: var(--t3); }
.word-0:nth-of-type(11) { right: 0; left: auto; top: 95%; font-size: clamp(25px, 3.5vw, 53px); }
.word-1:nth-of-type(12) { left: 25%; top: 106%; color: var(--pu); font-size: clamp(27px, 4vw, 62px); }

.special {
  padding-top: 80px;
}

.special-module h2 {
  margin-bottom: 60px;
}

.special-module > p {
  max-width: 620px;
}

.contact {
  padding-bottom: 85px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8.33%;
}

.contact-grid h2 {
  margin-bottom: 60px;
}

.contact-form {
  display: grid;
  gap: 25px;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--t3);
  font: 11px 'Geist Mono', 'IBM Plex Mono', 'Noto Sans SC', monospace;
  letter-spacing: .08em;
  transition: color .25s ease;
}

.contact-form label:focus-within {
  color: var(--pu);
}

.contact-form input,
.contact-form textarea {
  appearance: none;
  width: 100%;
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid var(--pu-border);
  outline: 0;
  background: transparent;
  color: var(--t1);
  font: 16px 'Inter', 'Instrument Sans', 'Noto Sans SC', sans-serif;
  line-height: 1.5;
  resize: vertical;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, padding-left .2s ease;
}

.contact-form textarea {
  padding: 13px;
  border: 1px solid var(--pu-border);
  min-height: 155px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pu);
  background: var(--pu-dim);
  box-shadow: 0 0 16px rgba(24, 226, 153, 0.12);
  padding-left: 16px;
}

.contact-form button {
  justify-self: start;
  border: 0;
  border-bottom: 1px solid var(--pu);
  padding: 0 0 4px;
  background: transparent;
  color: var(--pu);
  font: 12px 'Geist Mono', 'IBM Plex Mono', 'Noto Sans SC', monospace;
  letter-spacing: .08em;
  cursor: pointer;
  transition: padding-left .25s ease, color .25s ease, letter-spacing .25s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  padding-left: 8px;
  letter-spacing: .12em;
  color: #ffffff;
}

.form-feedback {
  min-height: 20px;
  font-size: 13px;
  color: var(--t2);
}

.form-feedback.is-success {
  color: var(--pu);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.closing-logo {
  margin: clamp(80px, 12vw, 160px) 0 0 auto;
  display: block;
  width: min(220px, 50vw);
  height: auto;
  transition: filter .35s ease, transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.closing-logo:hover {
  filter: drop-shadow(0 0 20px rgba(24, 226, 153, 0.4));
  transform: translateY(-3px);
}

.contact-legal {
  margin-top: 20px;
  text-align: right;
  color: var(--t3);
  font: 10px 'Geist Mono', 'IBM Plex Mono', monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.parallax {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
}

@media(max-width:800px) {
  :root {
    --shell: min(100vw - 40px, 1360px);
  }

  .header-inner {
    height: 66px;
  }

  .brand {
    width: 230px;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .main-nav {
    position: absolute;
    display: none;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 28px 20px 32px;
    background: var(--bg2);
    border-bottom: 1px solid var(--pu-border);
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .languages {
    margin: 8px 0 0;
  }

  .hero {
    padding-top: 145px;
    min-height: 840px;
  }

  .hero h1 {
    font-size: clamp(48px, 13.4vw, 80px);
  }

  .hero h1.hero-offset {
    margin-left: 6%;
    margin-top: 34px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 75px;
    font-size: 16px;
  }

  .scroll-cue {
    margin-top: 70px;
  }

  .service-grid {
    display: block;
    margin-top: 48px;
  }

  .service-card,
  .service-card.service-featured {
    min-height: 270px;
    margin-bottom: 12px;
    padding: 25px;
    grid-column: auto;
  }

  .service-card::after {
    left: 25px;
  }

  .code-layout,
  .process-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .code-layout > div > p,
  .process-heading > p,
  .special-module > p,
  .contact-grid > div > p {
    font-size: 16px;
  }

  .sequence {
    margin-top: 36px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
  }

  .step {
    min-height: 96px;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .word-field {
    min-height: 490px;
    margin-top: 35px;
  }

  .word {
    font-size: clamp(27px, 9.5vw, 55px);
  }

  .word-1 { left: 25%; top: 10%; }
  .word-2 { top: 27%; }
  .word-3 { left: 3%; top: 40%; }
  .word-4 { right: 0; top: 50%; }
  .word-0:nth-of-type(6) { top: 62%; }
  .word-1:nth-of-type(7) { left: 28%; top: 68%; }
  .word-2:nth-of-type(8) { top: 77%; }
  .word-3:nth-of-type(9) { left: 2%; top: 89%; }
  .word-4:nth-of-type(10),
  .word-0:nth-of-type(11),
  .word-1:nth-of-type(12) { display: none; }

  .special {
    padding-top: 20px;
  }

  .contact-form {
    gap: 21px;
  }

  .closing-logo {
    margin: 60px 0 0 auto;
    display: block;
  }

  .contact-legal {
    text-align: right;
    margin-top: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .parallax {
    transform: none !important;
  }

  .site-header,
  .service-card,
  .service-card h3,
  .service-card::after,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    transition: none;
  }
}