/* Finity Ventures — design system */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --surface: #1a1a1d;
  --text: #f0f0f2;
  --text-muted: #8a8a8f;
  --accent: #c9f31d;
  --accent-dim: #9bc018;
  --border: #2a2a2e;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --space: 1.5rem;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-dim);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space) 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo:hover {
  color: var(--text);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.nav-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
}

/* Main content */
main {
  min-height: 60vh;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Homepage hero */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #050507;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover,
a.btn:hover {
  color: #050507;
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface);
  color: var(--text);
}

/* Our Investments page */
.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.page-hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0;
}

.section-investments {
  padding: 3.5rem 0 4rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
}

.investments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.investment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.investment-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text-muted);
}
.card-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.investment-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.investment-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.investment-card.exited .meta {
  color: var(--accent-dim);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.region-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.region-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.region-block .investment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.region-block .investment-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.region-block .investment-list li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  align-items: start;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  max-width: 360px;
}
.footer-cta p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-cta .btn {
  display: inline-block;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
