@import url(https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap);
@font-face {
  font-family: BiggerDisplay;
  src: url("/fonts/BiggerDisplay.otf") format("opentype");
}
.text-center {
  text-align: center;
}

* {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
}

:root {
  --highlight-color: #f40c3f;
  --background-color: #000;
  --secondary-color: #1f0107;
  --placeholder-color: rgba(223, 220, 255, 0.3);
  --text-color: rgb(223, 220, 255);
  --max-width: 1400px;
  --tertiary-color: #000;
  --bd: "BiggerDisplay", Helvetica, Arial, sans-serif;
}

body {
  font-family: "Instrument Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--background-color);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: grid;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "content" "footer";
}

body::before {
  content: "";
  background-image: url("/images/grid.svg");
  background-repeat: repeat;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

a {
  color: var(--highlight-color);
  text-decoration: none;
}

.buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.button {
  padding: 10px 15px;
  background-color: var(--highlight-color);
  color: var(--secondary-color);
  border: 0;
  outline: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.button:hover {
  background-color: #d60d38;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.backdrop.open {
  pointer-events: all;
  opacity: 1;
}
.backdrop > img {
  max-width: 1400;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.primary-navigation {
  background-color: var(--highlight-color);
  color: var(--text-color);
  position: relative !important;
  overflow: hidden;
}
.primary-navigation > .handler {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.primary-navigation > .handler > a.logo {
  aspect-ratio: 1.1/1;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--bd);
  line-height: 42px;
  text-transform: uppercase;
  font-size: 42px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.primary-navigation > .handler > a.logo > span {
  display: block;
}
.primary-navigation > .handler > .links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.primary-navigation > .handler > .links > a {
  color: var(--secondary-color);
  padding: 10px 15px;
  display: inline-block;
}
.primary-navigation > .handler > .links > button {
  background-color: transparent;
  color: var(--secondary-color);
  border: 0;
  outline: none;
  cursor: pointer;
  padding: 10px;
}
.primary-navigation .search {
  background-color: var(--text-color);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}
.primary-navigation .search > input {
  background-color: transparent;
  color: var(--secondary-color);
  border: 0;
  outline: none;
  min-width: 50%;
  border-bottom: 1px solid var(--secondary-color);
  padding: 8px 15px;
}

footer {
  margin-top: 64px;
  background-color: var(--highlight-color);
  color: var(--secondary-color);
  padding: 64px;
}
footer a {
  color: var(--secondary-color);
}
footer > .inner-footer {
  max-width: var(--max-width);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  footer > .inner-footer {
    flex-direction: column;
  }
}
footer > .inner-footer > .left {
  display: flex;
  flex-direction: column;
  flex: 1;
}
footer > .inner-footer > .left > .links {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
footer > .inner-footer > .left > .links > a {
  display: block;
  font-size: 18px;
}
footer > .inner-footer > .left > .links > a > svg {
  width: 24px;
  height: 24px;
}
footer > .inner-footer > .right {
  flex: 1;
}

main {
  z-index: 2;
}

section.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 45px 0;
  grid-area: content;
}
@media screen and (max-width: 1024px) {
  section.main-content {
    padding: 20px;
  }
}
section.main-content header {
  margin: 0 0 64px 0;
}
section.main-content header.has-image {
  background-image: var(--image);
  background-size: cover;
  background-position: center center;
  position: relative;
  padding: 20px 0;
  border-radius: 18px;
  outline: 1px solid var(--highlight-color);
}
section.main-content header.has-image:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
}
section.main-content header.has-image > h1,
section.main-content header.has-image > p,
section.main-content header.has-image > .metadata {
  z-index: 9;
  position: relative;
}
section.main-content header > h1 {
  font-family: "BiggerDisplay", Helvetica, Arial, sans-serif;
  color: var(--text-color);
  font-size: 103.067px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  section.main-content header > h1 {
    font-size: 64px;
  }
}
@media screen and (max-width: 768px) {
  section.main-content header > h1 {
    font-size: 48px;
  }
}
section.main-content header > p {
  color: var(--text-color);
  font-size: 24px;
  text-align: center;
}
section.main-content header > .metadata {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 40px 0;
}
section.main-content header > .metadata > .image > img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  outline: 3px solid var(--highlight-color);
}
section.main-content header > .metadata > div a {
  color: var(--highlight-color);
  text-decoration: none;
  display: block;
  font-weight: bold;
}
section.main-content header > .metadata > div > time,
section.main-content header > .metadata > div > span {
  color: var(--text-color);
  font-size: 16px;
}
section.main-content header > .links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
section.main-content header > .links > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: bold;
}
section.main-content > .inner-content {
  max-width: 800px;
  margin: 0 auto;
}

.main-content.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.main-content.split > .left > .image {
  margin: 0 auto;
  max-width: 400px;
}
.main-content.split > .left > .image > img {
  width: 100%;
  border-radius: 50%;
}
@media screen and (max-width: 1024px) {
  .main-content.split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .main-content.split > .left > .image {
    max-width: 200px;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
form .hidden {
  display: none;
}
form > .item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
form > .item > label {
  color: var(--text-color);
  font-weight: bold;
}
form > .item > input,
form > .item > textarea {
  padding: 20px 20px;
  border: 2px solid var(--highlight-color);
  background-color: var(--secondary-color);
  color: var(--secondary-color);
  outline: none;
  border-radius: 8px;
  min-width: 100%;
  color: var(--text-color);
  font-family: "Instrument Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
}
form > .item > input::-moz-placeholder, form > .item > textarea::-moz-placeholder {
  color: var(--placeholder-color);
}
form > .item > input::placeholder,
form > .item > textarea::placeholder {
  color: var(--placeholder-color);
}
form button {
  padding: 10px 15px;
  background-color: var(--highlight-color);
  color: var(--secondary-color);
  border: 0;
  outline: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.blog-grid .blog-card {
  display: block;
  border: 1px solid var(--highlight-color);
  border-radius: 18px;
  box-shadow: 0 0 0px var(--highlight-color);
  transition: box-shadow 0.3s ease-in-out;
  background-color: #1a1a1a;
}
.blog-grid .blog-card > .image {
  display: block;
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: var(--image) #fff;
  background-size: cover;
  background-position: center;
}
.blog-grid .blog-card.oversized {
  grid-column: span 3;
}
@media screen and (max-width: 1024px) {
  .blog-grid .blog-card.oversized {
    grid-column: span 1;
  }
}
.blog-grid .blog-card > .details {
  padding: 20px;
  color: var(--text-color);
  transition: color 0.3s ease-in-out;
}
.blog-grid .blog-card > .details h2, .blog-grid .blog-card > .details p {
  margin: 0;
}
.blog-grid .blog-card:hover {
  box-shadow: 0 0 10px var(--highlight-color);
}
.blog-grid .blog-card:hover > .details {
  color: var(--highlight-color);
}

.blog-content .image-container > img,
.blog-content img {
  max-width: 100%;
  border-radius: 18px;
  width: 100%;
}
.blog-content .video-container > video {
  width: 100%;
  border-radius: 18px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}
.image-grid > .image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--image) #fff;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.share-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary-color);
  border-radius: 18px;
  padding: 20px 30px;
}
.share-links > .title {
  font-weight: bold;
  color: var(--highlight-color);
  text-transform: uppercase;
}
.share-links > .services {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.share-links > .services > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: var(--highlight-color);
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background-color: var(--text-color);
}
.share-links > .services > a svg {
  width: 24px;
  height: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px 0;
}
@media screen and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.projects-grid .project-card {
  display: block;
  border: 1px solid var(--highlight-color);
  border-radius: 18px;
  box-shadow: 0 0 0px var(--highlight-color);
  transition: box-shadow 0.3s ease-in-out;
  background-color: #1a1a1a;
}
.projects-grid .project-card > .image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: var(--image) #fff;
  background-size: cover;
  background-position: center;
}
.projects-grid .project-card.oversized {
  grid-column: span 3;
}
.projects-grid .project-card.oversized > .image {
  height: 500px;
}
.projects-grid .project-card > .details {
  padding: 20px;
  color: var(--text-color);
  transition: color 0.3s ease-in-out;
}
.projects-grid .project-card > .details h2,
.projects-grid .project-card > .details p {
  margin: 0;
}
.projects-grid .project-card:hover {
  box-shadow: 0 0 10px var(--highlight-color);
}
.projects-grid .project-card:hover > .details {
  color: var(--highlight-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 33px;
}
@media screen and (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
.skills-grid > .skill {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 18px;
  gap: 24px;
  padding: 9px 12px;
  outline: 0px solid var(--highlight-color);
  transition: outline-width 0.3s ease-in-out;
}
.skills-grid > .skill > .icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--icon) var(--tertiary-color);
  background-size: 50%;
  background-position: center center;
  background-repeat: no-repeat;
}
.skills-grid > .skill > .title {
  color: var(--highlight-color);
  font-size: 18px;
  font-weight: bold;
}
.skills-grid > .skill:hover {
  outline-width: 4px;
}

.infinite-marquee {
  font-family: var(--bd);
  color: #EEE;
  text-transform: uppercase;
  font-size: 20vw;
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.infinite-marquee .infinite-marquee--inner {
  -webkit-font-smoothing: antialiased;
  display: flex !important;
  flex: auto;
  flex-direction: row;
  gap: 10vw;
}
.infinite-marquee .infinite-marquee--inner > span {
  flex-shrink: 0;
  font-smooth: always;
  line-height: 0.9;
  display: block;
}

.project-slider {
  overflow-x: hidden;
  margin: 40px 0;
}
.project-slider > .wrapper {
  display: flex;
  gap: 20px;
}
.project-slider > .wrapper > .text {
  font-family: var(--bd);
  color: #EEE;
  text-transform: uppercase;
  font-size: 10vw;
  padding: 32px 5vw;
  line-height: 0.9;
}
.project-slider > .wrapper > .image {
  min-width: 25vw;
  aspect-ratio: 1/1;
  border-radius: 18px;
  background: var(--image) #fff;
  background-size: cover;
  background-position: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px 0;
}
@media screen and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.stats-grid > .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.stats-grid > .stat > .number {
  color: var(--highlight-color);
  font-size: 86px;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--bd);
}
.stats-grid > .stat > .label {
  color: var(--text-color);
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
