:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #080a12;
  --surface: #0d101a;
  --surface-raised: #111522;
  --text: #f2f3f8;
  --muted: #a0a6b8;
  --subtle: #6f768a;
  --line: rgb(255 255 255 / 9%);
  --accent: rgb(78 153 221 / 0.87);
  --content-width: 1180px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:disabled:hover {
  border-color: rgb(78 153 221 / 0.23);
}

::selection {
  background: var(--accent);
  color: #10130c;
}

.parallax-background {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: max(180vh, 1200px);
  pointer-events: none;
  background-color: #080a12;
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 0.51) 38%, #080a12 92%),
      url("/images/rg_anim.gif");
  background-repeat: no-repeat;
  background-position: center -400px;
  background-size: cover;
  transform: translate3d(0, var(--parallax-shift, 0px), 0);
  will-change: transform;
}

.header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 80px;
  width: 100%;
  background-color: rgba(8, 10, 18, var(--header-alpha, 0));
  border-bottom: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgb(255 255 255 / 9%);
  opacity: var(--header-alpha, 0);
  content: "";
  pointer-events: none;
}

.header-inner {
  width: min(calc(100% - 64px), var(--content-width));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 44px;
}

.logo-header {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.logo-header img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-header:hover {
  background: rgb(255 255 255 / 7%);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.nav-links a, .header-contact {
  color: #d0d4e0;
  font-size: 13px;
  letter-spacing: .015em;
}

a {
  color: inherit;
  transition: color 180ms ease;
}

a:hover {
  color: var(--accent);
}

#prices-nav {
  display: none;
}

.header-contact {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.header-contact span {
  color: var(--accent);
  font-size: 17px;
}

.hero {
  position: relative;
  z-index: 1;
  height: max(72vh, 540px);
  pointer-events: none;
}

.brand-title {
  position: fixed;
  z-index: 1;
  top: clamp(185px, 26vh, 270px);
  left: 50%;
  width: min(calc(100% - 32px), 1100px);
  margin: 0;
  transform: translate3d(-50%, var(--parallax-shift, 0px), 0);
  will-change: transform;
}
.brand-title h1 {
  color: #fff;
  font-size: clamp(62px, 11.3vw, 150px);
  font-weight: 760;
  line-height: .92;
  letter-spacing: -.064em;
  text-align: center;
  text-shadow: 0 8px 128px rgb(0 0 0 / 0.91);
  white-space: nowrap;
  margin-bottom: 16px;
}

.brand-title span {
  color: #4e99dd;
}

.hero-kicker {
  position: relative;
  top: 0;
  margin: 0;
  color: rgb(240 242 250 / 58%);
  font-size: 10px;
  letter-spacing: .29em;
  text-align: center;
}

.main {
  position: relative;
  z-index: 2;
  margin-top: 0;
  min-height: 100vh;
  padding: 88px 0 28px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  border-radius: 28px 28px 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgb(37 44 72 / 22%), transparent 35rem),
  var(--bg);
  box-shadow: 0 -28px 90px rgb(0 0 0 / 23%);
}

.main-inner {
  width: min(calc(100% - 64px), var(--content-width));
  margin-inline: auto;
}

section {
  scroll-margin-top: 112px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr .8fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 136px;
}

.section-labels {
  display: flex;
  flex-direction: column;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  color: #d1d5e2;
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8ff6a;
  box-shadow: 0 0 16px rgb(184 255 106 / 65%);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

h2, h3, p {
  overflow-wrap: anywhere;
}

.intro-copy h2, .section-heading h2, .contact-panel h2 {
  margin: 0;
  font-size: clamp(35px, 4.4vw, 58px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.055em;
}

.intro-copy h2 span, .section-heading h2 span, .contact-panel h2 span {
  color: var(--accent);
}

.lead {
  max-width: 630px;
  margin: 26px 0 29px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid #5283B1DE;
  color: var(--text);
  font-size: 13px;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link span {
  color: var(--accent);
  font-size: 17px;
}

.text-link:hover {
  gap: 30px;
  color: var(--accent);
}

.intro-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-top: 14px;
  text-align: right;
}

.orbit-mark {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgb(225 225 225 / 0.3);
  border-radius: 50%;
  color: var(--accent);
  font-size: 21px;
  letter-spacing: -.08em;
}

.orbit-mark::before, .orbit-mark::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(214 214 214 / 0.17);
  border-radius: 50%;
  content: "";
}

.orbit-mark::after {
  inset: -7px 15px;
  transform: rotate(48deg);
}

.orbit-mark i {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.intro-aside p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.aside-index {
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: .12em;
}

.general-section {
  padding-bottom: 132px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.section-note {
  max-width: 400px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.project-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.project-card {
  width: 360px;
  padding: 12px 12px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(255 255 255 / 3%), rgb(255 255 255 / .7%));
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgb(78 153 221 / 0.5);
}

.project-link {
  color: var(--text);
  background-color: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(78 153 221 / 0.23);
  border-radius: 6px;
  padding: 2px 6px;
  cursor: pointer;
  position: relative;
  bottom: 3px;
  font-size: 13px;
  text-wrap: nowrap;
  flex-grow: 0;
}

.project-link:hover {
  border-color: var(--accent);
}

.project-link.disabled {
  cursor: default;
  color: var(--subtle);
  border-color: transparent;
  transition: none;
}

.project-more {
  display: block;
  width: calc(100% - 8px);
  text-align: end;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-header h3 {
  flex-grow: 1;
}

.project-art {
  position: relative;
  display: flex;
  height: 230px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  isolation: isolate;
  pointer-events: none;
  background-color: #080a12;
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 18%) 38%, #080a12 92%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.feature-slides div {
  transition: opacity 0.8s ease-in-out;
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 18%) 38%, rgb(8 10 18 / 0.92) 92%),
      var(--slide-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.slide-bg {
  opacity: 1;
  z-index: 1;
  --slide-image: url("/images/featured/chura/chura.jpg");
}

.slide-fg {
  opacity: 0;
  z-index: 2;
  --slide-image: url("/images/featured/chura/churagif1.gif");
}

.feature-a3 {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 0.49) 0%, rgb(6 8 15 / 0.55) 38%, #080a12 92%),
      url("/images/featured/a3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.feature-gmod {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 0.49) 0%, rgb(6 8 15 / 0.55) 38%, #080a12 92%),
      url("/images/featured/gmod.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.feature-source {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 0.49) 0%, rgb(6 8 15 / 0.55) 38%, #080a12 92%),
      url("/images/featured/hl2.jpg");
}

.feature-a3, .feature-gmod {
  img {
    width: 128px;
  }
}

.feature-source img {
  width: 256px;
}

.feature-atte {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 18%) 38%, #080a12 92%),
      url("/images/featured/3asretex.png");
}

.feature-kontora {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 18%) 38%, #080a12 92%),
      url("/images/rg_anim.gif");
}

.feature-pivo {
  background-image:
      linear-gradient(180deg, rgb(6 8 15 / 24%) 0%, rgb(6 8 15 / 18%) 38%, #080a12 92%),
      url("/images/featured/mpm.png");
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 2px 14px;
  color: var(--subtle);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-meta span:last-child {
  text-align: right;
  letter-spacing: 0;
  text-transform: none;
}

.project-card h3 {
  margin: 0 2px 10px;
  font-size: 20px;
  font-weight: 540;
  letter-spacing: -.035em;
}

.project-card p {
  margin: 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 54px minmax(190px, 1fr) minmax(220px, 2fr) 24px;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background-color 180ms ease;
}

.service-row:hover {
  padding-inline: 12px;
  background: rgb(255 255 255 / 2%);
}

.service-number {
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.service-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.service-row p {
  margin: 0;
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-arrow {
  color: var(--subtle);
  font-size: 20px;
  transition: color 180ms ease, transform 180ms ease;
}

.service-row:hover .service-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.contact-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgb(82 131 177 / 0.2);
  border-radius: 20px;
  background: radial-gradient(ellipse at 90% 75%, rgb(78 159 239 / 0.09), transparent 35%), linear-gradient(120deg, #111621, #0c1018 70%);
}

.contact-panel .eyebrow {
  margin-bottom: 16px;
}

.contact-panel h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(34px, 4.3vw, 55px);
}

.contact-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
  padding: 16px 20px;
  border-radius: 9px;
  background: var(--accent);
  color: #11160d;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  background: #6caeed;
}

.contact-button span {
  font-size: 17px;
}

.contact-decoration {
  position: absolute;
  right: 22%;
  bottom: -77px;
  color: rgb(34 55 74 / 0.4);
  font-size: 330px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 2px 10px;
  color: var(--subtle);
  font-size: 10px;
}

.footer-brand {
  color: #d7dbe6;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.footer-brand span {
  margin-left: 4px;
  color: var(--accent);
  font-size: 8px;
  vertical-align: top;
}

.site-footer a:last-child {
  transition: color 180ms ease;
}

.site-footer a:last-child:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .header-inner, .main-inner {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .header-inner {
    gap: 26px;
  }

  .section-grid {
    grid-template-columns: 1fr 2fr;
    gap: 25px;
  }

  .intro-aside {
    display: none;
  }

  .project-art {
    height: 190px;
  }

  .project-meta {
    flex-wrap: wrap;
  }

  .service-row {
    grid-template-columns: 36px minmax(160px, 1fr) minmax(170px, .9fr) 20px;
    gap: 14px;
  }

  .contact-panel {
    padding: 36px;
  }
}

@media (max-width: 640px) {
  .header {
    height: 70px;
  }

  .header-inner, .main-inner {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 18px;
  }

  .logo-header {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .logo-header img {
    width: 38px;
    height: 38px;
  }

  #prices-nav {
    display: unset;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .header-contact {
    display: none;
  }

  .hero {
    height: max(68vh, 500px);
  }

  .brand-title {
    top: clamp(180px, 27vh, 220px);
    font-size: clamp(54px, 12vw, 78px);
    letter-spacing: -.075em;
  }

  .hero-kicker {
    font-size: 8px;
    letter-spacing: .2em;
  }

  .main {
    margin-top: 0;
    padding-top: 24px;
    border-radius: 22px 22px 0 0;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 88px;
  }

  .section-label {
    font-size: 11px;
  }

  .intro-copy h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .lead {
    margin-top: 20px;
    font-size: 14px;
  }

  .portfolio-section, .services-section {
    padding-bottom: 88px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 9vw, 46px);
  }

  .section-note {
    margin-top: 19px;
    font-size: 12px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-art {
    height: 230px;
  }

  .project-card {
    padding: 10px 10px 20px;
  }

  .service-row {
    grid-template-columns: 30px 1fr 20px;
    gap: 11px;
    padding: 20px 0;
  }

  .service-row h3 {
    font-size: 16px;
  }

  .service-row p {
    grid-column: 2 / 3;
    grid-row: 2;
    font-size: 12px;
    max-width: 320px;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .contact-panel {
    min-height: 310px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 22px;
  }

  .contact-panel h2 {
    font-size: clamp(34px, 9vw, 45px);
  }

  .contact-button {
    margin-top: 16px;
  }

  .contact-decoration {
    right: 0;
    bottom: -60px;
    font-size: 220px;
  }

  .site-footer {
    flex-wrap: wrap;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
