/* Onyx Haven Labs — landing page (root /)
   Deliberately tiny and self-contained: this page is a holding page, not
   the full site. It does not share a stylesheet with /consulting/ so the
   two can evolve independently without collisions. */

:root {
  --bg: #0b0b0c;
  --bg-2: #151517;
  --text: #f2f1ee;
  --text-dim: #a6a5a1;
  --border: #232326;
  --accent: #c98a4b;
  --accent-soft: #e0a568;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.landing {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

/* Subtle technical texture: a faint linear gradient plus a fine grid,
   masked to fade toward the edges so it reads as depth, not decoration. */
.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 138, 75, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.landing-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 42%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 60% at 50% 42%, #000 40%, transparent 78%);
}

.landing-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark {
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 22px rgba(201, 138, 75, 0.16));
}

.brand {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text);
}

.brand-accent {
  color: var(--accent);
}

.tagline {
  margin: 0.9rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.lede {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 42ch;
}

.contact-link {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-soft);
  background-color: rgba(201, 138, 75, 0.06);
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.landing-footer {
  position: relative;
  z-index: 1;
  margin: 3rem 0 0;
  font-size: 0.8rem;
  /* Not var(--border) — that fails contrast entirely against --bg (~1.3:1,
     effectively invisible). This shade clears WCAG AA (~4.8:1) while still
     reading as understated fine print. */
  color: #807e78;
}

@media (max-width: 480px) {
  .landing { padding: 1.75rem 1.25rem; }
  .lede { max-width: 34ch; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link { transition: none; }
}
