@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:wght@400;700&display=swap');


:root {
  --background: #050707;
  --panel: #090c0c;

  --text: #e8e2d2;
  --muted: #98998f;

  --cyan: #53d4d1;
  --purple: #9b63df;

  --border: #4e4a3d;

  --pixel: "Press Start 2P", monospace;
  --mono: "Space Mono", monospace;
}


/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(83, 212, 209, 0.035),
      transparent 25%
    ),
    var(--background);

  color: var(--text);

  font-family: var(--mono);
}


body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    radial-gradient(
      rgba(255, 255, 255, 0.11) 1px,
      transparent 1px
    );

  background-size: 90px 90px;

  opacity: 0.25;

  z-index: -1;
}


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


/* MAIN SITE CONTAINER */

.site-shell {
  width: min(1500px, 94%);
  margin: 0 auto;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--border);
}


.logo {
  font-family: var(--pixel);

  font-size: 18px;

  letter-spacing: 1px;
}


.logo span {
  color: var(--cyan);
}


.terminal-label {
  color: var(--cyan);

  font-size: 14px;

  letter-spacing: 2px;
}


/* ========================================
   HERO
======================================== */

.hero {
  min-height: 500px;

  display: grid;

  grid-template-columns: 1.05fr 1fr;

  align-items: center;

  gap: 55px;

  padding: 35px 20px;
}


/* PIXEL ART */

.hero-art {
  position: relative;

  width: 100%;
  height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: var(--panel);

  border: 1px solid var(--border);
}


.workspace-art {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  image-rendering: pixelated;
}


/* ========================================
   HERO TEXT
======================================== */

.hero-content {
  width: 100%;

  max-width: 620px;
}


.eyebrow {
  margin-bottom: 22px;

  font-size: 19px;
}


.hero h1 {
  margin-bottom: 25px;

  font-family: var(--pixel);

  font-size: clamp(40px, 5vw, 70px);

  line-height: 1.25;

  letter-spacing: 2px;
}


.cursor {
  color: var(--cyan);

  animation: blink 1s steps(1) infinite;
}


.role {
  margin-bottom: 27px;

  color: var(--cyan);

  font-family: var(--pixel);

  font-size: 12px;

  line-height: 1.8;
}


.intro {
  max-width: 590px;

  margin-bottom: 30px;

  color: #d5d0c4;

  font-size: 16px;

  line-height: 1.9;
}


.explore {
  display: inline-block;

  padding-bottom: 6px;

  color: var(--cyan);

  border-bottom: 2px dotted var(--cyan);

  letter-spacing: 1px;

  transition:
    color 0.2s,
    transform 0.2s;
}


.explore:hover {
  color: white;

  transform: translateX(5px);
}


/* ========================================
   NAVIGATION CARDS
======================================== */

.navigation-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 26px;

  padding: 42px 20px;

  border-top: 1px solid var(--border);
}


.nav-card {
  position: relative;

  min-height: 230px;

  padding: 25px;

  border: 1px solid var(--border);

  background:
    linear-gradient(
      145deg,
      rgba(83, 212, 209, 0.025),
      transparent
    );

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}


.nav-card:hover {
  transform: translateY(-7px);

  border-color: var(--cyan);

  background:
    linear-gradient(
      145deg,
      rgba(83, 212, 209, 0.08),
      transparent
    );
}


.nav-card.purple:hover {
  border-color: var(--purple);

  background:
    linear-gradient(
      145deg,
      rgba(155, 99, 223, 0.08),
      transparent
    );
}


.number {
  color: var(--cyan);

  font-family: var(--pixel);

  font-size: 13px;
}


.purple .number,
.purple .arrow {
  color: var(--purple);
}


.nav-card h2 {
  margin-top: 28px;

  font-family: var(--pixel);

  font-size: 15px;
}


.icon {
  margin-top: 35px;

  color: var(--cyan);

  font-size: 40px;
}


.purple .icon {
  color: var(--purple);
}


.arrow {
  position: absolute;

  left: 25px;
  bottom: 22px;

  color: var(--cyan);

  font-family: var(--pixel);
}


/* ========================================
   FOOTER
======================================== */

footer {
  min-height: 75px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  border-top: 1px solid var(--border);

  color: var(--muted);

  font-size: 13px;
}


footer span:first-child {
  color: var(--cyan);
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

  .hero {
    grid-template-columns: 1fr;

    gap: 35px;

    padding: 45px 20px 35px;
  }


  .hero-content {
    order: 1;

    max-width: 700px;
  }


  .hero-art {
    order: 2;

    height: 420px;
  }


  .navigation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ========================================
   PHONE
======================================== */

@media (max-width: 650px) {

  .site-shell {
    width: 92%;
  }


  .navbar {
    height: 70px;
  }


  .terminal-label {
    display: none;
  }


  .logo {
    font-size: 14px;
  }


  .hero {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 30px;

    padding: 40px 0 30px;
  }


  .hero-content {
    order: 1;
  }


  .hero-art {
    order: 2;

    width: 100%;
    height: 280px;
  }


  .workspace-art {
    object-fit: cover;
    object-position: center;
  }


  .eyebrow {
    font-size: 16px;
  }


  .hero h1 {
    font-size: 34px;

    line-height: 1.35;
  }


  .role {
    font-size: 9px;
  }


  .intro {
    font-size: 14px;

    line-height: 1.8;
  }


  .navigation-grid {
    grid-template-columns: 1fr;

    gap: 20px;

    padding: 35px 0;
  }


  .nav-card {
    min-height: 180px;
  }


  .icon {
    margin-top: 30px;
  }


  footer {
    flex-direction: column;

    justify-content: center;

    gap: 12px;

    padding: 20px 0;

    text-align: center;
  }

}