:root {
  --bg: #0b0c0f;
  --bg-soft: #111318;
  --paper: #f1efe9;
  --text: #f4f1ea;
  --muted: #9ba0a8;
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(20,22,27,.14);
  --accent: #72f1b8;
  --accent-2: #89a7ff;
  --dark: #121419;
  --radius: 22px;
  --container: min(1240px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  min-height: 100%;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #0a0b0e;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 999;
  background-image:
    radial-gradient(circle at 20% 20%, white 0 0.65px, transparent .75px),
    radial-gradient(circle at 80% 40%, white 0 0.55px, transparent .7px);
  background-size: 8px 8px, 11px 11px;
  mix-blend-mode: soft-light;
}

.site-header {
  width: var(--container);
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.brand-mark {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px 11px 11px 3px;
  display: inline-grid;
  place-items: center;
  font: 500 12px/1 "DM Mono", monospace;
  letter-spacing: -.05em;
  background: rgba(255,255,255,.04);
}

.brand-name {
  font-weight: 750;
  letter-spacing: -.035em;
  font-size: 17px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #b8bcc4;
  font-size: 13px;
}

.desktop-nav a {
  transition: color .25s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .25s, border-color .25s;
}

.header-cta:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.menu-btn, .mobile-menu {
  display: none;
}

.hero {
  width: var(--container);
  margin: 0 auto;
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: 74px;
  align-items: center;
  min-height: 700px;
}

.eyebrow, .section-index {
  font: 400 11px/1.2 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a9adb5;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(114,241,184,.35);
  animation: pulse 2.1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(114,241,184,.34); }
  70% { box-shadow: 0 0 0 9px rgba(114,241,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(114,241,184,0); }
}

.hero h1 {
  font-size: clamp(62px, 7vw, 108px);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 700;
  max-width: 790px;
}

.hero-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.15px rgba(255,255,255,.72);
  font-weight: 550;
}

.hero-lead {
  margin-top: 34px;
  max-width: 620px;
  color: #aeb2ba;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  letter-spacing: -.015em;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 560;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #09100d;
}

.text-link {
  font-size: 13px;
  color: #c2c6cd;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 56px;
  font: 400 10px/1 "DM Mono", monospace;
  letter-spacing: .09em;
  color: #666d77;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(137,167,255,.13), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  min-width: 0;
}

.visual-topbar, .visual-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 0 17px;
  font: 400 10px/1 "DM Mono", monospace;
  color: #777e88;
}

.visual-topbar {
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #5d626b;
}

.system-map {
  position: relative;
  aspect-ratio: 1.08;
  min-height: 430px;
  overflow: hidden;
}

.system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 142px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(13,15,19,.84);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.012);
}

.center-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px 10px 10px 3px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #101814;
  font: 500 12px "DM Mono", monospace;
  margin-bottom: 10px;
}

.map-center strong {
  font-size: 13px;
}

.map-center span {
  font: 400 9px "DM Mono", monospace;
  color: #747a84;
  margin-top: 3px;
}

.map-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(255,255,255,.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a { width: 290px; height: 290px; }
.orbit-b { width: 410px; height: 410px; opacity: .55; }

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

.connections path {
  fill: none;
  stroke: rgba(255,255,255,.12);
  stroke-width: 1;
  stroke-dasharray: 5 8;
}

.node {
  position: absolute;
  z-index: 4;
  min-width: 92px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(14,16,21,.9);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s, background .2s;
}

.node:hover, .node.active {
  transform: translateY(-3px);
  border-color: rgba(114,241,184,.55);
  background: rgba(114,241,184,.08);
}

.node b {
  display: block;
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .08em;
}

.node small {
  color: #727882;
  font-size: 9px;
}

.node-1 { left: 7%; top: 13%; }
.node-2 { right: 7%; top: 12%; }
.node-3 { left: 6%; bottom: 13%; }
.node-4 { right: 5%; bottom: 12%; }

.visual-status {
  border-top: 1px solid var(--line);
}

.visual-status > span:first-child {
  color: #9399a2;
}

.visual-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
}

#nodeInfo {
  color: #c9ccd1;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font: 400 10px "DM Mono", monospace;
  letter-spacing: .09em;
  color: #6d737d;
}

.ticker-track i {
  color: #343942;
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2, .process-intro h2 {
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: -.055em;
  line-height: .98;
  margin-top: 14px;
}

.section-heading > p {
  color: #969ca5;
  line-height: 1.65;
  font-size: 14px;
}

.project-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: #8b919b;
  border-radius: 999px;
  padding: 9px 13px;
  font: 400 10px "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}

.filter.active {
  background: var(--paper);
  color: var(--dark);
  border-color: var(--paper);
}

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

.project-card {
  min-width: 0;
  transition: opacity .3s ease, transform .3s ease;
}

.project-card.hidden {
  opacity: 0;
  transform: scale(.98);
  display: none;
}

.project-featured {
  grid-column: span 2;
}

.project-preview {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  min-height: 390px;
  background: #191c23;
}

.project-featured .project-preview {
  min-height: 560px;
}

.xentora-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(109,149,255,.18), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(114,241,184,.1), transparent 24%),
    #11141a;
  padding: 7%;
}

.xentora-preview::after {
  content: "ERP / 2026";
  position: absolute;
  left: 20px;
  top: 18px;
  color: rgba(255,255,255,.35);
  font: 400 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

.mock-browser {
  width: min(820px, 87%);
  background: #eef1f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,.36);
  transform: perspective(1200px) rotateX(2deg) rotateY(-4deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.project-card:hover .mock-browser {
  transform: perspective(1200px) rotateX(0) rotateY(0) translateY(-6px);
}

.mock-bar {
  height: 33px;
  background: #dfe4ea;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 5px;
}

.mock-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5bcc7;
}

.mock-bar small {
  margin-left: 10px;
  color: #8c949f;
  font: 400 8px "DM Mono", monospace;
}

.erp-layout {
  display: grid;
  grid-template-columns: 62px 1fr;
  min-height: 340px;
}

.erp-layout aside {
  background: #171a20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 18px;
}

.mini-logo {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #8da9ff;
  color: #0d1118;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.erp-layout aside i {
  width: 15px;
  height: 15px;
  border: 1px solid #525864;
  border-radius: 4px;
}

.erp-main {
  padding: 28px;
}

.erp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.erp-head span {
  width: 140px;
  height: 18px;
  border-radius: 5px;
  background: #222834;
}

.erp-head b {
  width: 76px;
  height: 23px;
  border-radius: 999px;
  background: #d7dde7;
}

.erp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.erp-kpis i {
  height: 70px;
  border-radius: 10px;
  background: white;
  border: 1px solid #dde1e8;
}

.erp-chart {
  height: 145px;
  margin-top: 18px;
  border-radius: 10px;
  background: white;
  border: 1px solid #dde1e8;
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 20px 24px;
}

.erp-chart span {
  flex: 1;
  background: #8da9ff;
  border-radius: 4px 4px 1px 1px;
  opacity: .82;
}

.preview-label, .external-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(9,11,14,.7);
  backdrop-filter: blur(10px);
  color: #c5c8ce;
  border: 1px solid rgba(255,255,255,.13);
  font: 400 9px "DM Mono", monospace;
}

.web-preview {
  padding: 34px;
  transition: transform .3s ease;
}

.web-preview:hover .site-mini {
  transform: translateY(-6px) rotate(-.4deg);
}

.preview-orvic {
  background: #d8dfc8;
}

.preview-incorm {
  background: #c7c8c5;
}

.preview-saber {
  background: #dfd9ca;
}

.site-mini {
  height: 100%;
  min-height: 320px;
  border-radius: 12px;
  background: #f4f0e8;
  color: #252820;
  box-shadow: 0 28px 60px rgba(25,29,23,.18);
  padding: 22px;
  transition: transform .35s ease;
  overflow: hidden;
  position: relative;
}

.site-mini.dark {
  background: #25292e;
  color: #f1eee6;
}

.site-mini.light {
  background: #fffdf8;
  color: #242321;
}

.site-mini-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 14px;
  opacity: .8;
}

.site-mini-nav b {
  letter-spacing: .12em;
}

.site-mini-hero {
  padding: 62px 5px 20px;
  position: relative;
}

.site-mini-hero small {
  display: block;
  font: 400 8px "DM Mono", monospace;
  opacity: .55;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-mini-hero strong {
  font-size: clamp(29px, 3.3vw, 48px);
  letter-spacing: -.06em;
  line-height: .96;
}

.site-mini-hero i {
  display: block;
  width: 44%;
  height: 8px;
  border-radius: 99px;
  background: currentColor;
  opacity: .1;
  margin-top: 36px;
  box-shadow:
    0 18px 0 currentColor,
    0 36px 0 currentColor,
    120px 18px 0 currentColor;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 2px 0;
  color: #767c85;
  font: 400 9px "DM Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.project-meta > div {
  display: flex;
  gap: 15px;
}

.project-number {
  color: #b8bcc3;
}

.project-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin-top: 16px;
}

.project-title-row h3 {
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1;
  letter-spacing: -.05em;
}

.project-title-row p {
  max-width: 620px;
  color: #8f959e;
  line-height: 1.58;
  font-size: 13px;
  margin-top: 10px;
}

.round-btn {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}

.round-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: rotate(8deg);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.project-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px;
  color: #6f757e;
  font: 400 9px "DM Mono", monospace;
}

.services {
  border-top: 1px solid var(--line);
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-row {
  min-height: 140px;
  display: grid;
  grid-template-columns: 60px minmax(240px, .8fr) minmax(280px, 1fr) 42px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}

.service-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(255,255,255,.015);
}

.service-no {
  font: 400 10px "DM Mono", monospace;
  color: #5d636c;
}

.service-row h3 {
  font-size: clamp(23px, 2.3vw, 34px);
  letter-spacing: -.045em;
  font-weight: 600;
}

.service-row p {
  color: #868d96;
  line-height: 1.6;
  font-size: 13px;
  max-width: 520px;
}

.service-symbol {
  justify-self: end;
  font-size: 24px;
  color: #676d75;
}

.process {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.process-intro {
  position: sticky;
  top: 42px;
  align-self: start;
}

.process-intro p {
  color: #8e949d;
  margin-top: 25px;
  line-height: 1.65;
  max-width: 520px;
  font-size: 14px;
}

.process-steps {
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 34px 0 35px;
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  font: 400 10px "DM Mono", monospace;
  color: #5f6670;
  padding-top: 4px;
}

.process-step h3 {
  font-size: 24px;
  letter-spacing: -.035em;
  font-weight: 600;
}

.process-step p {
  color: #858b95;
  margin-top: 8px;
  font-size: 13px;
}

.contact {
  padding-bottom: 80px;
}

.contact-panel {
  background: var(--paper);
  color: var(--dark);
  border-radius: 26px;
  padding: clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "LP";
  position: absolute;
  right: -40px;
  top: -60px;
  font-size: 260px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.1em;
  color: rgba(20,22,25,.035);
  pointer-events: none;
}

.contact-panel .section-index {
  color: #6c7076;
}

.contact-copy h2 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: .97;
  letter-spacing: -.06em;
  margin-top: 15px;
}

.contact-copy p {
  margin-top: 24px;
  color: #6b6f75;
  line-height: 1.6;
  max-width: 580px;
  font-size: 14px;
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  padding: 18px 0 19px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  z-index: 2;
}

.contact-main span {
  color: #777b81;
  font-size: 11px;
}

.contact-main b {
  grid-column: 1;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -.04em;
  word-break: break-word;
}

.contact-main i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 22px;
}

.contact-note {
  margin-top: 11px;
  font-size: 10px;
  color: #96999e;
}

footer {
  width: var(--container);
  margin: 0 auto;
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #737983;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9dce0;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-right a:hover {
  color: var(--text);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 22px;
}

.project-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,6,8,.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(590px, 100%);
  background: #16191f;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 34px;
  position: relative;
  z-index: 1;
  transform: translateY(14px) scale(.985);
  transition: transform .25s ease;
}

.project-modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.modal-kicker {
  display: inline-block;
  color: var(--accent);
  font: 400 10px "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 15px;
}

.modal-card h2 {
  font-size: 42px;
  letter-spacing: -.055em;
  line-height: 1;
  padding-right: 45px;
}

.modal-card > p {
  color: #9da3ac;
  line-height: 1.65;
  margin-top: 20px;
  font-size: 14px;
}

.modal-stack {
  margin-top: 24px;
  color: #c9cdd3;
  font: 400 10px "DM Mono", monospace;
  letter-spacing: .04em;
}

.modal-line {
  height: 1px;
  background: var(--line);
  margin-top: 28px;
}

.modal-card .modal-small {
  font-size: 10px;
  color: #626973;
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  :root { --container: min(100% - 34px, 920px); }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav, .header-cta {
    display: none;
  }

  .menu-btn {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
  }

  .menu-btn span {
    width: 16px;
    height: 1px;
    background: #d9dce1;
    transition: transform .25s, opacity .25s;
  }

  .menu-btn.active span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-btn.active span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-menu {
    display: flex;
    position: absolute;
    top: 74px;
    right: 0;
    width: min(320px, calc(100vw - 34px));
    padding: 16px;
    flex-direction: column;
    background: #15181d;
    border: 1px solid var(--line);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .25s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .mobile-menu a:last-child { border: 0; }

  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 62px;
  }

  .hero h1 { max-width: 800px; }
  .hero-visual { max-width: 720px; width: 100%; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading > p { max-width: 600px; }

  .project-featured { grid-column: span 2; }

  .process-grid {
    gap: 50px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 28px); }

  .site-header { height: 76px; }

  .hero {
    padding: 52px 0 58px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(54px, 15vw, 78px);
    line-height: .89;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-foot {
    margin-top: 42px;
  }

  .system-map {
    min-height: 390px;
  }

  .orbit-b { width: 330px; height: 330px; }
  .orbit-a { width: 230px; height: 230px; }
  .map-center { width: 124px; }

  .node {
    min-width: 78px;
    padding: 9px 10px;
  }

  .node-1 { left: 4%; top: 13%; }
  .node-2 { right: 4%; top: 12%; }
  .node-3 { left: 3%; bottom: 13%; }
  .node-4 { right: 3%; bottom: 12%; }

  .visual-status {
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .section {
    padding: 88px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project-featured {
    grid-column: auto;
  }

  .project-preview,
  .project-featured .project-preview {
    min-height: 350px;
  }

  .xentora-preview {
    padding: 24px;
  }

  .mock-browser {
    width: 100%;
  }

  .erp-layout {
    grid-template-columns: 42px 1fr;
    min-height: 270px;
  }

  .erp-main { padding: 19px; }
  .erp-kpis i { height: 54px; }
  .erp-chart { height: 105px; gap: 8px; padding: 15px; }

  .web-preview {
    padding: 20px;
  }

  .site-mini {
    min-height: 305px;
  }

  .project-title-row {
    align-items: start;
  }

  .service-row {
    grid-template-columns: 40px 1fr 34px;
    gap: 15px;
    padding: 24px 0;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

  .service-symbol {
    grid-column: 3;
    grid-row: 1;
  }

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

  .process-intro {
    position: static;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 14px;
  }

  .footer-right {
    justify-content: space-between;
  }

  .contact-panel {
    padding: 34px 24px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 52px;
  }

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

  .project-filters {
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .filter {
    flex: 0 0 auto;
  }

  .project-preview,
  .project-featured .project-preview {
    min-height: 300px;
  }

  .xentora-preview {
    padding: 14px;
  }

  .erp-main { padding: 14px; }
  .erp-head span { width: 90px; }
  .erp-kpis { gap: 7px; }
  .erp-chart { gap: 6px; }

  .site-mini {
    min-height: 260px;
    padding: 16px;
  }

  .site-mini-nav span {
    display: none;
  }

  .modal-card {
    padding: 28px 22px;
  }

  .modal-card h2 {
    font-size: 34px;
  }
}
