/* Backstage Ventures — single-page site
   Dark mode. Restraint is the aesthetic. */

:root {
  --bg: #1A1A1A;
  --surface: #0F0F0F;
  --text: #FFFFFF;
  --text-muted: #8C8C8C;
  --rule: #2A2A2A;
  --gold: #C9A227;
  --gold-soft: #E0BE57;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;

  --container: 1180px;
  --container-narrow: 820px;

  --space-section: clamp(96px, 14vw, 176px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-variant-numeric: tabular-nums;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 24px;
  top: 24px;
  background: var(--gold);
  color: #111;
  padding: 8px 14px;
  z-index: 100;
  border-radius: 2px;
}

/* ---------- Container ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px);
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Header / Wordmark ---------- */

.site-header {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 56px) 0;
}
.site-header .wordmark {
  display: inline-block;
}
.wordmark img {
  display: block;
  height: clamp(40px, 4.4vw, 56px);
  width: auto;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(72px, 14vh, 160px) 0 var(--space-section);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 36px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
  max-width: 17ch;
}

.hero__headline .gold { color: var(--gold); }

.hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 32px 0 0;
  max-width: 38ch;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(36px, 6vw, 88px);
  margin: clamp(56px, 9vw, 96px) 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  max-width: 720px;
}
.hero__facts div { margin: 0; }
.hero__facts dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.hero__facts dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  color: var(--text);
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--rule);
}
.section--alt {
  background: var(--surface);
}

.section__head {
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.section__index {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 18px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
.section__lede {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 68ch;
}

/* ---------- Ventures list ---------- */

.ventures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 24px;
}
.venture {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: clamp(32px, 4vw, 48px);
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease;
}
.venture:hover { border-color: var(--gold); }

.venture__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
}
.venture__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.venture__since {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.venture__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}
.venture__body {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 16.5px;
  max-width: 46ch;
}
.venture__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 160ms ease, color 160ms ease;
}
.venture__link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

/* ---------- Prose ---------- */

.prose {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--text);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
.contact-block { min-width: 0; }
.contact-block__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.contact-block__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.link-gold {
  color: var(--gold);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.link-gold:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.site-footer__entity { color: var(--text); }
.site-footer__sep { color: var(--rule); }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__facts { gap: 28px; }
  .hero__headline { max-width: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { padding-top: 22px; }
  .wordmark__primary { font-size: 22px; }
  .wordmark__secondary { font-size: 9.5px; letter-spacing: 0.38em; }
  .hero { padding-top: 56px; }
  .hero__facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
}

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