@font-face {
  font-family: "Futura Medium";
  src: url("assets/futura-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --background: #ffffff;
  --foreground: #030303;
  --green: #00f413;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

.coming-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.top-panel {
  display: grid;
  grid-template-columns: 18% 45% 37%;
  align-items: start;
  gap: 0;
  width: 100%;
  padding: clamp(18px, 2.3vw, 34px) clamp(26px, 3.3vw, 58px) 0;
}

.mali-logo {
  width: min(100%, 270px);
  height: clamp(255px, 34vw, 430px);
  object-fit: contain;
  object-position: top left;
  margin-top: -8px;
}

.announcement {
  padding-top: clamp(76px, 6.5vw, 96px);
  font-family: "Futura Medium", Futura, "Century Gothic", Avenir, Arial, sans-serif;
  font-size: clamp(17px, 1.38vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.announcement p {
  margin: 0;
}

.announcement a {
  display: inline-block;
  margin-top: 0.18em;
  transition: color 160ms ease;
}

.announcement a:hover,
.announcement a:focus-visible {
  color: var(--green);
}

.announcement a:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 4px;
}

.socials {
  justify-self: stretch;
  min-width: 0;
  padding-top: clamp(52px, 4.5vw, 67px);
  padding-left: 7px;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  align-items: center;
  gap: clamp(22px, 2.4vw, 46px);
  margin-top: 0;
}

.social-row a {
  display: grid;
  place-items: center;
  width: clamp(48px, 4.2vw, 76px);
  height: clamp(48px, 4.2vw, 76px);
  color: #000000;
  transition: transform 160ms ease, color 160ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  color: var(--green);
  transform: translateY(-3px) rotate(-2deg);
}

.social-row a:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 5px;
}

.social-row svg,
.facebook-mask {
  width: 100%;
  height: 100%;
}

.facebook-mask {
  display: block;
  background: currentColor;
  -webkit-mask: url("assets/facebook.png") center / contain no-repeat;
  mask: url("assets/facebook.png") center / contain no-repeat;
}

@media (max-width: 1180px) {
  .top-panel {
    grid-template-columns: 180px 1fr;
    grid-template-areas:
      "logo copy"
      "logo socials";
    gap: 14px 42px;
  }

  .mali-logo {
    grid-area: logo;
  }

  .announcement {
    grid-area: copy;
    padding-top: 58px;
  }

  .socials {
    grid-area: socials;
    justify-self: start;
    padding-top: 0;
  }

  .social-row {
    width: min(540px, 100%);
  }
}

@media (max-width: 760px) {
  .coming-soon {
    min-height: 100svh;
    overflow: hidden;
  }

  .coming-soon::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 37%, rgba(255, 255, 255, 0.1) 64%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
  }

  .hero-image {
    object-position: 70% center;
  }

  .top-panel {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
      "logo copy"
      "socials socials";
    gap: 22px 18px;
    padding: 18px 18px 24px;
  }

  .mali-logo {
    grid-area: logo;
    width: 74px;
    height: 128px;
    margin-top: -1px;
  }

  .announcement {
    grid-area: copy;
    min-width: 0;
    padding-top: 7px;
  }

  .socials {
    grid-area: socials;
    justify-self: stretch;
    padding-top: 0;
  }

  .social-row {
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(16px, 5vw, 28px);
    width: 100%;
    max-width: 420px;
    margin-top: 13px;
  }

  .social-row a {
    width: clamp(43px, 11.5vw, 56px);
    height: clamp(43px, 11.5vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
