/* ============================================================
   APPLIED8.ORG — minimal one-pager
   quiet, technical, one screen
   ============================================================ */

:root {
  --bg: #05060a;
  --ink: #f1f4f9;
  --dim: #7d879c;
  --faint: #454f66;
  --accent: #7dd3fc;
  --hair: rgba(255, 255, 255, 0.07);
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(125, 211, 252, 0.25); color: var(--ink); }

/* ============ backdrop ============ */

.fallback-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 540px at 50% 40%, rgba(125, 211, 252, 0.055), transparent 65%),
    var(--bg);
}

#scene { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }

.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 6, 10, 0.62) 0%, transparent 26%),
    radial-gradient(130% 100% at 50% 42%, transparent 55%, rgba(3, 4, 7, 0.42));
}

/* ============ top bar ============ */

.topbar {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  height: 56px; padding: 0 28px;
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.72), rgba(5, 6, 10, 0.28));
  backdrop-filter: blur(8px);
}

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--accent); }
.brand svg { opacity: 0.85; }
.brand-name { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; color: var(--ink); }
.brand-tld  { font-size: 11px; font-weight: 400; letter-spacing: 0.22em; color: var(--faint); margin-left: 1px; }

.status {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--dim);
}
.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.75);
  animation: breathe 3.4s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.4; } }
.status-dim { color: var(--faint); }

/* ============ stage / hero ============ */

.stage {
  position: relative; z-index: 10;
  flex: 1; min-height: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 6vw 11vh;
}

.hero { text-align: center; max-width: 740px; }

.overline {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.44em;
  color: var(--dim); text-transform: uppercase;
}
.overline .sep { color: var(--faint); }

h1 {
  margin-top: 26px;
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  font-weight: 500; letter-spacing: -0.015em; line-height: 1.05;
  color: var(--ink);
}



/* ============ bottom bar ============ */

.botbar {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  height: 52px; padding: 0 28px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.26em;
  color: var(--faint); text-transform: uppercase;
  background: linear-gradient(0deg, rgba(5, 6, 10, 0.72), rgba(5, 6, 10, 0.28));
  backdrop-filter: blur(8px);
}

/* ============ responsive ============ */

@media (max-width: 640px) {
  .topbar, .botbar { padding: 0 16px; }
  .status .status-dim { display: none; }
  .stage { padding-bottom: 8vh; }
}

@media (max-height: 720px) {
  .stage { padding-bottom: 7vh; }
  h1 { margin-top: 20px; }
}

/* ============ reduced motion ============ */

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