/* Verinity — holding page. Single centered dark logo, seamless on near-black. */

:root {
  /* near-black matched to the logo image's edge tone */
  --bg: #0a0a0c;
  /* edge feathers — sized to stay clear of the logo artwork inside the image */
  --feather-x: 6%;
  --feather-y: 22%;
}

* { box-sizing: border-box; }

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

body {
  /* keep it pure black-on-black even before paint */
  background-color: var(--bg);
  color: #e9eaf0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}

.logo {
  display: block;
  width: min(86vw, 820px);
  height: auto;
  /* Feather all four edges so the image melts into the page background. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 var(--feather-x), #000 calc(100% - var(--feather-x)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--feather-y), #000 calc(100% - var(--feather-y)), transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0, #000 var(--feather-x), #000 calc(100% - var(--feather-x)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--feather-y), #000 calc(100% - var(--feather-y)), transparent 100%);
          mask-composite: intersect;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px) scale(0.992); }
  to   { opacity: 1; transform: none; }
}

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