/* Xolvea — Modern Utility theme
   ink base · Space Grotesk · Signal Orange · mono utility labels */

:root {
  --ink:        #14161a;
  --ink-2:      #1b1e24;
  --line:       #2a2e36;
  --text:       #e8e9ed;
  --muted:      #8a8f9a;
  --accent:     #ff5a1f;
  --accent-dim: #ff5a1f33;
  --max:        920px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* faint blueprint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ambient orange glow top */
.glow {
  position: fixed;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 28px;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 15px;
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(72px, 16vh, 150px); padding-bottom: 64px; }

.eyebrow,
.section-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.slash { color: var(--accent); font-weight: 700; }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 8.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 30px;
}
h1 .accent { color: var(--accent); }

.lede {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

/* ---------- ventures ---------- */
.ventures { padding-top: 40px; padding-bottom: 96px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.section-label .count {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}

.venture-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.venture {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 24px;
  min-height: 196px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.venture.is-featured:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px -24px var(--accent);
}
.venture.is-soon { opacity: 0.82; }

.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.venture-name {
  display: block;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.badge {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1;
}
.badge.live { color: var(--ink); background: var(--accent); font-weight: 700; }
.badge.soon { color: var(--muted); border: 1px solid var(--line); }

.venture-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 20px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  transition: gap .2s ease, filter .2s ease;
}
.cta:hover { gap: 14px; filter: brightness(1.08); }
.cta .arrow { font-weight: 400; }

.cta-disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}
.cta-disabled::before { content: "○ "; color: var(--accent); }

/* ---------- footer ---------- */
.foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.foot-mark { font-weight: 500; letter-spacing: 0.02em; }
.foot-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.foot a {
  margin-left: auto;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.foot a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .venture-list { grid-template-columns: 1fr; }
  .cta { width: 100%; justify-content: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot a { margin-left: 0; }
}

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