/* Шрифты (вариативные, подмножества cyrillic + latin) */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrainsmono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --surface: #161616;
  --text: #f1efe9;
  --muted: #8b8a85;
  --line: #2a2a28;
  --lime: #c8ff2e;
  --violet: #7b5cff;
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.lime { color: var(--lime); }

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: lowercase;
}
.tag__br { color: var(--lime); }

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.line { display: block; overflow: hidden; padding-bottom: .06em; }
.char, .word { display: inline-block; will-change: transform; }
.split, .split-scroll { white-space: nowrap; }

/* Preloader */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
  background: var(--lime);
  color: var(--bg);
}
.preloader__count {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 22vw, 320px);
  line-height: .9;
  letter-spacing: -.05em;
  margin-top: auto;
}
.preloader__name {
  font-family: var(--mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); }
  80% { transform: translate(6%, 2%); }
  100% { transform: translate(0, 0); }
}

/* Cursor */
.cursor { display: none; }
.cursor-on body, .cursor-on a, .cursor-on button { cursor: none; }
.cursor-on .cursor { display: block; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 95;
  pointer-events: none;
  border-radius: 50%;
}
.cursor__dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--lime);
}
.cursor__ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid rgba(241, 239, 233, .5);
  display: grid;
  place-items: center;
  transition: width .3s, height .3s, margin .3s, background .3s, border-color .3s;
}
.cursor__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bg);
  text-transform: lowercase;
  opacity: 0;
  transition: opacity .2s;
}
.cursor.is-hover .cursor__ring {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-color: var(--lime);
  background: rgba(200, 255, 46, .08);
}
.cursor.is-label .cursor__ring {
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  background: var(--lime);
  border-color: var(--lime);
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px var(--gutter);
  mix-blend-mode: difference;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid currentColor;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: .2; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) 48px;
  overflow: hidden;
}
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__blob {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--violet), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(200, 255, 46, .55), transparent 55%);
  filter: blur(80px);
  opacity: .45;
  pointer-events: none;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-12%, 8%) scale(1.15) rotate(40deg); }
  100% { transform: translate(-4%, -6%) scale(.95) rotate(-20deg); }
}
.hero__inner { position: relative; width: 100%; }
.hero__tag { margin-bottom: 24px; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 10.6vw, 200px);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.line--indent { padding-left: 12vw; }
.hero__star {
  display: inline-block;
  margin-left: .15em;
  color: var(--lime);
  font-size: .5em;
  vertical-align: top;
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 48px;
}
.hero__lead {
  max-width: 560px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: var(--muted);
}
.scramble {
  display: inline-block;
  color: var(--lime);
  font-family: var(--mono);
  font-weight: 500;
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.hero__scroll svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* Marquee */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 40s; }
.marquee__track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 104px);
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.marquee__row--rev .marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted);
  font-weight: 600;
  text-transform: lowercase;
}
.marquee__track i { font-style: normal; color: var(--lime); font-size: clamp(24px, 4vw, 56px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifest */
.manifest {
  padding: clamp(96px, 16vw, 200px) var(--gutter);
}
.manifest .tag { margin-bottom: 40px; }
.manifest__text {
  max-width: 1300px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.manifest__text em { font-style: normal; color: var(--lime); }

/* Services */
.services { padding-top: 40px; }
.services__head { padding: 0 var(--gutter) 64px; }
.services__head .tag { margin-bottom: 24px; }

.hscroll { overflow: hidden; }
.hscroll__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--gutter);
}
.panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  min-height: 70vh;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.panel__num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--lime);
}
.panel__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 80px);
  line-height: .95;
  hyphens: manual;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.panel__text {
  margin-top: 24px;
  max-width: 480px;
  color: var(--muted);
  font-size: 18px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 13px;
  transition: background .25s, color .25s, border-color .25s;
}
.chips li:hover { background: var(--lime); color: var(--bg); border-color: var(--lime); }

.panel__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 300px;
}

/* Visual: web */
.browser {
  width: min(100%, 440px);
  background: #0e0e0e;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.browser__bar i, .term__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.browser__bar i:first-child, .term__bar i:first-child { background: #ff5f57; }
.browser__bar span {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.browser__body { position: relative; padding: 24px; }
.sk {
  height: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--line);
  transform-origin: left;
  animation: grow 3.2s cubic-bezier(.7, 0, .2, 1) infinite;
}
.sk--title { width: 70%; height: 26px; background: var(--lime); }
.sk--line { width: 90%; animation-delay: .2s; }
.sk--short { width: 55%; animation-delay: .35s; }
.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.sk-grid div {
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), transparent);
  opacity: .6;
  animation: pop 3.2s ease-in-out infinite;
}
.sk-grid div:nth-child(2) { animation-delay: .15s; background: linear-gradient(135deg, var(--lime), transparent); }
.sk-grid div:nth-child(3) { animation-delay: .3s; }
@keyframes grow {
  0% { transform: scaleX(0); }
  30%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes pop {
  0%, 20% { transform: scale(.6); opacity: 0; }
  40%, 85% { transform: scale(1); opacity: .7; }
  100% { transform: scale(.6); opacity: 0; }
}
.browser__cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--text);
  border-top: 2px solid var(--text);
  transform: rotate(-15deg);
  animation: pointer 6s ease-in-out infinite;
}
@keyframes pointer {
  0% { top: 80%; left: 10%; }
  30% { top: 20%; left: 60%; }
  60% { top: 70%; left: 75%; }
  100% { top: 80%; left: 10%; }
}

/* Visual: 1C */
.vis-1c { gap: 0; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: min(100%, 420px);
  height: 260px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: var(--line);
  transform-origin: bottom;
  animation: bar 3.6s cubic-bezier(.7, 0, .2, 1) infinite;
}
.bars span:nth-child(6) { background: var(--lime); }
.bars span:nth-child(2) { animation-delay: .1s; }
.bars span:nth-child(3) { animation-delay: .2s; }
.bars span:nth-child(4) { animation-delay: .3s; }
.bars span:nth-child(5) { animation-delay: .4s; }
.bars span:nth-child(6) { animation-delay: .5s; }
.bars span:nth-child(7) { animation-delay: .6s; }
@keyframes bar {
  0% { transform: scaleY(.05); }
  35%, 80% { transform: scaleY(1); }
  100% { transform: scaleY(.05); }
}
.vis-1c__line {
  position: absolute;
  width: min(100%, 420px);
  height: 200px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 3;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 3.6s cubic-bezier(.7, 0, .2, 1) infinite;
}
@keyframes draw {
  0% { stroke-dashoffset: 420; }
  45%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -420; }
}

/* Visual: infra */
.rack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 380px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0e0e0e;
  position: relative;
  z-index: 1;
}
.unit {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.unit i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: led 1.2s steps(2) infinite;
}
.unit i:nth-child(2) { animation-duration: .7s; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.unit i:nth-child(3) { animation-duration: 1.9s; }
.unit:nth-child(2) i { animation-delay: .3s; }
.unit:nth-child(3) i { animation-delay: .6s; }
.unit:nth-child(4) i { animation-delay: .15s; }
.unit b {
  flex: 1;
  height: 4px;
  margin-left: 12px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px);
}
@keyframes led { 50% { opacity: .15; box-shadow: none; } }
.pulse {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: pulse 3s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.4); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Visual: python */
.term {
  width: min(100%, 460px);
  background: #0e0e0e;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.term__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.term__body {
  margin: 0;
  padding: 22px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  white-space: pre-wrap;
}
.term__body b { color: var(--lime); font-weight: 500; }
.term__body em { font-style: normal; color: var(--text); }
.term__body .ok { color: var(--lime); }
.term__body > span { opacity: 0; animation: typeIn 6s infinite; }
.term__body .t2 { animation-delay: .6s; }
.term__body .t3 { animation-delay: 1.2s; }
.term__body .t4 { animation-delay: 1.8s; }
.term__body .t5 { animation-delay: 2.4s; }
@keyframes typeIn {
  0% { opacity: 0; }
  4%, 75% { opacity: 1; }
  85%, 100% { opacity: 0; }
}
.term__caret {
  display: inline-block;
  width: 9px;
  height: 18px;
  margin-left: 4px;
  vertical-align: middle;
  background: var(--lime);
  animation: blink 1s steps(2) infinite;
}

/* Agency */
.agency { padding: clamp(96px, 14vw, 180px) var(--gutter); }
.agency .tag { margin-bottom: 32px; }
.agency__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 32px;
  background: var(--lime);
  color: var(--bg);
  overflow: hidden;
  transition: border-radius .5s cubic-bezier(.7, 0, .2, 1);
}
.agency__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: translateY(101%);
  transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.agency__card:hover::before { transform: translateY(0); }
.agency__card:hover { border-radius: 120px 32px 120px 32px; }
.agency__card > * { position: relative; }
.agency__card .lime { color: var(--violet); }
.agency__ring {
  position: relative;
  width: clamp(140px, 18vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.agency__ring svg {
  position: absolute;
  inset: 0;
  animation: spin 16s linear infinite;
}
.agency__ring text {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: var(--bg);
}
.agency__arrow {
  font-size: clamp(40px, 5vw, 72px);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.agency__card:hover .agency__arrow { transform: rotate(45deg) scale(1.2); }
.agency__content p {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
}

/* Why */
.why { padding: 0 var(--gutter) clamp(96px, 14vw, 180px); }
.why__head .tag { margin-bottom: 24px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
  perspective: 1000px;
}
.why__item {
  position: relative;
  padding: 32px 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transform-style: preserve-3d;
  transition: border-color .3s;
  overflow: hidden;
}
.why__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 46, .12), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.why__item:hover { border-color: rgba(200, 255, 46, .5); }
.why__item:hover::after { opacity: 1; }
.why__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  font-size: 24px;
  margin-bottom: auto;
}
.why__item h3 {
  margin-top: 48px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
}
.why__item p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact {
  padding: clamp(96px, 14vw, 180px) var(--gutter) 80px;
  border-top: 1px solid var(--line);
}
.contact .tag { margin-bottom: 32px; }
.contact__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 8.6vw, 150px);
  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.contact__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 72px;
}
.big-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: color .4s, border-color .4s;
}
.big-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(101%);
  transition: transform .6s cubic-bezier(.7, 0, .2, 1), border-radius .6s;
}
.big-link:hover { color: var(--bg); border-color: var(--lime); }
.big-link:hover::before { transform: translateY(0); border-radius: 0; }
.big-link > * { position: relative; }
.big-link__label { font-family: var(--mono); font-size: 13px; opacity: .7; }
.big-link__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.big-link__arrow {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 32px;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.big-link:hover .big-link__arrow { transform: rotate(45deg); }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.footer a:hover { color: var(--lime); }

/* Desktop horizontal services */
@media (min-width: 1024px) {
  .js .hscroll__track {
    flex-direction: row;
    width: max-content;
    gap: 24px;
  }
  .js .panel {
    width: min(86vw, 1200px);
    height: 78vh;
    min-height: 560px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; min-height: auto; }
  .panel__visual { min-height: 280px; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header { padding: 14px var(--gutter); gap: 16px; }
  .nav { display: none; }
  .logo__text { display: none; }
  .pill { padding: 9px 16px; font-size: 14px; }
  .hero { padding-bottom: 32px; }
  .line--indent { padding-left: 0; }
  .hero__bottom { margin-top: 32px; }
  .hero__scroll { display: none; }
  .panel { padding: 28px 22px; border-radius: 22px; gap: 24px; }
  .panel__num { top: 18px; right: 22px; }
  .panel__text { font-size: 16px; }
  .panel__visual { min-height: 240px; }
  .bars { height: 200px; }
  .agency__card { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { min-height: 0; }
  .why__item h3 { margin-top: 28px; }
  .contact__links { grid-template-columns: 1fr; margin-top: 48px; }
  .big-link { padding: 24px; }
  .big-link__value { font-size: 18px; }
  .big-link__arrow { top: 20px; right: 22px; font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
  .js .preloader { display: none; }
  .grain { display: none; }
  .term__body > span { opacity: 1; }
  .vis-1c__line { stroke-dashoffset: 0; }
}
