:root {
  --ink: #080a0c;
  --ink-soft: #0d1013;
  --panel: #11151a;
  --panel-2: #171c22;
  --paper: #f4f6f0;
  --text: #f5f7f4;
  --muted: #a8b0b5;
  --muted-2: #778087;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --lime: #b7ff3c;
  --lime-soft: rgba(183, 255, 60, 0.14);
  --violet: #745cff;
  --violet-soft: rgba(116, 92, 255, 0.18);
  --danger: #ff6b6b;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 46px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  --container: 1240px;
  --header-height: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

html[data-lang="lv"] .lang-en,
html[data-lang="en"] .lang-lv {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(116, 92, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 84% 24%, rgba(183, 255, 60, 0.07), transparent 30rem),
    var(--ink);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

body.route-transitioning {
  cursor: progress;
}

body.route-transitioning a,
body.route-transitioning button {
  pointer-events: none;
}

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

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

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

.section-tight {
  padding: 86px 0;
}

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

.section-wash {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    radial-gradient(circle at 80% 15%, rgba(116, 92, 255, 0.12), transparent 28rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display,
h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.display {
  max-width: 930px;
  margin-bottom: 30px;
  font-size: clamp(3rem, 7.4vw, 7.25rem);
}

.display .accent,
.section-title .accent {
  color: var(--lime);
}

.section-title {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 5vw, 5rem);
}

.section-intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head > div:first-child {
  max-width: 850px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 250ms var(--ease), color 250ms ease, border-color 250ms ease;
}

.text-link::after {
  content: "↗";
  color: var(--lime);
}

.text-link:hover {
  gap: 18px;
  color: var(--lime);
  border-color: var(--lime);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px 22px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 250ms var(--ease), box-shadow 250ms ease, background 250ms ease;
}

.button::after {
  content: "↗";
  font-size: 1.05rem;
}

.button:hover {
  box-shadow: 0 12px 40px rgba(183, 255, 60, 0.19);
  transform: translateY(-3px);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.82rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 800;
  height: var(--header-height);
  transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(130%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand small {
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 200ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: default;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--lime);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  content: "";
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-open .menu-toggle span {
  opacity: 0;
}

.nav-open .menu-toggle::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .menu-toggle::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* Loaders: an expressive first entrance and a separate compact route cue. */
.entry-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(116, 92, 255, 0.18), transparent 28rem),
    linear-gradient(135deg, #050709, #090c10 58%, #06080a);
  transition: opacity 480ms var(--ease), visibility 480ms ease;
}

.entry-loader::before,
.entry-loader::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.entry-loader::before {
  width: min(72vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 150px rgba(255, 255, 255, 0.012);
  animation: loader-breathe 2.1s ease-in-out infinite;
}

.entry-loader::after {
  top: 0;
  bottom: 0;
  width: 1px;
  opacity: 0.55;
  background: linear-gradient(transparent, var(--lime), var(--violet), transparent);
  animation: entry-scan 1.7s var(--ease) both;
}

.entry-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.intro-seen .entry-loader {
  display: none;
}

.entry-loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(460px, calc(100vw - 48px));
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-mark-shell {
  position: relative;
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  margin-bottom: 30px;
  opacity: 0;
  animation: entry-mark-in 900ms 120ms var(--ease) forwards;
}

.loader-mark-shell::before,
.loader-mark-shell::after {
  position: absolute;
  content: "";
  border-radius: 42px;
}

.loader-mark-shell::before {
  inset: 0;
  border: 1px solid rgba(183, 255, 60, 0.5);
  box-shadow: inset 0 0 42px rgba(183, 255, 60, 0.035);
  animation: loader-frame 1.65s var(--ease) both;
}

.loader-mark-shell::after {
  inset: 17px;
  border: 1px solid rgba(116, 92, 255, 0.56);
  transform: rotate(45deg);
  animation: loader-frame-inner 1.65s var(--ease) both;
}

.loader-mark-shell img {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(116, 92, 255, 0.25));
}

.loader-word {
  margin: 0 0 7px;
  opacity: 0;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.42em;
  transform: translateY(10px);
  animation: entry-copy-in 620ms 480ms var(--ease) forwards;
}

.loader-caption {
  margin: 0 0 28px;
  color: var(--muted-2);
  opacity: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(8px);
  animation: entry-copy-in 620ms 600ms var(--ease) forwards;
}

.loader-progress {
  position: relative;
  width: min(310px, 72vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.loader-progress::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--lime), #e4ffae 48%, var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  animation: entry-progress 1.55s 100ms var(--ease) forwards;
}

.route-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2800;
  display: grid;
  width: 74px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  background: rgba(13, 17, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48), 0 0 30px rgba(116, 92, 255, 0.14);
  backdrop-filter: blur(18px);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 150ms ease, visibility 150ms ease, transform 220ms var(--ease);
}

.route-loader::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--lime), var(--violet), transparent);
  transform: translateX(-100%);
}

.route-loader.is-active {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.route-loader.is-active::after {
  animation: route-trace 430ms ease both;
}

.route-loader img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  animation: route-mark 430ms var(--ease) both;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-height) + 72px) 0 80px;
}

.hero::after {
  position: absolute;
  top: 12%;
  right: -10%;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(183, 255, 60, 0.09), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

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

.hero-copy .display {
  font-size: clamp(3.7rem, 7.2vw, 7.4rem);
}

.hero-lede {
  max-width: 660px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.meta-chip::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(183, 255, 60, 0.65);
}

.system-map {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.system-map::before,
.system-map::after {
  position: absolute;
  inset: 7%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  animation: orbit-spin 28s linear infinite;
}

.system-map::after {
  inset: 22%;
  border-color: rgba(183, 255, 60, 0.16);
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 20s;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 42px;
  mask-image: radial-gradient(circle, black 20%, transparent 72%);
}

.map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(183, 255, 60, 0.85), rgba(116, 92, 255, 0.75)) border-box;
  border: 1px solid transparent;
  border-radius: 42px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46), 0 0 70px rgba(116, 92, 255, 0.15);
  transform: translate(-50%, -50%) rotate(3deg);
}

.map-core::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 32px;
}

.map-core img {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.map-node {
  position: absolute;
  display: flex;
  min-width: 110px;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(16, 20, 25, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.map-node::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(183, 255, 60, 0.8);
  animation: node-pulse 1.8s ease-in-out infinite;
}

.map-node:nth-of-type(2) {
  top: 8%;
  left: 10%;
}

.map-node:nth-of-type(3) {
  top: 16%;
  right: 1%;
}

.map-node:nth-of-type(4) {
  right: 2%;
  bottom: 14%;
}

.map-node:nth-of-type(5) {
  bottom: 8%;
  left: 5%;
}

.map-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform-origin: left center;
  opacity: 0.35;
}

.map-beam:nth-child(7) { transform: rotate(224deg); }
.map-beam:nth-child(8) { transform: rotate(318deg); }
.map-beam:nth-child(9) { transform: rotate(44deg); }
.map-beam:nth-child(10) { transform: rotate(132deg); }

.signal-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.signal-track {
  display: flex;
  width: max-content;
  animation: signal-scroll 26s linear infinite;
}

.signal-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 30px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-item::after {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--violet);
  border-radius: 50%;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 38%),
    #0f1318;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.17);
  transform: perspective(1100px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: border-color 350ms ease, box-shadow 350ms ease, transform 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  z-index: 3;
  height: 1px;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--lime), var(--violet), transparent);
  transition: opacity 350ms ease;
}

.service-card:hover {
  --lift: -6px;
  border-color: rgba(183, 255, 60, 0.38);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.32);
}

.service-card:hover::before {
  opacity: 0.9;
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 10px 10px 0;
  overflow: hidden;
  background: #0b0e12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
}

.service-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.01) 58%, rgba(8, 10, 12, 0.28)),
    linear-gradient(90deg, rgba(183, 255, 60, 0.04), transparent 38%, rgba(116, 92, 255, 0.05));
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 800ms var(--ease), filter 500ms ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.015);
}

.service-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  min-height: 225px;
  padding: 27px 30px 31px;
  transform: translateZ(12px);
}

.service-number {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.service-card h3 {
  max-width: 470px;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.service-card p {
  max-width: 510px;
  margin: 0;
  color: #aeb6bb;
  font-size: 0.88rem;
  line-height: 1.6;
}

.card-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform 300ms var(--ease);
}

.service-card:hover .card-arrow {
  transform: translate(2px, -2px) rotate(45deg);
}

/* Process diagram */
.process-shell {
  position: relative;
  padding: 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(116, 92, 255, 0.21), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.process-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  pointer-events: none;
}

.process-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-track::before {
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--lime), var(--violet));
  opacity: 0.5;
}

.process-step {
  padding: 0 12px;
}

.process-dot {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--lime);
  background: var(--ink-soft);
  border: 1px solid rgba(183, 255, 60, 0.34);
  border-radius: 22px;
  box-shadow: 0 0 0 9px var(--panel), 0 0 40px rgba(183, 255, 60, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Feature and stats */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-card::before {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(183, 255, 60, 0.12), transparent 66%);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 48px;
  color: var(--lime);
  background: var(--lime-soft);
  border-radius: 15px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact strong {
  display: block;
  margin-bottom: 28px;
  color: var(--lime);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.fact span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Inner page hero */
.subhero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 100px) 0 88px;
  border-bottom: 1px solid var(--line);
}

.subhero::after {
  position: absolute;
  top: -50%;
  right: -8%;
  width: 620px;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(116, 92, 255, 0.18), transparent 68%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--lime);
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before {
  margin-right: 10px;
  content: "/";
  color: rgba(255, 255, 255, 0.25);
}

.subhero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 60px;
}

.subhero h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7.2rem);
}

.subhero-copy {
  max-width: 520px;
  padding-left: 28px;
  color: var(--muted);
  border-left: 1px solid var(--lime);
  font-size: 1.05rem;
}

.subhero-copy p {
  margin: 0 0 24px;
}

/* About */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 120px);
}

.split-sticky {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  align-self: start;
}

.prose-large {
  color: #d5d9d7;
  font-size: clamp(1.25rem, 2.2vw, 2.05rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.prose-large p {
  margin-top: 0;
  margin-bottom: 28px;
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 20px;
}

.legal-card,
.info-card {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.company-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.company-list dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
}

/* Service detail */
.service-hero-media {
  position: relative;
  width: min(calc(100% - 40px), var(--container));
  height: clamp(310px, 38vw, 480px);
  min-height: 0;
  margin: 18px auto 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.32);
}

.service-hero-media img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  transform: translateY(var(--parallax-y, -4%));
}

.service-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.01), rgba(8, 10, 12, 0.18)),
    linear-gradient(90deg, rgba(183, 255, 60, 0.025), transparent 45%, rgba(116, 92, 255, 0.04));
}

.service-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(50px, 8vw, 110px);
}

.service-summary-grid .prose-large {
  max-width: 780px;
}

.project-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.project-fact {
  padding: 25px;
  background: var(--panel);
}

.project-fact span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-fact strong {
  font-size: 1rem;
}

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

.deliverable {
  position: relative;
  min-height: 210px;
  padding: 27px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.deliverable::after {
  position: absolute;
  right: -18px;
  bottom: -25px;
  color: rgba(255, 255, 255, 0.035);
  content: attr(data-index);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
}

.deliverable i {
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 54px;
  background: var(--lime);
}

.deliverable h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 9px;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.deliverable p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.suitable-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.suitable-item {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.suitable-item::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 30px;
  color: var(--ink);
  content: "✓";
  background: var(--lime);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.suitable-item h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.suitable-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.tech-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tech-pill {
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

/* Portfolio concepts */
.case-grid {
  display: grid;
  gap: 20px;
}

.case-card {
  display: grid;
  min-height: 460px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

.case-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  color: var(--lime);
  background: var(--lime-soft);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.case-copy p {
  margin: 0;
  color: var(--muted);
}

.case-visual {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 38%, rgba(183, 255, 60, 0.15), transparent 25%),
    radial-gradient(circle at 35% 70%, rgba(116, 92, 255, 0.25), transparent 34%),
    #0b0e11;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.ui-stack {
  position: relative;
  width: min(76%, 480px);
  aspect-ratio: 1.22;
  padding: 22px;
  background: rgba(18, 22, 27, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.ui-bar {
  width: 34%;
  height: 8px;
  margin-bottom: 26px;
  background: var(--lime);
  border-radius: 99px;
}

.ui-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 13px;
  height: calc(100% - 34px);
}

.ui-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.ui-panel::before,
.ui-panel::after {
  position: absolute;
  right: 14px;
  left: 14px;
  height: 5px;
  content: "";
  background: rgba(255, 255, 255, 0.13);
  border-radius: 99px;
}

.ui-panel::before { top: 18px; }
.ui-panel::after { top: 32px; width: 46%; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 120px);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 25px 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question strong {
  font-size: 1.1rem;
}

.faq-question i {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-question i::before,
.faq-question i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--lime);
  transform: translate(-50%, -50%);
  transition: transform 250ms ease;
}

.faq-question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-question i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  transition: grid-template-rows 350ms var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 780px;
  margin: 0;
  padding: 0 44px 27px 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 8vw, 110px);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 250ms ease, transform 250ms var(--ease);
}

.contact-card:hover {
  border-color: rgba(183, 255, 60, 0.42);
  transform: translateX(5px);
}

.contact-card i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--lime);
  background: var(--lime-soft);
  border-radius: 13px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-style: normal;
}

.contact-card span {
  display: block;
  color: var(--muted-2);
  font-size: 0.68rem;
}

.contact-card strong {
  font-size: 0.9rem;
}

.contact-card::after {
  content: "↗";
  color: var(--muted-2);
}

.enquiry-form {
  padding: clamp(26px, 5vw, 52px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.75rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--text);
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(183, 255, 60, 0.7);
  box-shadow: 0 0 0 4px var(--lime-soft);
}

.field select option {
  color: var(--text);
  background: var(--panel);
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--lime);
  font-size: 0.8rem;
}

/* Legal */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  justify-content: space-between;
  gap: clamp(50px, 8vw, 120px);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  align-self: start;
  gap: 6px;
}

.legal-nav a {
  padding: 9px 12px;
  color: var(--muted-2);
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  transition: color 200ms ease, border-color 200ms ease;
}

.legal-nav a:hover {
  color: var(--text);
  border-color: var(--lime);
}

.legal-content {
  min-width: 0;
}

.legal-content > section {
  scroll-margin-top: calc(var(--header-height) + 30px);
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-content > section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin: 28px 0 12px;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.93rem;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 16px 0;
}

.legal-content a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(183, 255, 60, 0.35);
  text-underline-offset: 4px;
}

.legal-highlight {
  padding: 25px;
  margin: 26px 0;
  color: #d8ddd9;
  background: var(--lime-soft);
  border: 1px solid rgba(183, 255, 60, 0.26);
  border-radius: var(--radius-sm);
}

.legal-highlight p:last-child {
  margin-bottom: 0;
}

/* CTA and footer */
.cta-panel {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  padding: 64px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 140%, rgba(183, 255, 60, 0.27), transparent 48%),
    radial-gradient(circle at 50% -30%, rgba(116, 92, 255, 0.28), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  width: 560px;
  height: 560px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-panel::after {
  width: 380px;
  height: 380px;
  border-style: dashed;
  animation: orbit-spin 24s linear infinite;
}

.cta-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 810px;
}

.cta-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 6.3rem);
}

.cta-panel p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.cta-panel .button-row {
  justify-content: center;
}

.site-footer {
  padding: 76px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 0.9fr;
  gap: 48px;
  padding-bottom: 58px;
}

.footer-brand p {
  max-width: 380px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--muted-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a,
.footer-column li {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-column a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.cookie-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  width: min(430px, calc(100vw - 44px));
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding: 20px;
  background: rgba(18, 22, 27, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: opacity 300ms ease, transform 300ms var(--ease), visibility 300ms ease;
}

.cookie-notice.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.cookie-notice a {
  color: var(--lime);
}

.cookie-notice button {
  padding: 9px 13px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}

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

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@keyframes loader-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes loader-frame {
  0% { transform: rotate(-16deg) scale(0.76); opacity: 0; }
  48% { opacity: 0.9; }
  100% { transform: rotate(0deg) scale(1); opacity: 0.62; }
}

@keyframes loader-frame-inner {
  0% { transform: rotate(12deg) scale(0.7); opacity: 0; }
  100% { transform: rotate(45deg) scale(1); opacity: 0.6; }
}

@keyframes entry-mark-in {
  0% { opacity: 0; transform: scale(0.72) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes entry-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes entry-scan {
  0% { left: 18%; opacity: 0; }
  18%, 82% { opacity: 0.55; }
  100% { left: 82%; opacity: 0; }
}

@keyframes entry-progress {
  0% { transform: scaleX(0); }
  55% { transform: scaleX(0.67); }
  100% { transform: scaleX(1); }
}

@keyframes route-mark {
  0% { transform: scale(0.72) rotate(-8deg); opacity: 0.25; }
  55% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(0.98) rotate(0); opacity: 0.92; }
}

@keyframes route-trace {
  0% { transform: translateX(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0.2; }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes node-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.65; }
  50% { transform: scale(1.25); opacity: 1; }
}

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

@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr); }
  .service-card { min-height: 0; }
  .footer-top { grid-template-columns: 1.2fr repeat(3, 0.8fr); gap: 28px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .section { padding: 92px 0; }
  .section-tight { padding: 70px 0; }
  .menu-toggle { display: block; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .header-actions .button { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 20px 90px;
    overflow-y: auto;
    opacity: 0;
    background: rgba(8, 10, 12, 0.98);
    transform: translateY(-12px);
    transition: opacity 250ms ease, transform 250ms var(--ease), visibility 250ms ease;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a {
    width: 100%;
    padding: 18px 0;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 74px); }
  .hero-grid { grid-template-columns: 1fr; }
  .system-map { max-width: 560px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-shell { padding: 34px 28px; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-track::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-icon { margin-bottom: 38px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .subhero-grid { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .subhero-copy { max-width: 650px; }
  .split-grid { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .service-summary-grid { grid-template-columns: 1fr; }
  .deliverables-grid, .suitable-list { grid-template-columns: repeat(2, 1fr); }
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 380px; }
  .faq-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .section-tight { padding: 58px 0; }
  .brand small { display: none; }
  .language-switch button { min-width: 32px; padding-inline: 6px; }
  .hero { padding-bottom: 58px; }
  .hero-copy .display { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .system-map { width: 112%; margin-left: -6%; }
  .map-node { min-width: 96px; padding: 8px 10px; font-size: 0.59rem; }
  .map-core { width: 122px; height: 122px; border-radius: 34px; }
  .map-core img { width: 64px; height: 64px; }
  .service-card { min-height: 0; }
  .service-card-media { margin: 8px 8px 0; border-radius: 20px; }
  .service-card-content { grid-template-columns: 1fr auto; min-height: 215px; padding: 23px 22px 25px; }
  .service-card p { font-size: 0.84rem; }
  .card-arrow { width: 44px; height: 44px; }
  .process-shell { padding: 28px 20px; border-radius: var(--radius-lg); }
  .process-track { grid-template-columns: 1fr; }
  .process-step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .process-dot { grid-row: 1 / span 2; margin-bottom: 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact { min-height: 145px; }
  .subhero { padding-top: calc(var(--header-height) + 70px); }
  .subhero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .subhero-copy { padding-left: 18px; font-size: 0.95rem; }
  .service-hero-media { width: calc(100% - 28px); height: clamp(250px, 62vw, 360px); border-radius: var(--radius-lg); }
  .deliverables-grid, .suitable-list { grid-template-columns: 1fr; }
  .case-copy { padding: 28px; }
  .case-visual { min-height: 320px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .legal-nav { grid-template-columns: 1fr; }
  .cta-panel { min-height: 420px; padding-inline: 22px; border-radius: var(--radius-lg); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cookie-notice { right: 14px; bottom: 14px; width: calc(100vw - 28px); grid-template-columns: 1fr; }
  .cookie-notice button { width: 100%; }
}

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