@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink-0: #04070b;
  --ink-1: #070c12;
  --ink-2: #0c141d;
  --ink-3: #111d28;
  --graphite: #15202b;
  --silver: #dce7ee;
  --silver-soft: #9daab4;
  --silver-dim: #73818c;
  --cyan: #73f4ef;
  --cyan-deep: #1b9fb3;
  --ion: #7d79ff;
  --line: rgba(172, 211, 225, 0.14);
  --line-strong: rgba(172, 221, 232, 0.28);
  --surface: rgba(12, 20, 29, 0.82);
  --surface-soft: rgba(12, 20, 29, 0.5);
  --shell: 1360px;
  --gutter: clamp(24px, 3vw, 48px);
  --header-height: 80px;
  --section-space: clamp(112px, 11vw, 168px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-base: 0;
  --z-atmosphere: 1;
  --z-content: 10;
  --z-header: 80;
  --z-menu: 120;
  --z-loader: 200;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink-0);
}

body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 53% 7%, rgba(32, 107, 125, 0.11), transparent 35%),
    linear-gradient(180deg, var(--ink-0), var(--ink-1) 18%, var(--ink-0) 100%);
  color: var(--silver);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(115, 244, 239, 0.24);
  color: #f7feff;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input,
textarea {
  touch-action: manipulation;
}

button {
  border: 0;
}

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

ul,
ol,
dl,
dd,
p,
h1,
h2,
h3 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: var(--z-content);
  padding-block: var(--section-space);
}

.technical-label {
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--silver);
  color: var(--ink-0);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* Loader */
.loader {
  position: fixed;
  z-index: var(--z-loader);
  inset: 0;
  display: grid;
  place-content: center;
  gap: 26px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--ink-0);
  background-size: 88px 88px;
  opacity: 1;
  transition: visibility 0s linear 500ms;
}

.loader.is-complete {
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  width: 76px;
  margin-inline: auto;
}

.loader__mark svg {
  overflow: visible;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  filter: drop-shadow(0 0 12px rgba(115, 244, 239, 0.25));
}

.loader__copy {
  display: flex;
  min-width: min(310px, 76vw);
  align-items: center;
  justify-content: space-between;
  color: var(--silver-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader__copy span {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.loader__track {
  width: min(310px, 76vw);
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.loader__track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--ion));
  transform: scaleX(0);
  transform-origin: left;
}

/* Ambient field */
.page-atmosphere {
  position: fixed;
  z-index: var(--z-atmosphere);
  inset: 0;
  overflow: clip;
  pointer-events: none;
}

.page-atmosphere__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(142, 187, 202, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 187, 202, 0.034) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 84%);
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.page-atmosphere__light {
  position: absolute;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.16;
  background: radial-gradient(circle, rgba(47, 190, 208, 0.28), transparent 66%);
  transition: opacity 900ms var(--ease);
}

.page-atmosphere__light--a {
  top: -42vw;
  left: 18vw;
}

.page-atmosphere__light--b {
  right: -48vw;
  bottom: -50vw;
  background: radial-gradient(circle, rgba(101, 91, 214, 0.2), transparent 66%);
}

body[data-page-state="solutions"] .page-atmosphere__light--a { opacity: 0.23; }
body[data-page-state="work"] .page-atmosphere__light--b { opacity: 0.22; }
body[data-page-state="process"] .page-atmosphere__light--a,
body[data-page-state="contact"] .page-atmosphere__light--b { opacity: 0.2; }

/* System spine */
.system-spine {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 13px;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: var(--silver-dim);
  pointer-events: none;
  transform: translateY(-50%);
}

.system-spine__track {
  position: relative;
  width: 1px;
  height: 150px;
  overflow: hidden;
  background: var(--line);
}

.system-spine__track i {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--cyan), var(--ion));
  transform: scaleY(0);
  transform-origin: top;
}

.system-spine em,
.system-spine b {
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.system-spine em {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

/* Header */
.site-header {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(4, 7, 11, 0.92);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-self: start;
  gap: 16px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

.brand-mark::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 1px;
  background: var(--cyan);
  content: "";
}

.brand-mark > span {
  font-family: "Cormorant", Georgia, serif;
  font-size: 24px;
  transform: rotate(-45deg);
}

.brand-type {
  display: grid;
  gap: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-type strong {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand-type > span {
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 2.4vw, 42px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--silver-soft);
  font-size: 12px;
  font-weight: 600;
  transition: color 220ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--ion));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--silver);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: 20px;
  padding-inline: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 700;
}

.header-action::before,
.button--primary::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26) 49%, transparent 72%);
  content: "";
  transform: translateX(-120%);
  transition: transform 760ms var(--ease);
}

.header-action:hover::before,
.button--primary:hover::before {
  transform: translateX(120%);
}

.header-action svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-strong);
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--silver);
  transition: transform 280ms var(--ease), top 280ms var(--ease);
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  z-index: var(--z-menu);
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(115, 244, 239, 0.055) 1px, transparent 1px),
    var(--ink-0);
  background-size: 80px 100%;
  transform: translateY(-100%);
}

.mobile-menu__signal {
  position: absolute;
  top: 0;
  right: 16%;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: var(--line);
}

.mobile-menu__signal span {
  position: absolute;
  top: 0;
  width: 1px;
  height: 24%;
  background: linear-gradient(transparent, var(--cyan), transparent);
}

.mobile-menu__signal i {
  position: absolute;
  top: 42%;
  left: -3px;
  width: 7px;
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.mobile-menu__inner {
  position: relative;
  display: grid;
  width: min(100% - 48px, 1120px);
  height: 100%;
  margin-inline: auto;
  padding-block: max(116px, env(safe-area-inset-top)) max(34px, env(safe-area-inset-bottom));
  grid-template-rows: auto 1fr auto;
  opacity: 0;
}

.mobile-menu nav {
  align-self: center;
}

.mobile-menu nav a {
  display: grid;
  min-height: 68px;
  max-width: 720px;
  grid-template-columns: 52px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mobile-menu nav a span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.mobile-menu__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: var(--silver-soft);
  font-size: 12px;
}

.mobile-menu__footer a {
  min-height: 44px;
  color: var(--cyan);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-block: calc(var(--header-height) + 52px) 62px;
  overflow: clip;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 14% 4% 8%;
  border-top: 1px solid rgba(172, 211, 225, 0.07);
  border-bottom: 1px solid rgba(172, 211, 225, 0.05);
  content: "";
}

.hero-grid {
  position: relative;
  height: min(690px, calc(100svh - 194px));
  min-height: min(560px, calc(100svh - 194px));
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(31vw, 430px);
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.hero-status {
  display: grid;
  margin-bottom: clamp(30px, 4vh, 52px);
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--silver-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-status > span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(115, 244, 239, 0.7);
}

.hero-status em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.hero-kicker {
  margin-bottom: 16px;
  color: var(--silver-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  width: 100%;
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.title-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.title-line > span {
  display: block;
}

.title-line--serif {
  color: #eef8fb;
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.title-line--indent {
  padding-left: 0.7ch;
}

.hero-bottom {
  display: grid;
  margin-top: clamp(28px, 4.6vh, 54px);
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.hero-bottom > p {
  max-width: 43ch;
  color: var(--silver-soft);
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.button--primary {
  min-width: 188px;
  background: linear-gradient(105deg, #bdfcff 0%, #73f4ef 48%, #8887ff 120%);
  color: #061017;
}

.button--primary::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--silver);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.button--primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--silver-soft);
  font-size: 11px;
  font-weight: 700;
}

.text-link i {
  display: block;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.text-link i::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  content: "";
  transform: translateX(-100%);
  transition: transform 350ms var(--ease);
}

.text-link:hover i::after { transform: translateX(0); }

.hero-capabilities {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 13px;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-capabilities li {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.hero-capabilities li:not(:last-child)::after {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll span {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll span::after {
  position: absolute;
  width: 14px;
  height: 100%;
  background: var(--cyan);
  content: "";
  animation: signalLine 2.2s var(--ease) infinite;
}

@keyframes signalLine {
  0% { transform: translateX(-16px); }
  60%, 100% { transform: translateX(42px); }
}

/* Living System */
.living-system {
  --light-x: 50%;
  --light-y: 50%;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 54%;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  contain: layout paint;
}

.living-system__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(172, 211, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172, 211, 225, 0.045) 1px, transparent 1px),
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(70, 223, 229, 0.12), transparent 34%),
    rgba(7, 14, 21, 0.5);
  background-size: 88px 88px, 88px 88px, auto, auto;
}

.living-system__frame::before,
.living-system__frame::after {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-color: var(--cyan);
  content: "";
  pointer-events: none;
}

.living-system__frame::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.living-system__frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.system-aura {
  position: absolute;
  z-index: 0;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 244, 239, 0.2), rgba(54, 123, 151, 0.06) 40%, transparent 70%);
  opacity: 0.9;
  pointer-events: none;
  transform: translate3d(calc(var(--aura-x, 0) * 1px), calc(var(--aura-y, 0) * 1px), 0);
}

.system-svg {
  position: absolute;
  z-index: 1;
  inset: 5.5%;
  width: 89%;
  height: 89%;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(72, 203, 215, 0.09));
}

.system-guides,
.system-depth,
.system-orbit,
.constellation-lines,
.architecture-shell,
.core-module,
.logic-stack,
.system-particles {
  transform-box: fill-box;
  transform-origin: center;
}

.system-guides {
  fill: none;
  stroke: rgba(172, 221, 232, 0.09);
  stroke-width: 1;
}

.system-depth {
  fill: none;
  stroke: rgba(125, 121, 255, 0.16);
  stroke-width: 1;
}

.system-orbit {
  fill: none;
  stroke: rgba(115, 244, 239, 0.26);
  stroke-width: 1;
}

.system-orbit circle {
  fill: var(--cyan);
  stroke: none;
  filter: drop-shadow(0 0 7px rgba(115, 244, 239, 0.9));
}

.system-orbit--inner {
  stroke: rgba(125, 121, 255, 0.3);
}

.constellation-lines {
  fill: none;
  stroke: rgba(115, 244, 239, 0.14);
  stroke-width: 1;
}

.constellation-lines .data-pulse {
  stroke: url(#system-line);
  stroke-width: 2;
  stroke-dasharray: 70 620;
}

.shell-halo,
.shell-facet,
.shell-facet--inner {
  stroke: rgba(146, 230, 238, 0.38);
  stroke-width: 1;
}

.shell-halo { fill: rgba(73, 171, 183, 0.045); }
.shell-facet { fill: url(#system-facet); }
.shell-facet--inner { fill: rgba(44, 126, 145, 0.08); }

.shell-axis {
  fill: none;
  stroke: rgba(195, 246, 249, 0.16);
  stroke-width: 1;
}

.logic-stack rect {
  fill: rgba(140, 240, 244, 0.035);
  stroke: rgba(178, 245, 248, 0.24);
  stroke-width: 1;
}

.core-frame {
  fill: rgba(4, 11, 17, 0.96);
  stroke: rgba(169, 250, 253, 0.72);
  stroke-width: 1.4;
}

.core-processor {
  fill: url(#system-core);
  stroke: #d8fdff;
  stroke-width: 1;
}

.core-glyph {
  fill: rgba(115, 244, 239, 0.13);
  stroke: #d5fcff;
  stroke-width: 1.3;
}

.core-connectors {
  fill: none;
  stroke: rgba(115, 244, 239, 0.55);
  stroke-width: 1;
}

.system-particles circle {
  fill: var(--cyan);
  opacity: 0.62;
  filter: drop-shadow(0 0 5px rgba(115, 244, 239, 0.8));
}

.living-system[data-mode="about"] .system-guides { stroke: rgba(172, 221, 232, 0.15); }
.living-system[data-mode="solutions"] .constellation-lines { stroke: rgba(115, 244, 239, 0.24); }
.living-system[data-mode="work"] .system-orbit--inner { stroke: rgba(125, 121, 255, 0.55); }
.living-system[data-mode="process"] .core-connectors { stroke: rgba(215, 251, 255, 0.82); }
.living-system[data-mode="contact"] .system-depth { stroke: rgba(115, 244, 239, 0.26); }

.system-coordinate {
  position: absolute;
  z-index: 6;
  display: flex;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.system-coordinate span { color: var(--silver-soft); }
.system-coordinate em { font-style: normal; }
.system-coordinate--top { top: 17px; right: 17px; left: 17px; justify-content: space-between; }
.system-coordinate--side { top: 50%; right: 14px; gap: 18px; writing-mode: vertical-rl; transform: translateY(-50%); }

.system-module {
  position: absolute;
  z-index: 8;
  display: grid;
  min-width: 62px;
  min-height: 44px;
  padding: 7px 10px;
  cursor: pointer;
  border-left: 1px solid var(--line-strong);
  background: rgba(4, 10, 15, 0.72);
  text-align: left;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.system-module::after {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.system-module span {
  color: var(--silver-dim);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.system-module strong {
  color: var(--silver-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.system-module:hover,
.system-module:focus-visible,
.system-module.is-active {
  border-color: var(--cyan);
  background: rgba(9, 27, 34, 0.9);
}

.system-module.is-active strong { color: var(--cyan); }
.system-module--ai { top: 8%; left: 50%; transform: translateX(-50%); }
.system-module--automation { bottom: 9%; left: 50%; transform: translateX(-50%); }
.system-module--apps { top: 27%; left: 5%; }
.system-module--erp { bottom: 27%; left: 5%; }
.system-module--crm { top: 27%; right: 5%; }
.system-module--finance { right: 5%; bottom: 27%; }
.system-module--apps::after,
.system-module--erp::after { right: -24px; }
.system-module--crm::after,
.system-module--finance::after { left: -24px; }
.system-module--ai::after,
.system-module--automation::after { display: none; }

.system-readout {
  position: absolute;
  z-index: 7;
  right: 17px;
  bottom: 16px;
  left: 17px;
  display: grid;
  min-height: 44px;
  padding-top: 11px;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.system-readout__pulse {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.system-readout div { display: grid; line-height: 1.25; }
.system-readout small,
.system-readout em {
  color: var(--silver-dim);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.system-readout strong { color: var(--silver); font-size: 10px; font-weight: 600; }
.system-readout em { color: var(--cyan); }

.hero-telemetry {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 0;
  display: grid;
  width: min(17vw, 230px);
  min-height: 340px;
  padding-left: 20px;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--line);
  transform: translateY(-50%);
}

.hero-telemetry::before {
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--cyan), transparent);
  content: "";
}

.hero-telemetry__head {
  display: flex;
  justify-content: space-between;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-telemetry__head em { font-style: normal; }
.hero-telemetry__body { align-self: center; }
.hero-telemetry__body small {
  display: block;
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-telemetry__body strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.hero-telemetry__body p {
  color: var(--silver-soft);
  font-size: 12px;
  line-height: 1.7;
}
.hero-telemetry__body code {
  display: block;
  margin-top: 16px;
  color: var(--ion);
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.hero-telemetry ul { display: grid; gap: 8px; }
.hero-telemetry li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-telemetry li span {
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
}

/* Shared editorial headings */
.section-heading {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: clamp(72px, 8vw, 126px);
}

.section-heading .section-index { grid-column: 1 / 3; }
.section-heading > div:nth-child(2) { grid-column: 3 / 9; }
.section-heading .section-intro { grid-column: 9 / 13; align-self: end; }

.section-index {
  display: flex;
  gap: 14px;
  color: var(--silver-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-index span {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.section-heading h2,
.philosophy-statement h2,
.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro,
.philosophy-copy,
.contact-intro {
  max-width: 52ch;
  color: var(--silver-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* Philosophy */
.philosophy {
  background:
    linear-gradient(90deg, transparent 0 16.6%, rgba(172, 211, 225, 0.05) 16.6% calc(16.6% + 1px), transparent calc(16.6% + 1px)),
    linear-gradient(180deg, rgba(13, 26, 36, 0.42), transparent 72%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.philosophy-grid > .section-index { grid-column: 1 / 3; }
.philosophy-statement { grid-column: 3 / 11; }
.philosophy-statement h2 { max-width: 12.5ch; }
.philosophy-statement h2 em {
  color: #eef8fb;
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.08em;
  font-weight: 400;
}
.philosophy-copy {
  display: grid;
  margin-top: 36px;
  grid-column: 8 / 13;
  gap: 24px;
}

.principles {
  display: grid;
  margin-top: clamp(62px, 8vw, 108px);
  grid-column: 3 / 13;
  border-top: 1px solid var(--line);
}

.principles article {
  position: relative;
  display: grid;
  min-height: 138px;
  grid-template-columns: 72px minmax(0, 1fr) 36%;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.principles article > span,
.process-line > li > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.principles h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; }
.principles p { max-width: 52ch; color: var(--silver-soft); font-size: 13px; }
.principles i {
  justify-self: end;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}
.principles i::after {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
  transform: translateX(-100%);
  transition: transform 700ms var(--ease);
}
.principles article:hover i::after { transform: translateX(300%); }

/* Solutions atlas */
.solutions {
  background: linear-gradient(180deg, transparent, rgba(9, 19, 28, 0.62) 34%, rgba(9, 19, 28, 0.28) 74%, transparent);
}

.atlas {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(440px, 1.18fr);
  align-items: start;
  gap: clamp(70px, 9vw, 148px);
}

.atlas-visual {
  position: sticky;
  top: 116px;
  display: grid;
  height: min(620px, calc(100svh - 152px));
  min-height: 530px;
  padding: 20px;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(172, 211, 225, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172, 211, 225, 0.04) 1px, transparent 1px),
    rgba(5, 11, 17, 0.72);
  background-size: 70px 70px;
}

.atlas-visual::after {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 48px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
  content: "";
}

.atlas-visual__top,
.atlas-visual__bottom {
  position: relative;
  z-index: 3;
}

.atlas-visual__top {
  display: flex;
  justify-content: space-between;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.atlas-visual__top em { color: var(--cyan); font-style: normal; }

.atlas-diagram {
  position: relative;
  align-self: center;
  width: min(100%, 490px);
  aspect-ratio: 1;
  justify-self: center;
}

.atlas-diagram svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(115, 244, 239, 0.15);
  stroke-width: 1;
  transform: rotate(-7deg);
}

.atlas-diagram .atlas-signal {
  stroke: url(#architecture-signal);
  stroke-dasharray: 60 500;
  stroke-width: 2;
}

.atlas-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(115, 244, 239, 0.55);
  background: radial-gradient(circle, rgba(115, 244, 239, 0.16), rgba(5, 12, 18, 0.96) 70%);
  text-align: center;
  transform: translate(-50%, -50%) rotate(45deg);
}

.atlas-core > * { transform: rotate(-45deg); }
.atlas-core span { color: var(--silver); font-size: 17px; font-weight: 700; letter-spacing: 0.12em; }
.atlas-core small { color: var(--cyan); font-size: 6px; font-weight: 800; letter-spacing: 0.18em; }

.atlas-module {
  position: absolute;
  color: var(--silver-soft);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.atlas-module::before {
  display: inline-block;
  width: 5px;
  aspect-ratio: 1;
  margin-right: 7px;
  border: 1px solid var(--cyan);
  content: "";
  transform: rotate(45deg);
}
.atlas-module--a { top: 2%; left: 42%; }
.atlas-module--b { top: 24%; right: 2%; }
.atlas-module--c { right: 0; bottom: 23%; }
.atlas-module--d { bottom: 2%; left: 43%; }
.atlas-module--e { bottom: 23%; left: 1%; }
.atlas-module--f { top: 24%; left: 2%; }

.atlas-visual__bottom {
  display: grid;
  padding-top: 15px;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
}
.atlas-visual__bottom small {
  grid-column: 1 / -1;
  color: var(--silver-dim);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.atlas-visual__bottom strong { margin-top: 3px; font-size: 13px; font-weight: 600; }
.atlas-visual__bottom p { align-self: end; color: var(--cyan); font-size: 7px; font-weight: 800; letter-spacing: 0.15em; }

.atlas-list {
  display: grid;
}

.solution-entry {
  border-top: 1px solid var(--line);
  transition: border-color 300ms ease;
}
.solution-entry:last-child { border-bottom: 1px solid var(--line); }
.solution-entry.is-active { border-color: var(--line-strong); }

.solution-trigger {
  display: grid;
  width: 100%;
  min-height: 126px;
  padding: 24px 0;
  grid-template-columns: 46px 1fr 44px;
  align-items: center;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.solution-number {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.solution-name {
  display: grid;
  gap: 9px;
}
.solution-name small {
  color: var(--silver-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.solution-name strong {
  max-width: 25ch;
  font-size: clamp(18px, 1.9vw, 27px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  transition: color 260ms ease;
}
.solution-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--silver-dim);
  font-size: 19px;
  transition: color 260ms ease, transform 400ms var(--ease);
}
.solution-entry.is-active .solution-name strong,
.solution-entry.is-active .solution-arrow { color: var(--silver); }
.solution-entry.is-active .solution-arrow { transform: rotate(90deg); }

.solution-body {
  display: grid;
  max-height: 0;
  padding-left: 46px;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 600ms var(--ease), opacity 360ms ease, padding 600ms var(--ease);
}
.solution-entry.is-active .solution-body {
  max-height: 270px;
  padding-bottom: 34px;
  opacity: 1;
}
.solution-body p {
  max-width: 48ch;
  color: var(--silver-soft);
  font-size: 13px;
  line-height: 1.75;
}
.solution-body ul {
  display: grid;
  gap: 7px;
  color: var(--silver-soft);
  font-size: 11px;
}
.solution-body li::before { margin-right: 8px; color: var(--cyan); content: "—"; }

/* Work chapters */
.work {
  overflow: clip;
}

.case-studies {
  display: grid;
  gap: clamp(130px, 15vw, 220px);
}

.case-study {
  position: relative;
  justify-self: center;
}

.case-study::before {
  position: absolute;
  z-index: -1;
  top: 90px;
  right: -12vw;
  width: 66vw;
  height: 70%;
  border: 1px solid rgba(172, 211, 225, 0.055);
  content: "";
}
.case-study--reverse::before { right: auto; left: -12vw; }

.case-study__meta {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.case-study__meta > div {
  display: flex;
  gap: 16px;
  color: var(--silver-dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case-study__meta span { color: var(--cyan); }
.case-study__meta em { font-style: normal; }
.case-study__meta > p { color: var(--silver-soft); font-size: 11px; font-weight: 700; }

.case-study__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
}
.case-study__layout > *,
.case-study__copy,
.project-slider { min-width: 0; }
.case-study--reverse .case-study__copy { order: 2; }
.case-study--reverse .project-slider { order: 1; }

.case-study__copy h3 {
  max-width: 13ch;
  margin-top: 22px;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.04;
}
.case-study__copy > p:not(.technical-label) {
  max-width: 47ch;
  margin-top: 24px;
  color: var(--silver-soft);
  font-size: 13px;
}
.case-study__copy dl {
  display: grid;
  margin-top: 34px;
}
.case-study__copy dl > div {
  display: grid;
  min-height: 50px;
  grid-template-columns: 92px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.case-study__copy dl > div:last-child { border-bottom: 1px solid var(--line); }
.case-study__copy dt {
  color: var(--silver-dim);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.case-study__copy dd { color: var(--silver-soft); }

.project-slider {
  position: relative;
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--ink-2);
  cursor: grab;
  touch-action: pan-y;
}
.project-slider:active { cursor: grabbing; }

.project-signal {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 36px;
  padding-inline: 14px;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 8, 12, 0.84);
  color: var(--silver-dim);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.project-signal em { color: var(--cyan); font-style: normal; }

.project-track {
  display: flex;
  transition: transform 850ms var(--ease);
}
.project-slider.is-in-view .project-track { will-change: transform; }
.project-track figure {
  min-width: 100%;
  aspect-ratio: 1.96;
  overflow: clip;
  background: var(--ink-3);
}
.project-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.project-controls {
  display: flex;
  min-height: 66px;
  padding-inline: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.project-controls > div { display: flex; gap: 8px; }
.project-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  transition: border-color 220ms ease, background 220ms ease;
}
.project-controls button:hover {
  border-color: var(--cyan);
  background: rgba(115, 244, 239, 0.06);
}
.project-controls button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.project-controls > p {
  color: var(--silver-dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.project-controls [data-current] { color: var(--cyan); }

.project-dots {
  position: absolute;
  z-index: 5;
  right: 76px;
  bottom: 11px;
  display: flex;
  gap: 2px;
}
.project-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: transparent;
}
.project-dots button::after {
  position: absolute;
  top: 50%;
  right: 10px;
  left: 10px;
  height: 2px;
  background: var(--line-strong);
  content: "";
  transform: translateY(-50%);
  transition: background 220ms ease, transform 220ms ease;
}
.project-dots button.is-active::after {
  background: var(--cyan);
  transform: translateY(-50%) scaleY(1.5);
}

/* Architecture process */
.process {
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(172, 211, 225, 0.045) 50% calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(180deg, rgba(10, 21, 31, 0.5), transparent);
}

.architecture-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  align-items: start;
  gap: clamp(62px, 8vw, 124px);
}

.architecture-visual {
  position: sticky;
  top: 118px;
  display: grid;
  height: min(620px, calc(100svh - 152px));
  min-height: 520px;
  padding: 20px;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(172, 211, 225, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172, 211, 225, 0.04) 1px, transparent 1px),
    rgba(5, 11, 17, 0.74);
  background-size: 72px 72px;
}

.architecture-visual__head {
  display: flex;
  justify-content: space-between;
  color: var(--silver-dim);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.architecture-visual__head em { color: var(--cyan); font-style: normal; }

.architecture-visual svg {
  align-self: center;
  width: 100%;
  overflow: visible;
}
.architecture-grid {
  fill: none;
  stroke: rgba(172, 211, 225, 0.06);
  stroke-width: 1;
}
.architecture-route {
  fill: none;
  stroke: rgba(172, 221, 232, 0.16);
  stroke-width: 2;
}
.architecture-route--signal {
  stroke: url(#architecture-signal);
  stroke-dasharray: 90 900;
  stroke-width: 3;
}
.architecture-nodes circle {
  fill: var(--ink-0);
  stroke: var(--line-strong);
  stroke-width: 2;
}

.architecture-readout {
  display: grid;
  padding-top: 15px;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
}
.architecture-readout small {
  grid-column: 1 / -1;
  color: var(--silver-dim);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.architecture-readout strong { margin-top: 4px; font-size: 15px; font-weight: 600; }
.architecture-readout code {
  align-self: end;
  color: var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.process-line {
  display: grid;
}
.process-line li {
  position: relative;
  display: grid;
  min-height: 168px;
  grid-template-columns: 54px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  transition: border-color 260ms ease, opacity 260ms ease;
}
.process-line li:last-child { border-bottom: 1px solid var(--line); }
.process-line li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
  transition: width 650ms var(--ease);
}
.process-line li.is-active::before { width: 100%; }
.process-line li:not(.is-active) { opacity: 0.54; }
.process-line h3 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.process-line p {
  max-width: 49ch;
  color: var(--silver-soft);
  font-size: 13px;
}

/* Contact */
.contact {
  padding-bottom: clamp(110px, 12vw, 180px);
  background: radial-gradient(circle at 24% 54%, rgba(44, 159, 177, 0.1), transparent 35%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.7fr);
  align-items: start;
  gap: clamp(70px, 10vw, 160px);
}

.contact-copy .technical-label { margin-top: clamp(42px, 5vw, 66px); }
.contact-copy h2 { max-width: 10ch; }
.contact-intro { margin-top: 28px; }

.whatsapp-link {
  display: flex;
  min-height: 74px;
  margin-top: 42px;
  padding-inline: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: border-color 260ms ease, background 260ms ease;
}
.whatsapp-link:hover {
  border-color: var(--line-strong);
  background: rgba(115, 244, 239, 0.035);
}
.whatsapp-link span { display: grid; }
.whatsapp-link small {
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.whatsapp-link strong { font-size: 16px; font-weight: 600; }
.whatsapp-link svg {
  width: 26px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
}

.contact-form {
  position: relative;
  display: grid;
  padding: clamp(26px, 3vw, 42px);
  gap: 28px;
  border: 1px solid var(--line);
  background: rgba(6, 12, 18, 0.74);
}
.contact-form::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 54px;
  height: 54px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  content: "";
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-form label { display: grid; gap: 10px; }
.contact-form label > span {
  color: var(--silver-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-form label > span em { color: var(--cyan); font-style: normal; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  transition: border-color 220ms ease, background 220ms ease;
}
.contact-form textarea { min-height: 128px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(157, 170, 180, 0.62); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  background: linear-gradient(90deg, rgba(115, 244, 239, 0.035), transparent);
}
.form-submit { justify-self: start; }
.honeypot { position: absolute; left: -10000px; }

/* Footer */
.site-footer {
  position: relative;
  z-index: var(--z-content);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  min-height: 190px;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 42px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand .brand-mark { width: 42px; }
.footer-brand p { font-size: 13px; font-weight: 700; }
.footer-grid > p:not(.copyright) { color: var(--silver-soft); font-size: 12px; }
.footer-grid nav { display: flex; gap: 28px; }
.footer-grid nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--silver-soft);
  font-size: 11px;
  font-weight: 700;
}
.copyright {
  grid-column: 1 / -1;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  color: var(--silver-dim);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* Success page */
.success-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
}
.success-main {
  position: relative;
  z-index: 10;
  width: min(100% - 48px, 680px);
}
.success-panel {
  display: grid;
  justify-items: start;
  padding: clamp(32px, 7vw, 72px);
  gap: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.success-panel .brand-mark { margin-bottom: 14px; }
.success-panel h1 { font-size: clamp(48px, 8vw, 86px); font-weight: 500; letter-spacing: -0.05em; }
.success-panel > p:not(.technical-label) { max-width: 50ch; color: var(--silver-soft); }

/* Laptop */
@media (max-width: 1180px) {
  :root { --gutter: 30px; }
  .system-spine { display: none; }
  .hero-copy { width: min(34vw, 400px); }
  .living-system { left: 58%; width: min(51vw, 620px); }
  .hero-telemetry { display: none; }
  .atlas { gap: 64px; }
  .project-dots { right: 66px; }
  .project-dots button { width: 36px; }
}

/* Tablet */
@media (max-width: 880px) {
  :root {
    --gutter: 24px;
    --header-height: 70px;
    --section-space: 104px;
  }
  .desktop-nav,
  .header-action { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }

  .hero { padding-top: calc(var(--header-height) + 40px); }
  .hero-grid { height: min(720px, calc(100svh - 142px)); min-height: 620px; }
  .hero-copy { width: min(52vw, 430px); }
  .hero-title { font-size: clamp(48px, 7.1vw, 64px); }
  .hero-bottom { width: min(38vw, 330px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 4px; }
  .living-system { left: 72%; width: min(64vw, 570px); opacity: 0.86; }
  .system-module { padding: 6px 8px; }

  .section-heading .section-index { grid-column: 1 / 4; }
  .section-heading > div:nth-child(2) { grid-column: 4 / 13; }
  .section-heading .section-intro { grid-column: 4 / 12; margin-top: 12px; }

  .philosophy-grid > .section-index { grid-column: 1 / 4; }
  .philosophy-statement { grid-column: 4 / 13; }
  .philosophy-copy { grid-column: 4 / 12; }
  .principles { grid-column: 4 / 13; }

  .atlas,
  .architecture-stage {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .atlas-visual,
  .architecture-visual {
    position: relative;
    top: auto;
    height: min(620px, 76vw);
    min-height: 520px;
  }
  .atlas-list { width: calc(100% - 12vw); margin-left: auto; }
  .process-line { width: calc(100% - 12vw); margin-left: auto; }

  .case-study__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .case-study__copy { max-width: 620px; }
  .case-study--reverse .case-study__copy,
  .case-study--reverse .project-slider { order: initial; }
  .case-study--reverse .case-study__copy { order: 1; }
  .case-study--reverse .project-slider { order: 2; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .contact-copy { max-width: 700px; }
  .contact-form { width: min(100%, 700px); margin-left: auto; }
}

/* Mobile */
@media (max-width: 680px) {
  :root {
    --gutter: 16px;
    --header-height: 66px;
    --section-space: 84px;
  }

  body { font-size: 16px; }
  .site-header.is-scrolled { background: rgba(4, 7, 11, 0.96); }
  .brand { gap: 12px; }
  .brand-mark { width: 42px; }
  .brand-type strong { font-size: 12px; }
  .brand-type > span { font-size: 7px; }

  .mobile-menu__inner {
    width: calc(100% - 32px);
    padding-top: max(94px, env(safe-area-inset-top));
  }
  .mobile-menu nav a {
    min-height: 62px;
    grid-template-columns: 42px 1fr;
    font-size: clamp(30px, 10vw, 46px);
  }
  .mobile-menu__footer {
    display: grid;
    gap: 10px;
    font-size: 11px;
  }

  .hero {
    min-height: 100svh;
    padding-block: calc(var(--header-height) + 30px) 28px;
  }
  .hero::before { inset: 10% 16px 5%; }
  .hero-grid { height: calc(100svh - 124px); min-height: 660px; }
  .hero-copy {
    width: 100%;
    height: auto;
    justify-content: start;
  }
  .hero-status {
    margin-bottom: 20px;
    grid-template-columns: 7px 1fr;
    font-size: 8px;
  }
  .hero-status em { display: none; }
  .hero-kicker { margin-bottom: 10px; font-size: 8px; }
  .hero-title {
    width: 100%;
    font-size: clamp(45px, 13.5vw, 58px);
    line-height: 0.87;
  }
  .hero-bottom {
    width: min(100%, 360px);
    margin-top: 23px;
    gap: 18px;
  }
  .hero-bottom > p {
    font-size: 13px;
    line-height: 1.65;
  }
  .hero-actions { align-items: center; gap: 10px; flex-direction: row; }
  .button { min-height: 52px; }
  .hero-capabilities { display: none; }
  .hero-scroll { display: none; }

  .living-system {
    z-index: 2;
    top: 79%;
    left: 50%;
    width: min(92vw, 380px);
    opacity: 0.79;
    pointer-events: auto;
  }
  .living-system__frame { background-size: 60px 60px, 60px 60px, auto, auto; }
  .system-coordinate--top { top: 10px; right: 10px; left: 10px; font-size: 6px; }
  .system-coordinate--side { display: none; }
  .system-readout { right: 10px; bottom: 8px; left: 10px; }
  .system-module {
    min-width: 54px;
    min-height: 44px;
    padding: 5px 7px;
    background: rgba(4, 10, 15, 0.86);
  }
  .system-module span { font-size: 6px; }
  .system-module strong { font-size: 8px; }
  .system-module--apps,
  .system-module--erp { left: 2%; }
  .system-module--crm,
  .system-module--finance { right: 2%; }

  .section-heading {
    display: block;
    margin-bottom: 62px;
  }
  .section-heading .section-index { margin-bottom: 48px; }
  .section-heading h2,
  .philosophy-statement h2,
  .contact-copy h2 {
    font-size: clamp(38px, 11vw, 50px);
  }
  .section-heading .section-intro { margin-top: 24px; }
  .section-intro,
  .philosophy-copy,
  .contact-intro { font-size: 16px; }

  .philosophy { background: linear-gradient(180deg, rgba(13, 26, 36, 0.42), transparent 72%); }
  .philosophy-grid { display: block; }
  .philosophy-statement { margin-top: 46px; }
  .philosophy-copy { margin-top: 34px; }
  .principles { margin-top: 56px; }
  .principles article {
    min-height: 150px;
    grid-template-columns: 42px 1fr;
    gap: 8px;
  }
  .principles i { display: none; }
  .principles p { font-size: 14px; }

  .atlas-visual,
  .architecture-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 0.9;
    padding: 14px;
  }
  .atlas-diagram { width: 100%; }
  .atlas-module { font-size: 6px; letter-spacing: 0.1em; }
  .atlas-module::before { width: 4px; margin-right: 4px; }
  .atlas-list,
  .process-line { width: 100%; }
  .solution-trigger {
    min-height: 116px;
    padding-block: 18px;
    grid-template-columns: 36px 1fr 44px;
  }
  .solution-name small { font-size: 8px; }
  .solution-name strong { font-size: 20px; }
  .solution-body {
    padding-left: 36px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .solution-entry.is-active .solution-body { max-height: 380px; padding-bottom: 28px; }
  .solution-body p { font-size: 14px; }
  .solution-body ul { font-size: 12px; }

  .case-studies { gap: 112px; }
  .case-study__meta > div { gap: 9px; font-size: 7px; }
  .case-study__copy h3 { font-size: clamp(32px, 9.6vw, 42px); }
  .case-study__copy > p:not(.technical-label) { font-size: 14px; }
  .project-track figure { aspect-ratio: 1.28; }
  .project-track img { object-position: top center; }
  .project-slider--wide .project-track figure { aspect-ratio: 2.09; }
  .project-slider--wide .project-track img {
    object-fit: contain;
    object-position: center;
  }
  .project-signal { min-height: 32px; font-size: 6px; }
  .project-controls { min-height: 64px; }
  .project-dots {
    position: static;
    min-height: 48px;
    padding-inline: 8px;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line);
  }
  .project-dots button { width: 44px; height: 44px; }

  .architecture-stage { gap: 42px; }
  .architecture-visual { aspect-ratio: 1.05; }
  .architecture-readout { grid-template-columns: 1fr; }
  .architecture-readout code { margin-top: 5px; }
  .process-line li {
    min-height: 148px;
    grid-template-columns: 42px 1fr;
  }
  .process-line h3 { font-size: 22px; }
  .process-line p { font-size: 14px; }

  .contact-grid { gap: 52px; }
  .contact-copy .technical-label { margin-top: 42px; }
  .whatsapp-link { padding-inline: 0; }
  .contact-form { padding: 22px 16px; gap: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }

  .footer-grid {
    min-height: 280px;
    padding-block: 46px 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
  .footer-grid nav { gap: 20px; }
  .copyright { grid-column: 1; }
}

@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .brand-type > span { display: none; }
  .hero-kicker { letter-spacing: 0.12em; }
  .hero-title { font-size: clamp(42px, 13.6vw, 49px); }
  .hero-bottom { margin-top: 18px; }
  .hero-bottom > p { display: none; }
  .hero-actions .text-link { display: none; }
  .hero-grid { min-height: 560px; }
  .living-system { top: 88%; width: min(96vw, 340px); }
  .button--primary { min-width: 176px; }
  .atlas-visual__bottom p { display: none; }
  .case-study__meta > p { display: none; }
  .project-controls > p { display: none; }
  .project-dots { justify-content: flex-start; }
}

/* Landscape phones and short windows */
@media (max-height: 620px) and (min-width: 681px) and (max-width: 980px) {
  :root { --header-height: 62px; }
  .hero { min-height: 100svh; padding-block: 68px 14px; }
  .hero-grid { height: calc(100svh - 82px); min-height: 290px; }
  .hero-copy { width: 42vw; }
  .hero-status { margin-bottom: 8px; }
  .hero-kicker { display: none; }
  .hero-title { font-size: clamp(34px, 5vw, 42px); }
  .hero-bottom { width: auto; margin-top: 12px; gap: 8px; }
  .hero-bottom > p { display: none; }
  .hero-actions { flex-direction: row; }
  .hero-actions .text-link { display: none; }
  .hero-capabilities { display: none; }
  .hero-scroll { display: none; }
  .living-system { top: 53%; left: 72%; width: min(43vw, 350px); }
  .system-module { min-width: 50px; min-height: 44px; padding: 4px 6px; }
  .system-module strong { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader { display: none; }
  [data-hero-item],
  [data-reveal],
  .title-line > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .project-track { transition: none; }
}

html.reduced-motion { scroll-behavior: auto; }
html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html.reduced-motion .loader { display: none; }
html.reduced-motion [data-hero-item],
html.reduced-motion [data-reveal],
html.reduced-motion .title-line > span {
  opacity: 1 !important;
  transform: none !important;
}
html.reduced-motion .project-track { transition: none; }
