@font-face {
  font-family: "Onest";
  src: url("./assets/fonts/Onest-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f3f1fa;
  background: #262632;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #262632;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(74, 63, 111, 0.16), transparent 46%),
    linear-gradient(145deg, #2a2d36 0%, #262632 50%, #1e1f25 100%);
}

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

.site-header {
  width: min(100% - 48px, 1120px);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 15px;
  line-height: 1;
}

.brand {
  font-weight: 760;
  letter-spacing: -0.035em;
}

.projects-link {
  color: #d4d0dd;
  font-weight: 540;
}

.brand:hover,
.projects-link:hover {
  color: #ffffff;
}

.brand:focus-visible,
.projects-link:focus-visible {
  outline: 2px solid #a787ff;
  outline-offset: 5px;
  border-radius: 2px;
}

main {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding: 24px 24px 56px;
}

.coming-soon {
  width: min(100%, 980px);
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3vh, 36px);
}

.coming-soon img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  max-height: min(67svh, 620px);
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 36px);
    min-height: 58px;
    font-size: 14px;
  }

  main {
    min-height: calc(100svh - 58px);
    padding: 12px 18px 34px;
  }

  .coming-soon {
    gap: 20px;
  }

  .coming-soon img {
    width: 100%;
    max-height: calc(100svh - 150px);
  }

  h1 {
    font-size: 24px;
  }
}

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