/* Vault Data Ventures one-page landing */

:root {
  --bg: #07080a;
  --bg-elevated: #0e1013;
  --bg-inset: #0b0c0f;
  --line: rgba(196, 165, 116, 0.18);
  --line-strong: rgba(196, 165, 116, 0.38);
  --gold: #c4a574;
  --gold-soft: #d4be94;
  --text: #f3efe8;
  --text-secondary: #b7b1a6;
  --text-muted: #7d776c;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  color-scheme: dark;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 90% 40% at 55% 0%, rgba(196, 165, 116, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.75; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--gold);
  color: #1a160f;
  font-size: 0.85rem;
  font-weight: 600;
}

.skip-link:focus { top: 16px; }

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
}

.nav {
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 10, 0.4);
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav.is-scrolled {
  background: rgba(7, 8, 10, 0.88);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav__mark { width: 32px; height: 32px; flex-shrink: 0; }

.nav__name-main {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }

.nav__toggle[aria-expanded="true"] span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 28px;
  background: rgba(7, 8, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav__mobile a {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 1rem;
}

.nav__mobile.open { display: flex; }

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 88px) 0 88px;
  overflow: hidden;
}

.hero__sky {
  position: absolute;
  inset: 0 0 28%;
  background:
    radial-gradient(ellipse 70% 55% at 58% 38%, rgba(196, 165, 116, 0.16), transparent 64%),
    radial-gradient(ellipse 40% 30% at 72% 22%, rgba(196, 165, 116, 0.07), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.08) 0%, var(--bg) 88%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(196, 165, 116, 0.045) 79px,
      rgba(196, 165, 116, 0.045) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 79px,
      rgba(196, 165, 116, 0.035) 79px,
      rgba(196, 165, 116, 0.035) 80px
    );
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  pointer-events: none;
}

.hero__range {
  position: absolute;
  left: 50%;
  top: 4%;
  width: min(1680px, 158%);
  max-width: none;
  transform: translateX(-46%);
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__lead {
  max-width: 38rem;
  margin-top: 24px;
  font-size: 1.12rem;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(196, 165, 116, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

.hero__rule {
  width: min(1120px, calc(100% - 48px));
  margin: 64px auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: 0.55;
}

/* Sections */

.section {
  position: relative;
  padding: 120px 0;
}

.section--inset {
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.split__copy { display: flex; flex-direction: column; gap: 18px; }

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head__lead { margin-top: 16px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--bg-elevated);
  padding: 28px 24px 32px;
}

.pillar:hover {
  background: #12141a;
}

.pillar__icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 22px;
}

.pillar__icon svg { width: 100%; height: 100%; }

.pillar h3 { margin-bottom: 10px; }

.pillar p { font-size: 0.95rem; color: var(--text-muted); }

.dev-panel {
  max-width: 760px;
}

.dev-panel > p { margin-top: 18px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.facts > div {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.facts dt {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.facts dd {
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.section--contact { padding-top: 0; }

.contact-panel {
  max-width: 640px;
  padding: 40px 40px 36px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.contact-panel p { margin-top: 16px; }

.contact-cta {
  display: inline-block;
  margin-top: 24px;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--line-strong);
  font-size: 1rem;
}

.contact-cta:hover { color: var(--text); }

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer__brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__meta a {
  color: var(--gold-soft);
}

.footer__meta a:hover { color: var(--text); }

.not-found {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 80px);
}

.not-found h1 { margin-bottom: 14px; }

.not-found__home { margin-top: 28px; }

.not-found__home a {
  color: var(--gold-soft);
  border-bottom: 1px solid var(--line-strong);
}

.not-found__home a:hover { color: var(--text); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 165, 116, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(196, 165, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 165, 116, 0); }
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 88px 0; }
  .hero { padding-bottom: 56px; }
  .hero__range { width: 180%; top: 10%; }
  .split { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .container,
  .nav__inner,
  .hero__rule { width: calc(100% - 32px); }
  .pillars { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .nav__name-main { display: none; }
  .hero__range { width: 220%; top: 16%; opacity: 0.75; }
  .contact-panel { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot { animation: none; }
  .nav { transition: none; }
}
