/* LoneWolfLabs — Coming Soon
   Palette taken from the official logo: dark navy, cyan, mint green, white.
   No external fonts, scripts or resources. */

:root {
  --navy-950: #040b14;
  --navy-900: #06121f;
  --navy-800: #0b1e33;
  --navy-700: #12304d;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.18);
  --mint: #5eead4;
  --mint-soft: rgba(94, 234, 212, 0.14);
  --white: #f2f7fb;
  --muted: #a9c0d4;
  --grid-line: rgba(94, 234, 212, 0.05);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--white);
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(34, 211, 238, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(94, 234, 212, 0.06), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  background-position: center, center, center, center, center;
  background-attachment: fixed;
}

/* ---------- Layout ---------- */

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 5vw, 3rem) 2rem;
  text-align: center;
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Logo ---------- */

.logo-wrap {
  position: relative;
  width: clamp(10rem, 42vw, 18rem);
  aspect-ratio: 1;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.logo-wrap--small {
  width: clamp(7rem, 30vw, 10rem);
}

/* Soft glow behind the logo */
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-soft) 0%, var(--mint-soft) 45%, transparent 72%);
  filter: blur(18px);
  opacity: 0.7;
  animation: glow 7s ease-in-out infinite;
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Typography ---------- */

.title {
  margin: 0;
  font-size: clamp(2.25rem, 7.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.title--small {
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
}

.title-accent {
  color: var(--cyan);
}

/* Gradient text only where supported; solid cyan stays as fallback */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .title-accent {
    background: linear-gradient(100deg, var(--cyan) 10%, var(--mint) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.tagline {
  margin: 0.75rem 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  font-weight: 500;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Coming Soon badge ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(11, 30, 51, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(4, 11, 20, 0.6), 0 8px 30px rgba(4, 11, 20, 0.45);
}

.status--plain {
  margin-bottom: 1rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: blink 2.8s ease-in-out infinite;
}

/* ---------- Social link ---------- */

.social {
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  background: rgba(18, 48, 77, 0.55);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 0.75rem;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.social-link:hover {
  border-color: var(--cyan);
  background: rgba(18, 48, 77, 0.85);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.social-icon {
  flex-shrink: 0;
  color: var(--cyan);
}

.handle {
  color: var(--cyan);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Motion (subtle) ---------- */

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

@keyframes glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 30rem) {
  body {
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
    background-attachment: scroll;
  }

  .status {
    letter-spacing: 0.16em;
  }
}

/* ---------- Forced colours / high contrast ---------- */

@media (forced-colors: active) {
  .title-accent {
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
    background: none;
  }

  .status,
  .social-link {
    border: 1px solid CanvasText;
  }
}
