/* Cinematic luxury: black, white, grey. Glass surfaces, one display face, one body face. */
:root {
  --black: #000;
  --white: #fff;
  --gray: #9ca3af;
  --gray-dark: #374151;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.3);
  --ok: #7ee2b0;
  --warn: #f2c46d;
  --bad: #ff7b7b;
  --display: "Clash Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mag: cubic-bezier(0.33, 1, 0.68, 1);
  --radius: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(255, 255, 255, 0.85); color: #000; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.78em; }
.muted { color: var(--gray); font-size: 0.82rem; }

/* ambient background: soft drifting light under radial + linear overlays */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #000; }
.ambient i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-a { width: 52vw; height: 52vw; left: -14vw; top: -22vw; background: radial-gradient(circle, rgba(120,140,190,.55), transparent 65%); }
.orb-b { width: 44vw; height: 44vw; right: -12vw; top: 14vh; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.orb-c { width: 40vw; height: 40vw; left: 28vw; bottom: -26vw; background: radial-gradient(circle, rgba(90,100,140,.5), transparent 65%); animation-duration: 38s; animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.15); } }
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 40%, rgba(0,0,0,.8) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.4) 100%);
}

/* reveal on load */
.reveal { opacity: 0; transform: translateY(30px); animation: reveal 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* nav */
/* full-width frosted bar so scrolled content never shows through behind the logo */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px max(28px, calc((100vw - 1480px) / 2 + 28px));
  background: linear-gradient(to bottom, rgba(0,0,0,.94), rgba(0,0,0,.78));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.1) 60%);
  box-shadow: 0 0 30px rgba(255,255,255,.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.15rem; }
.brand-text small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }

.tabs {
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.tab {
  background: transparent; border: 0; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray);
  transition: color .3s var(--ease-mag), background .3s var(--ease-mag);
}
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: #000; font-weight: 500; }

.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); white-space: nowrap;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-dark); }
.status[data-kind="live"] { color: var(--ok); border-color: rgba(126,226,176,.35); }
.status[data-kind="live"] i { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2s infinite; }
.status[data-kind="busy"] { color: var(--warn); }
.status[data-kind="busy"] i { background: var(--warn); animation: blink 1s infinite; }
.status[data-kind="bad"] { color: var(--bad); }
.status[data-kind="bad"] i { background: var(--bad); }
@keyframes blink { 50% { opacity: .35; } }

/* hero */
.view { display: none; max-width: 1480px; margin: 0 auto; padding: 0 28px 40px; }
.view.is-active { display: block; }
.hero {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 48px;
  padding: 18px 0 16px;
}
.hero .eyebrow { grid-column: 1 / -1; }
.hero-sm { padding-top: 16px; }
.eyebrow { margin: 0 0 10px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
h1 {
  margin: 0; font-family: var(--display); font-weight: 200; letter-spacing: -0.045em; line-height: .98;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}
h1 em { font-style: normal; font-weight: 600; }
.lede { margin: 0; max-width: 420px; color: var(--gray); font-size: .9rem; padding-bottom: 6px; }
.hero-sm h1 { font-size: clamp(2rem, 4vw, 3.2rem); }

.label {
  margin: 0 0 14px; font-family: var(--body); font-weight: 500; font-size: .66rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gray);
}

.foot { text-align: center; padding: 30px 20px 40px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-dark); }

@media (max-width: 760px) {
  .nav { padding: 12px 16px; flex-wrap: wrap; }
  .brand-text small { display: none; }
  .view { padding: 0 16px 32px; }
  .hero { grid-template-columns: 1fr; padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .ambient i { animation: none; }
}
