/* Syne retired (spec 027) — the holding page wordmark now uses Space Grotesk. */

:root {
  color-scheme: dark;
  --shift-x: 0px;
  --shift-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --light-x: 50%;
  --light-y: 50%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #000;
  color: #fff;
  cursor: default;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.holding {
  position: fixed;
  inset: 0;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(255, 255, 255, 0.055), transparent 29%),
    radial-gradient(ellipse at 50% 48%, #090909 0%, #030303 44%, #000 78%);
}

.holding::before,
.holding::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.holding::before {
  width: min(118vw, 118vh);
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 21%, rgba(255, 255, 255, 0.035) 31%, transparent 42% 71%, rgba(255, 255, 255, 0.025) 82%, transparent 92%);
  filter: blur(54px);
  -webkit-mask-image: radial-gradient(circle, #000 0 68%, transparent 71%);
  mask-image: radial-gradient(circle, #000 0 68%, transparent 71%);
  opacity: 0.72;
  animation: halo-turn 32s linear infinite;
}

.holding::after {
  inset: -40%;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.11) 0 0.45px, transparent 0.7px 5px),
    repeating-radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0 0.35px, transparent 0.65px 6px);
  background-size: 19px 23px, 29px 31px;
  mix-blend-mode: screen;
  opacity: 0.035;
  transform: translate3d(0, 0, 0);
  animation: grain-drift 9s steps(6, end) infinite;
}

.data-flock {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  touch-action: none;
  mix-blend-mode: difference;
}

.orb-dev-motes {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.76;
  pointer-events: none;
  mix-blend-mode: difference;
}

.wordmark-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  padding: max(24px, env(safe-area-inset-top)) env(safe-area-inset-right) max(24px, env(safe-area-inset-bottom)) env(safe-area-inset-left);
  perspective: 900px;
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: transform;
}

.wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, #787878 0%, #f7f7f7 20%, #fff 46%, #a4a4a4 69%, #f5f5f5 100%);
  background-position: 50% 50%;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 0.025em rgba(255, 255, 255, 0.28)) drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.055));
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 15.2vw, 80rem);
  font-style: normal;
  font-weight: 800;
  font-synthesis: none;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.045em;
  line-height: 0.78;
  white-space: nowrap;
  animation: wordmark-enter 1.5s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: filter, opacity, transform, background-position;
}

.enter-system {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: max(34px, calc(env(safe-area-inset-bottom) + 22px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 12px 36px rgba(0, 0, 0, 0.28);
  font-family: var(--basileus-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  animation: enter-control 1s 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.enter-system::before {
  width: 5px;
  height: 5px;
  margin-right: 13px;
  border-radius: 0;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.enter-system:hover,
.enter-system:focus-visible {
  color: #000;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff, 0 16px 42px rgba(255, 255, 255, 0.12);
  outline: none;
  transform: translateX(-50%) translateY(-2px);
}

.js body[data-ready="false"] .wordmark {
  opacity: 0;
  animation-play-state: paused;
}

.js body[data-ready="false"] .enter-system {
  opacity: 0;
  animation-play-state: paused;
}

::selection {
  background: #fff;
  color: #000;
}

@keyframes wordmark-enter {
  0% {
    opacity: 0;
    filter: blur(16px) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    letter-spacing: -0.1em;
    transform: scale(0.972);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 0.025em rgba(255, 255, 255, 0.28)) drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.055));
    letter-spacing: -0.045em;
    transform: scale(1);
  }
}

@keyframes enter-control {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes halo-turn {
  to { transform: rotate(1turn); }
}

@keyframes grain-drift {
  0% { transform: translate3d(-1.5%, -1%, 0); }
  33% { transform: translate3d(1%, 0.5%, 0); }
  66% { transform: translate3d(-0.5%, 1.5%, 0); }
  100% { transform: translate3d(1.5%, -0.5%, 0); }
}

@media (max-aspect-ratio: 3 / 4) {
  .enter-system {
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
    min-width: 122px;
    min-height: 44px;
  }

  .orb-dev-motes {
    opacity: 0.78;
  }

  .data-flock {
    opacity: 0.92;
  }

  .holding::before {
    width: 118vh;
  }
}

@media (forced-colors: active) {
  body,
  .holding {
    background: Canvas;
  }

  .wordmark {
    color: CanvasText;
    background: none;
    -webkit-text-fill-color: CanvasText;
  }

  .enter-system {
    color: LinkText;
    background: Canvas;
    border-color: LinkText;
  }

  .orb-dev-motes,
  .data-flock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holding::before,
  .holding::after,
  .wordmark,
  .enter-system {
    animation: none;
  }

  .wordmark-stage {
    transform: none;
    transition: none;
  }

  .enter-system {
    transition: none;
  }

  .data-flock {
    opacity: 0.96;
  }

  .orb-dev-motes {
    opacity: 0.66;
  }
}
