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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #0e0e0e;
  color: #fff;
  font-family: "Roboto Mono", monospace;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* —— Media grid (first viewport) —— */

.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1a1a1a;
}

.cell img,
.cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cell-video video {
  /* Match Webflow background-video cover behavior */
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cell-video video {
    display: none;
  }

  .cell-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
    background-image: inherit;
  }

  .logo-mark {
    animation: none;
  }
}

/* —— Footer —— */

.footer-section {
  background-color: #0e0e0e;
  padding: 50px 100px 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.footer-description {
  margin: 0 0 10px;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 300;
  line-height: 16px;
  text-align: left;
}

.footer-copyright {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 300;
  line-height: 16px;
}

.footer-copyright strong {
  font-weight: 300;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  align-self: start;
}

.logo-mark {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  animation: logo-pulse 3.5s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.footer-links {
  text-align: right;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.footer-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 300;
  line-height: 16px;
  transition: font-weight 0.15s ease;
}

.footer-link:hover {
  font-weight: 500;
}

/* —— Responsive —— */

@media screen and (max-width: 991px) {
  .footer-section {
    padding: 50px;
  }

  .footer-grid {
    gap: 40px;
  }

  .footer-description,
  .footer-link {
    font-size: 12px;
    line-height: 12px;
  }
}

@media screen and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-logo {
    justify-self: start;
  }

  .footer-links {
    justify-self: end;
  }
}

@media screen and (max-width: 479px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-section {
    padding: 50px 40px 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 23px;
  }

  .footer-description {
    font-size: 12px;
    line-height: 12px;
  }

  .footer-link {
    font-size: 12px;
    line-height: 15px;
  }

  .footer-link:hover {
    font-weight: 700;
  }
}
