:root {
  --bg: #060b19;
  --bg-soft: #0b1425;
  --surface: rgba(14, 27, 49, 0.78);
  --surface-solid: #101d33;
  --surface-strong: #162743;
  --text: #f5f8ff;
  --text-muted: #a8b5ca;
  --text-soft: #7889a2;
  --line: rgba(174, 204, 240, 0.14);
  --line-strong: rgba(174, 204, 240, 0.28);
  --primary: #5eead4;
  --cyan: #38bdf8;
  --violet: #8b5cf6;
  --lime: #82efb3;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 40px));
  --top-strip-height: 36px;
  --nav-height: 82px;
  --header-height: calc(var(--top-strip-height) + var(--nav-height));
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-active {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(94, 234, 212, 0.28);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #04151a;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(115px);
  opacity: 0.1;
  pointer-events: none;
}

.ambient-blue {
  top: 180px;
  right: -260px;
  background: var(--cyan);
}

.ambient-violet {
  top: 1300px;
  left: -300px;
  background: var(--violet);
}

.section {
  position: relative;
  padding: 118px 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 5%, rgba(56, 189, 248, 0.055), transparent 30%),
    rgba(11, 20, 37, 0.72);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  content: "";
}

.section-heading {
  margin-bottom: 55px;
}

.section-heading-centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.collaboration-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.section-heading h2 span,
.collaboration-copy h2 span,
.contact-copy h2 span {
  color: transparent;
  background: linear-gradient(105deg, var(--primary), var(--cyan) 54%, #b49cff);
  background-clip: text;
  -webkit-background-clip: text;
}

.section-heading > p,
.split-heading > p,
.collaboration-copy > p,
.contact-copy > p {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 72px;
}

.split-heading > p {
  margin: 0;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-color: var(--line);
  background: rgba(6, 11, 25, 0.92);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.top-strip {
  height: var(--top-strip-height);
  border-bottom: 1px solid rgba(174, 204, 240, 0.1);
  background: rgba(3, 9, 20, 0.64);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.top-strip-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-strip-messages,
.top-strip-contact {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.top-strip-messages span,
.top-strip-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-strip-messages span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.5);
  content: "";
}

.top-strip-messages .top-strip-promise::before {
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.top-strip-contact {
  gap: 18px;
}

.top-strip-contact > a:first-child {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
}

.top-strip-contact a {
  color: var(--text);
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-strip-contact a:hover {
  color: var(--primary);
}

.nav-shell {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 43px;
  height: 43px;
  filter: drop-shadow(0 10px 24px rgba(56, 189, 248, 0.15));
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.primary-nav > a {
  position: relative;
  padding: 11px 12px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button).active {
  color: var(--text);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button).active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons and links */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button svg,
.card-link svg,
.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover svg,
.card-link:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #04141b;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.14);
}

.button-primary:hover {
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.24);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.06);
}

.button-small {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.button-large {
  min-height: 60px;
  padding-inline: 27px;
  border-radius: 16px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--primary);
  font-weight: 800;
}

/* Hero */
.hero {
  min-height: 820px;
  padding-top: calc(var(--header-height) + 84px);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(94, 234, 212, 0.09), transparent 29%),
    radial-gradient(circle at 86% 28%, rgba(56, 189, 248, 0.12), transparent 31%),
    linear-gradient(rgba(174, 204, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 204, 240, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 62px 62px, 62px 62px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(470px, 0.98fr);
  align-items: center;
  gap: clamp(50px, 7vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.055);
  color: #c9f9f1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(94, 234, 212, 0.1), 0 0 18px rgba(94, 234, 212, 0.5);
}

.hero h1 {
  max-width: 770px;
  margin: 24px 0 22px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.7rem);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(100deg, var(--primary), var(--cyan) 47%, #b9a4ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.77rem;
  font-weight: 700;
  list-style: none;
}

.hero-signals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-signals li > span {
  width: 7px;
  height: 7px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.hero-visual {
  min-width: 0;
}

.ecosystem-board {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(16, 34, 60, 0.92), rgba(7, 16, 31, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.board-header,
.board-footer {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-right: 18px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb7185;
}

.window-dots i:nth-child(2) {
  background: #fbbf24;
}

.window-dots i:nth-child(3) {
  background: var(--lime);
}

.board-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--primary);
}

.board-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.ecosystem-map {
  position: relative;
  min-height: 982px;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.1), transparent 36%),
    linear-gradient(rgba(174, 204, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 204, 240, 0.035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.ecosystem-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(86, 211, 229, 0.3);
  stroke-dasharray: 5 7;
  stroke-width: 1.2;
}

.ecosystem-core,
.ecosystem-node {
  position: absolute;
  z-index: 2;
  display: grid;
  border: 1px solid var(--line);
  background: rgba(10, 22, 42, 0.94);
  box-shadow: var(--shadow-soft);
}

.ecosystem-core {
  top: 325px;
  left: 50%;
  width: 152px;
  min-height: 138px;
  place-items: center;
  padding: 17px;
  border-color: rgba(94, 234, 212, 0.33);
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.ecosystem-core img {
  width: 48px;
  height: 48px;
}

.ecosystem-core strong {
  margin-top: 7px;
  font-family: "Space Grotesk", sans-serif;
}

.ecosystem-core small {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
}

.ecosystem-node {
  width: 184px;
  min-height: 98px;
  padding: 15px;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.ecosystem-node:hover,
.ecosystem-node:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.ecosystem-node > span {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecosystem-node strong {
  margin-top: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.ecosystem-node small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.66rem;
}

.node-architecture {
  top: 38px;
  left: 26px;
  border-color: rgba(94, 234, 212, 0.24);
}

.node-code {
  top: 38px;
  right: 26px;
  border-color: rgba(50, 200, 255, 0.24);
}

.node-web {
  top: 410px;
  left: 26px;
  border-color: rgba(103, 232, 249, 0.29);
}

.node-design {
  top: 410px;
  right: 26px;
  border-color: rgba(196, 181, 253, 0.32);
}

.node-automation {
  top: 522px;
  left: 26px;
  border-color: rgba(130, 239, 179, 0.31);
}

.node-data {
  top: 522px;
  right: 26px;
  border-color: rgba(96, 165, 250, 0.32);
}

.node-security {
  top: 634px;
  left: 26px;
  border-color: rgba(129, 140, 248, 0.35);
}

.node-modernization {
  top: 634px;
  right: 26px;
  border-color: rgba(34, 211, 238, 0.35);
}

.node-product {
  top: 746px;
  left: 50%;
  border-color: rgba(244, 114, 182, 0.35);
  transform: translateX(-50%);
}

.node-product:hover {
  transform: translateX(-50%) translateY(-3px);
}

.node-agentic {
  bottom: 30px;
  left: 26px;
  border-color: rgba(139, 92, 246, 0.27);
}

.node-testing {
  right: 26px;
  bottom: 30px;
  border-color: rgba(130, 239, 179, 0.23);
}

.board-footer {
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.board-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.board-footer strong {
  color: var(--primary);
  font-size: 0.63rem;
  text-transform: uppercase;
}

/* Trust */
.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -58px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 23, 42, 0.94);
  box-shadow: var(--shadow-soft);
}

.trust-grid > div {
  min-width: 0;
  padding: 23px 25px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.trust-grid span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Portfolio */
.portfolio-group {
  padding-top: 18px;
  scroll-margin-top: var(--header-height);
}

.portfolio-group + .portfolio-group {
  margin-top: 76px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.group-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1fr);
  align-items: end;
  gap: 55px;
  margin-bottom: 27px;
}

.group-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.group-heading > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 11px;
  color: var(--primary);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
}

.group-heading h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.group-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 510px;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, var(--card-glow, rgba(56, 189, 248, 0.07)), transparent 36%),
    var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.portfolio-card:hover {
  border-color: var(--card-line, var(--line-strong));
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card-architecture {
  --card-accent: #5eead4;
  --card-line: rgba(94, 234, 212, 0.35);
  --card-glow: rgba(94, 234, 212, 0.09);
}

.card-code {
  --card-accent: #60f2c2;
  --card-line: rgba(96, 242, 194, 0.35);
  --card-glow: rgba(50, 200, 255, 0.09);
}

.card-web {
  --card-accent: #67e8f9;
  --card-line: rgba(103, 232, 249, 0.38);
  --card-glow: rgba(96, 165, 250, 0.11);
}

.card-design {
  --card-accent: #c4b5fd;
  --card-line: rgba(196, 181, 253, 0.4);
  --card-glow: rgba(167, 139, 250, 0.13);
}

.card-automation {
  --card-accent: #82efb3;
  --card-line: rgba(130, 239, 179, 0.38);
  --card-glow: rgba(34, 211, 238, 0.11);
}

.card-data {
  --card-accent: #60a5fa;
  --card-line: rgba(96, 165, 250, 0.4);
  --card-glow: rgba(34, 211, 238, 0.12);
}

.card-security {
  --card-accent: #818cf8;
  --card-line: rgba(129, 140, 248, 0.42);
  --card-glow: rgba(56, 189, 248, 0.12);
}

.card-modernization {
  --card-accent: #22d3ee;
  --card-line: rgba(34, 211, 238, 0.42);
  --card-glow: rgba(96, 165, 250, 0.12);
}

.card-product {
  --card-accent: #f472b6;
  --card-line: rgba(244, 114, 182, 0.4);
  --card-glow: rgba(167, 139, 250, 0.12);
}

.card-agentic {
  --card-accent: #a78bfa;
  --card-line: rgba(167, 139, 250, 0.38);
  --card-glow: rgba(139, 92, 246, 0.12);
}

.card-testing {
  --card-accent: #82efb3;
  --card-line: rgba(130, 239, 179, 0.34);
  --card-glow: rgba(60, 130, 255, 0.1);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-type {
  color: var(--card-accent);
}

.portfolio-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 32px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 32%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card-accent) 9%, transparent);
  color: var(--card-accent);
}

.portfolio-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.portfolio-card h4 {
  margin: 24px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.85rem;
  letter-spacing: -0.045em;
}

.portfolio-card > p {
  margin: 0;
  color: var(--text-muted);
}

.portfolio-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 28px;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  list-style: none;
}

.portfolio-card li {
  position: relative;
  padding-left: 17px;
}

.portfolio-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--card-accent);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--card-accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.ecosystem-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 42px;
  margin-top: 48px;
  padding: 28px 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.018);
}

.ecosystem-note span {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.ecosystem-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 270px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.capability-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-solid);
  transform: translateY(-3px);
}

.capability-number {
  color: var(--cyan);
  font-family: "DM Mono", monospace;
  font-size: 0.67rem;
}

.capability-card h3 {
  margin: 42px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.capability-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.89rem;
}

/* Collaboration */
.collaboration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: start;
  gap: clamp(60px, 9vw, 115px);
}

.collaboration-copy {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.collaboration-copy > p {
  margin-inline: 0;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.process-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 14px;
  color: var(--primary);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

.process-list h3 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.process-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.87rem;
}

/* Contact */
.contact-section {
  padding-top: 104px;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: 70px;
  padding: clamp(40px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.14), transparent 33%),
    radial-gradient(circle at 6% 100%, rgba(139, 92, 246, 0.11), transparent 35%),
    linear-gradient(135deg, rgba(16, 35, 61, 0.96), rgba(8, 17, 33, 0.95));
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  font-size: clamp(2.45rem, 4.6vw, 4rem);
}

.contact-copy > p {
  margin-inline: 0;
}

.contact-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-copy li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.contact-actions {
  display: grid;
  gap: 15px;
}

.contact-actions .button {
  width: 100%;
}

.contact-actions p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.72rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 22, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.7fr));
  gap: 46px;
  padding: 65px 0 54px;
}

.footer-brand p {
  max-width: 390px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-column h3 {
  margin: 0 0 17px;
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 10px;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.7rem;
}

/* Progressive enhancement */
.reveal-ready [data-reveal] {
  transform: translateY(22px);
  transition: transform 0.65s ease;
}

.reveal-ready [data-reveal].revealed {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .top-strip-promise {
    display: none !important;
  }

  .primary-nav {
    gap: 0;
  }

  .primary-nav > a {
    padding-inline: 9px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 44px;
  }

  .ecosystem-node {
    width: 165px;
  }

  .portfolio-card {
    min-height: 530px;
  }

  .footer-grid {
    grid-template-columns: minmax(250px, 1.3fr) repeat(3, minmax(130px, 0.7fr));
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 94px 0;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 15, 30, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a {
    min-height: 46px;
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .primary-nav > a::after {
    display: none;
  }

  .primary-nav > a:not(.button):hover,
  .primary-nav > a:not(.button).active {
    background: rgba(94, 234, 212, 0.07);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 24px;
  }

  .portfolio-card {
    min-height: 520px;
  }

  .service-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collaboration-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .collaboration-copy {
    position: static;
    max-width: 720px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-actions {
    max-width: 470px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .top-strip {
    font-size: 0.66rem;
  }

  .top-strip-contact a:first-child {
    display: none;
  }

  .top-strip-messages {
    min-width: 0;
    overflow: hidden;
  }

  .top-strip-messages span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-strip-contact {
    flex: 0 0 auto;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.15rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-signals {
    display: grid;
  }

  .ecosystem-map {
    min-height: 1042px;
  }

  .ecosystem-core {
    top: 345px;
    width: 126px;
    min-height: 120px;
  }

  .ecosystem-core img {
    width: 40px;
    height: 40px;
  }

  .ecosystem-node {
    width: calc(50% - 29px);
    min-height: 94px;
    padding: 13px;
  }

  .node-architecture,
  .node-web,
  .node-automation,
  .node-security,
  .node-agentic {
    left: 16px;
  }

  .node-code,
  .node-design,
  .node-data,
  .node-modernization,
  .node-testing {
    right: 16px;
  }

  .node-agentic,
  .node-testing {
    bottom: 20px;
  }

  .node-product {
    top: 738px;
  }

  .node-web {
    top: 420px;
    bottom: auto;
  }

  .node-design {
    top: 420px;
  }

  .node-automation {
    top: 526px;
    left: 16px;
  }

  .node-data {
    top: 526px;
  }

  .node-security {
    top: 632px;
  }

  .node-modernization {
    top: 632px;
  }

  .ecosystem-node strong {
    font-size: 0.9rem;
  }

  .ecosystem-node small {
    font-size: 0.6rem;
  }

  .board-footer span {
    display: none;
  }

  .board-footer {
    justify-content: flex-end;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .section-heading-centered {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .collaboration-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .split-heading,
  .group-heading,
  .ecosystem-note {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-group + .portfolio-group {
    margin-top: 56px;
    padding-top: 40px;
  }

  .portfolio-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: auto;
    padding: 25px;
  }

  .card-link {
    margin-top: 14px;
  }

  .capability-card {
    min-height: auto;
  }

  .capability-card h3 {
    margin-top: 28px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 20px;
  }

  .process-list li > span {
    width: 44px;
    height: 44px;
  }

  .contact-shell {
    padding: 34px 25px;
    border-radius: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .top-strip-contact a:last-child {
    font-size: 0;
  }

  .top-strip-contact a:last-child::after {
    font-size: 0.66rem;
    content: "Kontakt";
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2.67rem;
  }

  .ecosystem-map {
    min-height: 1192px;
  }

  .ecosystem-lines {
    display: none;
  }

  .ecosystem-core {
    top: 420px;
  }

  .ecosystem-node {
    width: calc(100% - 32px);
    min-height: 76px;
  }

  .node-architecture {
    top: 20px;
  }

  .node-code {
    top: 108px;
  }

  .node-web {
    top: 196px;
    bottom: auto;
    left: 16px;
    transform: none;
  }

  .node-design {
    top: 496px;
    right: 16px;
  }

  .node-automation {
    top: 584px;
    left: 16px;
  }

  .node-data {
    top: 672px;
    right: 16px;
  }

  .node-agentic {
    top: 1024px;
    bottom: auto;
  }

  .node-testing {
    top: 1112px;
    bottom: auto;
  }

  .node-security {
    top: 760px;
    left: 16px;
    transform: none;
  }

  .node-modernization {
    top: 848px;
    right: 16px;
  }

  .node-product {
    top: 936px;
    left: 16px;
    transform: none;
  }

  .node-product:hover {
    transform: translateY(-3px);
  }

  .ecosystem-node small {
    display: none;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Shared Perfect.sk chrome typography and alignment. */
.top-strip,
.top-strip-inner,
.top-strip-messages,
.top-strip-contact,
.primary-nav a,
.primary-nav .button,
.site-footer {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.top-strip-messages span,
.top-strip-contact a {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: left;
}

.primary-nav {
  gap: 4px;
}

.primary-nav a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.primary-nav .button {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.primary-nav,
.nav-toggle {
  order: 0;
}

.primary-nav .nav-contact-cta {
  height: 44px;
  min-height: 44px;
  align-self: center;
  align-items: center;
  justify-content: center;
  color: #06111f !important;
  margin: 0 0 0 6px;
  padding: 0 16px;
  text-align: center;
}

.primary-nav .nav-contact-cta:hover,
.primary-nav .nav-contact-cta:focus-visible {
  transform: none;
}

.footer-grid,
.footer-brand,
.footer-column,
.footer-links {
  text-align: left;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-column h3,
.footer-column strong,
.footer-links strong {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.footer-column nav,
.footer-column ul,
.footer-links > div {
  gap: 8px;
}

.footer-column a,
.footer-links a {
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}

.footer-bottom,
.footer-bottom p {
  font-size: 0.7rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .top-strip-messages span,
  .top-strip-contact a {
    font-size: 0.64rem;
  }

  .primary-nav a:not(.button),
  .primary-nav .button {
    font-size: 0.9rem;
  }

  .primary-nav a:not(.button) {
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    text-align: left;
  }

  .primary-nav a:not(.button)::after {
    display: none;
  }

  .primary-nav .nav-contact-cta {
    height: 48px;
    align-self: stretch;
    justify-content: center;
    min-height: 48px;
    margin: 5px 0 0;
    padding: 8px 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-bottom p:last-child {
    text-align: left;
  }
}
