@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-italic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #101010;
  --line: #404040;
  --grey: #878787;
  --soon: #383838;
  --dot: #ffffff;
  --u: clamp(0.5px, calc(100vw / 1920), 1.4px);
  --side: calc(140 * var(--u));
  --bar: calc(138 * var(--u));
}

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

html[lang="fr"] [lang="en"],
html[lang="en"] [lang="fr"] {
  display: none;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side);
  grid-template-rows: 1fr var(--bar);
  background: var(--bg);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: absolute;
  background: var(--line);
  pointer-events: none;
}

body::before {
  top: 0;
  bottom: 0;
  right: var(--side);
  width: 2px;
}

body::after {
  left: 0;
  right: 0;
  bottom: var(--bar);
  height: 2px;
}

main {
  padding: calc(64 * var(--u)) calc(40 * var(--u)) calc(40 * var(--u)) calc(67 * var(--u));
}

.logo {
  display: block;
  width: calc(256 * var(--u));
  height: auto;
  color: var(--grey);
}

h1 {
  margin: calc(80 * var(--u)) 0 0;
  font-size: calc(89 * var(--u));
  font-weight: 800;
  line-height: 0.91;
  text-transform: uppercase;
}

.dots {
  white-space: nowrap;
}

.dots span {
  animation: 1.8s ease-in-out infinite both;
}

.dots span:nth-child(1) {
  animation-name: dot-1;
}

.dots span:nth-child(2) {
  animation-name: dot-2;
}

.dots span:nth-child(3) {
  animation-name: dot-3;
}

@keyframes dot-1 {
  0%, 5% { opacity: 0; }
  15%, 75% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes dot-2 {
  0%, 20% { opacity: 0; }
  30%, 75% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes dot-3 {
  0%, 35% { opacity: 0; }
  45%, 75% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto var(--side);
  align-items: center;
}

.soon {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  margin: 0;
  padding-left: calc(42 * var(--u));
  color: var(--soon);
  font-size: calc(44 * var(--u));
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.dot {
  flex: none;
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  border-radius: 50%;
  background: var(--dot);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.networks {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--u));
  padding-right: calc(40 * var(--u));
}

.networks a {
  display: flex;
  color: var(--grey);
  transition: color 0.2s;
}

.networks a:hover,
.networks a:focus-visible {
  color: #fff;
}

.networks svg {
  width: auto;
  height: calc(18 * var(--u));
}

.networks .youtube {
  height: calc(15 * var(--u));
}

.corner {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--grey);
}

.corner svg {
  width: calc(52 * var(--u));
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .dots span,
  .dot {
    animation: none;
  }
}

@media (max-width: 640px) {
  :root {
    --side: 56px;
    --bar: 56px;
  }

  body::before {
    top: auto;
    height: var(--bar);
  }

  main {
    grid-column: 1 / -1;
    padding: 32px 16px;
  }

  h1 {
    margin-top: 48px;
    font-size: min(calc(91 * var(--u)), 10.4vw);
  }

  .soon {
    gap: 7px;
    padding-left: 16px;
    font-size: min(calc(44 * var(--u)), 4.2vw);
  }

  .networks {
    gap: 12px;
    padding-right: 12px;
  }

  .networks svg {
    height: 13px;
  }

  .networks .youtube {
    height: 11px;
  }

  .corner svg {
    width: 24px;
  }
}
