@font-face {
  font-family: Allo;
  src: url('/assets/Allo-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #161616;
  color: #f6f5f1;
  font-family: Allo, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: #161616; background: #f6f5f1; }

main {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 48px 28px;
}

.message {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.047em;
  text-wrap: balance;
}

h1 > span { display: block; }
.wink { white-space: nowrap; letter-spacing: -0.065em; }

.brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 4.5vw, 64px);
  margin-top: 52px;
  color: #fff;
}

.brand { display: block; flex: 0 0 auto; }
.brand--arcane { width: 156px; height: auto; overflow: hidden; }
.brand--rue { width: 64px; height: 64px; filter: brightness(0) invert(1); }
.brand--odace { width: 115px; height: auto; filter: brightness(0) invert(1); }

.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, #1d1d1b 0%, #161616 66%);
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.65' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.trail {
  position: absolute;
  width: var(--length, 100px);
  height: 1px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #ffffff15 30%, #ffffff9c 99%, #fff);
  opacity: 0;
  transform: rotate(-35deg);
  animation: drift var(--duration, 13s) var(--delay, 0s) linear infinite;
}

.trail::after {
  content: '';
  position: absolute;
  top: -0.5px;
  right: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #ffffffb3;
  box-shadow: 0 0 7px 1px #ffffff33;
}

.trail--one { left: 9%; top: 26%; --length: 88px; --delay: -3s; --duration: 16s; }
.trail--two { left: 70%; top: 12%; --length: 132px; --delay: -8s; --duration: 20s; }
.trail--three { left: 84%; top: 66%; --length: 72px; --delay: -7s; --duration: 14s; }
.trail--four { left: 20%; top: 84%; --length: 116px; --delay: -11s; --duration: 19s; }
.trail--five { left: 57%; top: 91%; --length: 58px; --delay: -4s; --duration: 17s; }
.trail--six { left: 40%; top: 8%; --length: 48px; --delay: -13s; --duration: 23s; }

@keyframes drift {
  0% { opacity: 0; transform: translate(-65px, 45px) rotate(-35deg); }
  18%, 66% { opacity: 0.48; }
  85%, 100% { opacity: 0; transform: translate(95px, -66px) rotate(-35deg); }
}

@media (max-width: 600px) {
  main { padding: 40px 24px; }
  .message { max-width: 460px; }
  h1 { font-size: clamp(31px, 8.5vw, 46px); line-height: 1.18; letter-spacing: -0.045em; }
  h1 > span:first-child { max-width: 9em; margin-inline: auto; }
  .brands { gap: 28px; margin-top: 38px; }
  .brand--arcane { width: 106px; }
  .brand--rue { width: 49px; height: 49px; }
  .brand--odace { width: 83px; }
  .trail--one { left: 5%; top: 18%; }
  .trail--two { left: 77%; top: 20%; }
  .trail--three { left: 85%; top: 75%; }
  .trail--four { left: 9%; top: 85%; }
  .trail--five, .trail--six { display: none; }
}

@media (max-width: 359px) {
  main { padding-inline: 18px; }
  .brands { gap: 22px; }
  .brand--arcane { width: 95px; }
  .brand--rue { width: 45px; height: 45px; }
  .brand--odace { width: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  .trail { animation: none; opacity: 0.23; }
}
