:root {
  --ink: #08111d;
  --navy: #10233d;
  --blue: #1868ff;
  --cyan: #50e1ff;
  --acid: #d7ff42;
  --paper: #f5f2ea;
  --line: rgba(8, 17, 29, 0.16);
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -50px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}
.site-shell {
  overflow: hidden;
}
.site-header,
.hero,
.section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 18px/1 var(--display);
  letter-spacing: -0.06em;
}
.brand b {
  color: var(--blue);
}
.brand-mark {
  position: relative;
  width: 25px;
  height: 25px;
  display: inline-block;
  transform: rotate(30deg) skewY(-6deg);
}
.brand-mark i {
  position: absolute;
  display: block;
  background: var(--blue);
}
.brand-mark i:nth-child(1) {
  width: 11px;
  height: 25px;
  left: 0;
  top: 0;
}
.brand-mark i:nth-child(2) {
  width: 11px;
  height: 11px;
  left: 14px;
  top: 0;
  background: var(--cyan);
}
.brand-mark i:nth-child(3) {
  width: 11px;
  height: 11px;
  left: 14px;
  bottom: 0;
  background: var(--ink);
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font: 500 12px/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
nav a:hover,
.footer-contact a:hover {
  color: var(--blue);
}
.hero {
  position: relative;
  min-height: 610px;
  padding: 95px 0 76px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc((100vw - min(1180px, calc(100vw - 48px))) / -2);
  right: calc((100vw - min(1180px, calc(100vw - 48px))) / -2);
  background: linear-gradient(125deg, #e1e8ed 0%, #edf0e8 48%, #d7e8ec 100%);
}
.eyebrow,
.card-label,
.footer-label {
  margin: 0 0 16px;
  color: #45627a;
  font: 500 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.065em;
}
h1 {
  max-width: 700px;
  margin-bottom: 25px;
  font-size: clamp(55px, 7.2vw, 96px);
  line-height: 0.94;
}
h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero-intro {
  max-width: 530px;
  margin-bottom: 32px;
  color: #344961;
  font-size: 18px;
  line-height: 1.64;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  font: 700 12px/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.button-primary {
  min-height: 52px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}
.button-text {
  min-height: 52px;
  padding: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero-art {
  position: relative;
  height: 420px;
}
.hero-art img {
  position: absolute;
  top: 10px;
  right: -25px;
  width: min(480px, 110%);
  height: auto;
  filter: drop-shadow(0 18px 20px rgba(8, 17, 29, 0.14));
}
.orbit {
  position: absolute;
  border: 1px solid rgba(8, 17, 29, 0.55);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.orbit-one {
  width: 380px;
  height: 155px;
  top: 125px;
  right: -4px;
}
.orbit-two {
  width: 290px;
  height: 290px;
  top: 56px;
  right: 42px;
  border-color: rgba(24, 104, 255, 0.55);
}
.dimension-cube {
  position: absolute;
  top: 137px;
  right: 130px;
  width: 168px;
  height: 168px;
  transform: rotate(30deg) skewY(-15deg);
}
.dimension-cube span {
  position: absolute;
  display: block;
}
.dimension-cube span:nth-child(1) {
  inset: 0;
  background: var(--blue);
  clip-path: polygon(0 0, 53% 18%, 53% 100%, 0 82%);
}
.dimension-cube span:nth-child(2) {
  inset: 0;
  background: var(--cyan);
  clip-path: polygon(53% 18%, 100% 0, 100% 82%, 53% 100%);
}
.dimension-cube span:nth-child(3) {
  left: 0;
  top: 0;
  width: 100%;
  height: 52%;
  background: var(--acid);
  clip-path: polygon(0 0, 53% 18%, 100% 0, 53% 32%);
}
.hero-art p {
  position: absolute;
  right: 10px;
  bottom: 6px;
  margin: 0;
  font: 500 12px/1.25 var(--mono);
  letter-spacing: 0.08em;
}
.section {
  padding: 114px 0;
}
.section-heading {
  max-width: 610px;
  margin-bottom: 48px;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.98;
}
.section-heading > p:last-child,
.about-copy > p:not(.eyebrow) {
  color: #526371;
  font-size: 16px;
  line-height: 1.7;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project-card {
  position: relative;
  min-height: 345px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
a.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 0 rgba(8, 17, 29, 0.14);
}
.project-card h3 {
  max-width: 430px;
  margin: 16px 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.06;
}
.project-card p:not(.card-label) {
  max-width: 415px;
  color: #536572;
  line-height: 1.65;
}
.card-link {
  z-index: 1;
  margin-top: auto;
  font: 500 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.card-link span {
  font-size: 16px;
}
.service-card {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}
.service-card .card-label,
.service-card p:not(.card-label) {
  color: #b9c7d2;
}
.service-card .card-link {
  color: var(--acid);
}
.service-symbol {
  position: absolute;
  right: -25px;
  bottom: -118px;
  color: rgba(80, 225, 255, 0.22);
  font: 400 360px/0.8 var(--display);
}
.blklst-card {
  color: #f5f5f5;
  background: #0a0a0a;
}
.blklst-card:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 24px,
    #2d2d2d 25px 26px
  );
}
.blklst-card .card-label,
.blklst-card .card-description {
  color: #aaa;
}
.card-logo {
  position: relative;
  display: block;
  margin-top: auto;
  margin-bottom: 14px;
}
.blklst-logo {
  font: 800 clamp(57px, 8vw, 91px)/0.8 var(--display);
  letter-spacing: -0.12em;
}
.games-card {
  color: #eff7ff;
  background: radial-gradient(
    circle at 72% 14%,
    #1b9fc4 0,
    #092c67 26%,
    #050a28 67%
  );
}
.games-card:after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 2px solid #48e4ff;
  transform: rotate(45deg);
  opacity: 0.55;
}
.games-card .card-label,
.games-card .card-description {
  color: #a7d9ff;
}
.games-logo {
  font: 500 clamp(37px, 4.5vw, 56px)/0.83 var(--display);
}
.games-logo b {
  color: var(--cyan);
}
.vera-card {
  color: var(--ink);
  background: #d4e6ee;
}
.vera-card:before {
  content: "";
  position: absolute;
  right: 35px;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(24, 104, 255, 0.32);
  box-shadow:
    16px 0 0 rgba(24, 104, 255, 0.12),
    32px 0 0 rgba(24, 104, 255, 0.07);
  transform: skewX(-22deg);
}
.vera-card .card-description {
  color: #4d6172;
}
.vera-logo {
  color: var(--blue);
  font: 700 clamp(51px, 6vw, 72px)/0.85 var(--display);
}
.vera-logo span {
  color: var(--ink);
}
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 105px);
  padding-top: 40px;
}
.about-photo-wrap {
  position: relative;
}
.about-photo-wrap:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 24px;
  left: 24px;
  background: var(--cyan);
}
.about-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1.09;
  object-fit: cover;
  object-position: 45% center;
  filter: saturate(0.9) contrast(1.04);
}
.photo-tag {
  position: absolute;
  right: -28px;
  bottom: 30px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--acid);
  font: 500 11px/1.35 var(--mono);
  text-transform: uppercase;
}
.about-copy > p:not(.eyebrow) {
  max-width: 560px;
}
.newsletter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  align-items: end;
}
.newsletter h2 {
  margin-bottom: 0;
}
.newsletter-form label {
  display: block;
  margin-bottom: 9px;
  font: 500 11px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-row {
  display: flex;
}
.form-row input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 15px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-right: 0;
  outline-offset: 3px;
  background: transparent;
  font: 500 16px var(--body);
}
.newsletter .button {
  flex: 0 0 auto;
  box-shadow: none;
}
.newsletter .button:hover {
  transform: none;
}
.newsletter-status {
  min-height: 22px;
  margin: 11px 0 2px;
  color: #42626d;
  font-size: 13px;
}
.newsletter-status.success {
  color: #04715f;
}
.newsletter-status.error {
  color: #b12626;
}
.form-note {
  margin: 0;
  color: #667985;
  font-size: 12px;
  line-height: 1.5;
}
.site-footer {
  padding-top: 44px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 62px;
}
.footer-brand {
  margin-bottom: 16px;
}
.footer-top > div > p {
  margin: 0;
  color: #667985;
  font-size: 13px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-contact .footer-label {
  margin: 0 0 3px;
}
.footer-contact a {
  font: 600 16px/1.3 var(--display);
  text-decoration: none;
}
.footer-contact a:last-child {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: #667985;
  font: 400 10px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 760px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }
  .site-header {
    min-height: 75px;
  }
  nav {
    gap: 13px;
  }
  nav a {
    font-size: 10px;
  }
  .hero {
    min-height: 0;
    padding: 62px 0 30px;
    display: block;
  }
  h1 {
    font-size: clamp(48px, 15vw, 70px);
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-art {
    height: 255px;
    margin-top: 20px;
    transform: scale(0.82);
    transform-origin: right top;
    width: 122%;
  }
  .project-grid,
  .about,
  .newsletter {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 300px;
  }
  .section {
    padding: 78px 0;
  }
  .about {
    padding-top: 10px;
  }
  .about-photo-wrap {
    width: calc(100% - 24px);
  }
  .photo-tag {
    right: -20px;
  }
  .newsletter {
    gap: 31px;
  }
  .form-row {
    display: block;
  }
  .form-row input {
    width: 100%;
    border-right: 1px solid var(--ink);
    border-bottom: 0;
  }
  .newsletter .button {
    width: 100%;
  }
  .footer-top,
  .footer-bottom {
    display: block;
  }
  .footer-contact {
    margin-top: 38px;
  }
  .footer-bottom p + p {
    margin-top: 8px;
  }
}
@media (max-width: 390px) {
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    transform: scale(0.8) rotate(30deg) skewY(-6deg);
    margin-right: -2px;
  }
  nav {
    gap: 9px;
  }
  nav a {
    font-size: 9px;
  }
}
