:root {
  --ink: #0b1728;
  --ink-2: #111c31;
  --ink-3: #172033;
  --paper: #eef3f8;
  --white: #ffffff;
  --muted: #9fb1c8;
  --line: rgba(219, 234, 254, 0.16);
  --line-dark: rgba(15, 76, 129, 0.16);
  --brand: #0f4c81;
  --acid: #60a5fa;
  --blue: #1f7a8c;
  --orange: #1674ba;
  --container: 1280px;
  --radius: 12px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open main,
body.menu-open .site-footer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 5px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

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

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

.cursor-light {
  position: fixed;
  z-index: 18;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0, rgba(31, 122, 140, 0.075) 34%, transparent 70%);
  filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity 350ms ease;
}

.cursor-light.is-visible {
  opacity: 1;
}

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

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(11, 23, 40, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header.menu-active {
  z-index: 1200;
  background: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 112px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 44px;
}

.desktop-nav a {
  position: relative;
  color: #c8cbd0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--acid);
  content: "";
  transition: transform 220ms ease;
}

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

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

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5f6670;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.lang-switch button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #626975;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.lang-switch button.is-active,
.lang-switch button:hover {
  color: var(--paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translate(2px, -2px);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  gap: 18px;
  font-size: 12px;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--white);
}

.button-accent {
  background: var(--acid);
  color: var(--ink);
}

.button-accent:hover {
  background: #93c5fd;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--paper);
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  z-index: 1;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 42px max(32px, env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  overflow: hidden;
  transform: translateY(-12px);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu nav {
  display: grid;
  width: min(100%, 760px);
  margin: 0 auto;
}

.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  min-height: 86px;
  padding: clamp(18px, 3dvh, 28px) 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a span {
  color: var(--acid);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.mobile-menu a strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 8vw, 48px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero {
  position: relative;
  min-height: 820px;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 230px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  content: "";
  pointer-events: none;
}

.hero-grid,
.contact-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.44;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--grid-x, 68%) var(--grid-y, 34%), rgba(96, 165, 250, 0.15), rgba(31, 122, 140, 0.05) 38%, transparent 72%);
  content: "";
  opacity: 0.78;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.17;
  pointer-events: none;
}

.hero-orb-one {
  top: 110px;
  right: 19%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue), transparent 68%);
}

.hero-orb-two {
  right: -60px;
  bottom: 50px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--acid), transparent 70%);
  opacity: 0.08;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(440px, 0.82fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
  min-height: 680px;
  padding-top: 38px;
  padding-bottom: 54px;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot,
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.72);
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--acid);
  border-radius: inherit;
  content: "";
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(.6); opacity: .8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  max-width: 760px;
  margin: 27px 0 27px;
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: clamp(58px, 6.5vw, 102px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.headline-accent {
  color: var(--acid);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #cbd9ea;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.62;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e5eef9;
  font-size: 14px;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 5px;
}

.hero-facts strong {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hero-facts span {
  color: #9fb1c8;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.system-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(17, 28, 49, 0.86);
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
  transform-style: preserve-3d;
  transition: transform 220ms ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.system-card::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 5%;
  bottom: 8%;
  left: 5%;
  border-radius: 50%;
  background: rgba(31,122,140,.17);
  filter: blur(50px);
  content: "";
}

.system-topbar,
.system-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 18px;
  color: #68707b;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .1em;
}

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

.system-id {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b8bec7;
}

.system-stage {
  position: relative;
  min-height: 430px;
  padding: 22px 18px 16px;
}

.stage-label {
  position: absolute;
  z-index: 2;
  top: 21px;
  left: 20px;
  color: #717985;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .12em;
}

.pipeline {
  width: 100%;
  height: 350px;
  margin-top: 16px;
}

.pipeline-grid path {
  fill: none;
  stroke: rgba(255,255,255,.045);
  stroke-width: 1;
}

.flow-lines path {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 1.2;
  stroke-dasharray: 5 8;
  opacity: .65;
  animation: data-flow 12s linear infinite;
}

@keyframes data-flow {
  to { stroke-dashoffset: -130; }
}

.flow-dots circle {
  fill: var(--blue);
}

.flow-dots .dot-green {
  fill: var(--acid);
}

.pipeline-nodes rect {
  fill: #121720;
  stroke: rgba(255,255,255,.22);
  stroke-width: 1;
}

.pipeline-nodes text {
  fill: #d7dbe0;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  text-anchor: middle;
  letter-spacing: .06em;
}

.pipeline-nodes .node-small {
  fill: #66707d;
  font-size: 6px;
}

.pipeline-nodes .node-active rect {
  fill: rgba(212,255,94,.11);
  stroke: var(--acid);
  filter: url(#glow);
}

.pipeline-nodes .node-active text {
  fill: var(--acid);
}

.system-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.system-readout div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.system-readout div:last-child {
  border-right: 0;
}

.system-readout span,
.system-readout strong {
  font-family: "Space Mono", monospace;
  font-size: 7px;
  letter-spacing: .08em;
}

.system-readout span {
  color: #59616c;
}

.system-readout strong {
  color: #cdd1d6;
  font-size: 9px;
}

.system-readout .green {
  color: var(--acid);
}

.system-tags {
  justify-content: flex-start;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.system-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.tech-rail {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 74px;
  border-top: 1px solid var(--line);
  color: #626a75;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.tech-rail i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #424851;
}

.section {
  position: relative;
  padding: 130px 0;
}

.intro,
.references {
  background: var(--paper);
  color: var(--ink);
}

.section-index {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
  color: #747a80;
}

.section-index span:first-child {
  color: var(--ink);
}

.section-index-light {
  border-color: var(--line);
  color: #737b87;
}

.section-index-light span:first-child {
  color: var(--acid);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  gap: 100px;
  align-items: start;
  padding: 78px 0 92px;
}

.section-title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

.intro-copy {
  padding-top: 8px;
}

.intro-copy p {
  margin: 0 0 24px;
  color: #353a40;
  font-size: 18px;
  line-height: 1.72;
}

.intro-copy p:last-child {
  margin-bottom: 0;
  color: #686e75;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #dbe7f3;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(9,11,15,.12);
}

.service-card::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(9,11,15,.09);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 35px rgba(9,11,15,.025), 0 0 0 75px rgba(9,11,15,.02);
}

.service-card-large {
  background: var(--brand);
  color: var(--white);
}

.service-card-blue {
  background: var(--blue);
  color: var(--white);
}

.service-card-dark {
  background: #0b2545;
  color: var(--paper);
}

.service-card-dark::after {
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.015);
}

.service-card-light {
  background: #f8fbff;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 55px 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 0;
  color: rgba(9,11,15,.7);
  font-size: 16px;
  line-height: 1.6;
}

.service-card-dark p {
  color: #9da3ad;
}

.service-card-large p,
.service-card-blue p {
  color: #eaf4ff;
}

.service-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.approach,
.contact {
  background: var(--ink);
  color: var(--paper);
}

.approach-heading {
  display: grid;
  grid-template-columns: 1.1fr .72fr;
  gap: 100px;
  align-items: end;
  padding: 78px 0 92px;
}

.approach-heading p,
.references-heading p {
  margin: 0 0 8px;
  color: #9ca3ad;
  font-size: 18px;
  line-height: 1.7;
}

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

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px .85fr 1.1fr 30px;
  gap: 28px;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, padding 200ms ease;
}

.process-item:hover {
  padding-right: 22px;
  padding-left: 22px;
  background: rgba(255,255,255,.035);
}

.process-number {
  color: var(--acid);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.process-item h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.process-item p {
  margin: 0;
  color: #898f99;
  font-size: 15px;
  line-height: 1.6;
}

.process-mark {
  color: #626a75;
  font-size: 19px;
}

.research-note {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 76px;
  padding: 34px 38px;
  border: 1px solid rgba(96,165,250,.36);
  border-radius: var(--radius);
  background: rgba(96,165,250,.07);
}

.research-icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  color: var(--acid);
  font-family: "Space Mono", monospace;
  font-size: 14px;
}

.research-note p {
  max-width: 780px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: -.035em;
  line-height: 1.35;
}

.references-heading {
  display: grid;
  grid-template-columns: 1.1fr .72fr;
  gap: 100px;
  align-items: end;
  padding: 78px 0 70px;
}

.references-heading p {
  color: #5f656c;
}

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

.logo-card {
  position: relative;
  display: grid;
  min-height: 320px;
  grid-template-rows: auto 1fr auto;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.logo-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: 0 24px 65px rgba(9,11,15,.12);
}

.logo-card-meta,
.logo-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a8f95;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 28px;
}

.logo-image img {
  max-width: 145px;
  max-height: 115px;
  object-fit: contain;
}

.logo-wide img {
  max-width: 235px;
  max-height: 72px;
}

.logo-topmedica img {
  width: 180px;
  max-width: 180px;
  height: 150px;
  max-height: 150px;
  object-fit: contain;
  object-position: center;
}

.logo-hours img {
  max-width: 250px;
}

.logo-biopa img {
  width: 178px;
  max-width: 178px;
}

.logo-jf {
  gap: 15px;
}

.logo-jf img {
  width: 55px;
  height: 55px;
}

.logo-jf span {
  color: #191d23;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.045em;
}

.logo-jf strong {
  color: var(--orange);
}

.logo-card-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  color: #383d43;
  font-weight: 700;
}

.logo-arrow {
  transition: transform 180ms ease;
}

.logo-card:hover .logo-arrow {
  transform: translate(2px, -2px);
}

.contact {
  padding-bottom: 100px;
  overflow: hidden;
}

.contact-grid-bg {
  opacity: .2;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 40%, transparent);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(70px, 9vw, 130px);
  padding-top: 82px;
}

.contact-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .98;
}

.contact-accent {
  color: var(--acid);
}

.contact-copy > p {
  max-width: 510px;
  margin: 32px 0 0;
  color: #969da7;
  font-size: 17px;
  line-height: 1.68;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 510px;
  margin-top: 54px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  transition: color 180ms ease;
}

.contact-email:hover {
  color: var(--acid);
}

.contact-form {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,28,49,.86);
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #89909a;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.19);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #4d545e;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 4px;
}

.form-submit p {
  max-width: 260px;
  margin: 0;
  color: #69717c;
  font-size: 10px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 150px;
}

.footer-main p {
  margin: 0;
  color: #717985;
  font-size: 13px;
  text-align: center;
}

.footer-main > a:last-child {
  justify-self: end;
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-top: 1px solid var(--line);
  color: #555c66;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .08em;
}

.footer-bottom a {
  color: #9da3ac;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

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

/* Úvodní konstrukce loga v paletě LZAtechu. */
.logo-intro {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 46%, rgba(31,122,140,.15), transparent 33%),
    radial-gradient(circle at 60% 58%, rgba(96,165,250,.08), transparent 27%),
    #0b1728;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 480ms cubic-bezier(.65,0,.35,1), visibility 480ms;
  animation: intro-safety 0s 2.4s forwards;
}

.logo-intro::before,
.logo-intro::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.logo-intro::before {
  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: 70px 70px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 68%);
  mask-image: radial-gradient(circle at center, black, transparent 68%);
}

.logo-intro::after {
  width: 36%;
  height: 1px;
  margin: auto;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--acid), transparent);
  box-shadow: 0 0 28px rgba(96,165,250,.5);
  animation: intro-beam 1.25s .16s cubic-bezier(.65,0,.35,1) forwards;
}

.logo-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.018) 4px);
  opacity: .48;
}

.intro-scanlines::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 120px;
  transform: translateY(-130px);
  background: linear-gradient(to bottom, transparent, rgba(31,122,140,.08), transparent);
  content: "";
  animation: scan-pass 1.25s linear forwards;
}

.intro-logo-wrap {
  position: relative;
  width: min(320px, 62vw);
  color: var(--paper);
  animation: glitch-settle 1.15s steps(1, end) both;
}

.intro-logo {
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 27px rgba(96,165,250,.24));
}

.intro-logo path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: logo-draw .72s .13s cubic-bezier(.65,0,.35,1) forwards;
}

.intro-logo path:nth-child(2) { animation-delay: .25s; }
.intro-logo path:nth-child(3) { animation-delay: .37s; }

.intro-logo-dot {
  fill: var(--acid);
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 10px var(--acid));
  animation: dot-arrive .32s .82s cubic-bezier(.2,1.7,.4,1) forwards;
}

.intro-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 17px;
  color: #9fb1c8;
  font-family: "Space Mono", monospace;
  font-size: 7px;
  letter-spacing: .15em;
  opacity: 0;
  animation: status-in .3s .74s forwards;
}

.intro-status i {
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #334766;
  animation: status-line .42s .82s forwards;
}

.intro-status strong {
  color: var(--acid);
  font-weight: 400;
}

@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes dot-arrive { to { transform: scale(1); } }
@keyframes status-in { to { opacity: 1; } }
@keyframes status-line { to { transform: scaleX(1); } }
@keyframes scan-pass { to { transform: translateY(calc(100vh + 130px)); } }
@keyframes intro-beam { 45% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes intro-safety { to { visibility: hidden; pointer-events: none; } }
@keyframes glitch-settle {
  0% { transform: translate(7px,-2px); filter: drop-shadow(-7px 0 rgba(96,165,250,.72)) drop-shadow(7px 0 rgba(31,122,140,.7)); clip-path: inset(9% 0 66%); }
  14% { transform: translate(-5px,2px); clip-path: inset(54% 0 12%); }
  27% { transform: translate(3px,0); filter: drop-shadow(-3px 0 rgba(96,165,250,.56)) drop-shadow(3px 0 rgba(31,122,140,.58)); clip-path: inset(0); }
  38%, 100% { transform: none; filter: none; clip-path: inset(0); }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 24px;
    margin-right: 28px;
  }

  .nav-cta {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(56px, 7.4vw, 78px);
  }

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

  .pipeline {
    height: 310px;
  }

  .intro-grid,
  .approach-heading,
  .references-heading {
    gap: 58px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: calc(74px + env(safe-area-inset-top));
  }

  .site-header.menu-active {
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    overflow: hidden;
    isolation: isolate;
  }

  .site-header.menu-active .nav-wrap {
    height: var(--header-height);
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .nav-wrap {
    padding-top: env(safe-area-inset-top);
  }

  .brand img {
    width: 108px;
  }

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

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 90px;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero h1 {
    font-size: clamp(55px, 10vw, 84px);
  }

  .system-card {
    max-width: 660px;
    margin-inline: auto;
  }

  .tech-rail {
    flex-wrap: wrap;
    gap: 14px 20px;
    height: auto;
    padding: 24px 0;
  }

  .section {
    padding: 100px 0;
  }

  .intro-grid,
  .approach-heading,
  .references-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 0 68px;
  }

  .intro-copy,
  .approach-heading p,
  .references-heading p {
    max-width: 650px;
  }

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

  .service-card {
    min-height: 410px;
  }

  .process-item {
    grid-template-columns: 50px 1fr 1.1fr 20px;
    gap: 18px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 700px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main p {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-actions {
    gap: 14px;
  }

  .mobile-menu {
    padding: clamp(22px, 4dvh, 34px) max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  .mobile-menu a {
    min-height: clamp(76px, 14dvh, 108px);
  }

  .mobile-menu a strong {
    font-size: clamp(30px, 9.5vw, 44px);
  }

  .hero-layout {
    gap: 56px;
    padding-top: 66px;
    padding-bottom: 52px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 14.4vw, 68px);
    letter-spacing: -.07em;
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 17px;
  }

  .hero-facts span {
    font-size: 7px;
  }

  .system-stage {
    min-height: 320px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .pipeline {
    height: 250px;
  }

  .system-readout div {
    padding: 9px 7px;
  }

  .system-readout strong {
    font-size: 7px;
  }

  .system-tags {
    overflow-x: auto;
  }

  .tech-rail i {
    display: none;
  }

  .tech-rail span {
    padding: 5px 7px;
    border: 1px solid var(--line);
    border-radius: 3px;
  }

  .section {
    padding: 78px 0;
  }

  .section-title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .intro-grid,
  .approach-heading,
  .references-heading {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .intro-copy p,
  .approach-heading p,
  .references-heading p {
    font-size: 16px;
  }

  .service-card {
    min-height: 390px;
    padding: 23px;
  }

  .service-card h3 {
    margin-top: 40px;
    font-size: 34px;
  }

  .process-item {
    grid-template-columns: 38px 1fr 20px;
    gap: 12px;
    min-height: 0;
    padding: 28px 0;
  }

  .process-item:hover {
    padding-right: 8px;
    padding-left: 8px;
  }

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

  .process-mark {
    grid-column: 3;
    grid-row: 1;
  }

  .research-note {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }

  .research-icon {
    width: 68px;
    height: 68px;
  }

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

  .logo-card {
    min-height: 280px;
  }

  .contact-layout {
    gap: 52px;
    padding-top: 52px;
  }

  .contact-copy h2 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .contact-form {
    gap: 24px;
    padding: 24px 19px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit p {
    max-width: none;
  }

  .form-submit .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  .footer-main > a:last-child {
    justify-self: start;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 20px 0;
  }
}

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

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

  .logo-intro {
    display: none;
  }
}

/* Mobilní první vykreslení: obsah je okamžitě čitelný a bez drahých efektů. */
@media (max-width: 900px), (pointer: coarse) {
  .page-noise,
  .cursor-light,
  .scroll-flow-dots,
  .glass-caustic,
  .flow-dots,
  .theme-transition::before,
  .theme-transition i {
    display: none !important;
  }

  .logo-intro {
    transition-duration: 260ms;
    animation-delay: 1.25s;
  }

  .logo-intro::after,
  .intro-scanlines::after {
    animation-duration: .7s;
    animation-delay: .06s;
  }

  .intro-logo-wrap {
    width: min(240px, 60vw);
    animation-duration: .65s;
  }

  .intro-logo path {
    animation-duration: .44s;
    animation-delay: .05s;
  }

  .intro-logo path:nth-child(2) { animation-delay: .12s; }
  .intro-logo path:nth-child(3) { animation-delay: .19s; }

  .intro-logo-dot {
    animation-duration: .22s;
    animation-delay: .42s;
  }

  .intro-status {
    animation-duration: .2s;
    animation-delay: .38s;
  }

  .intro-status i {
    animation-duration: .24s;
    animation-delay: .42s;
  }

  .reveal,
  .mask-title {
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
    transition: none;
  }

  .hero-orb {
    filter: none;
  }

  .system-card,
  .service-card,
  .logo-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    will-change: auto;
  }
}
