:root {
  --color-bg: #0b1220;
  --color-ink: #e8eef8;
  --color-muted: #9aa8bd;
  --color-accent: #2dd4bf;
  --color-line: rgba(232, 238, 248, 0.12);
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --space-section: clamp(4rem, 10vw, 7rem);
  --max-width: 72rem;
  --hero-rise-distance: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  position: absolute;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
}

.wordmark {
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 6rem 1.5rem var(--space-section);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(56, 120, 255, 0.16), transparent 50%),
    linear-gradient(165deg, #0b1220 0%, #121a2b 45%, #0b1220 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
  opacity: 0;
  transform: translateY(var(--hero-rise-distance));
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.hero.is-ready .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.brand-name {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 14ch;
}

.hero-line {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--color-muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.cta-primary,
.cta-secondary {
  text-decoration: none;
  font-weight: 600;
}

.cta-primary {
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.75rem 1.15rem;
}

.cta-primary:hover,
.cta-primary:focus-visible {
  filter: brightness(1.08);
}

.cta-secondary {
  color: var(--color-ink);
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--color-line);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

.ventures,
.contact {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-section) 1.5rem;
}

.ventures h2,
.contact h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.venture-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.venture-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0.15rem;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 500ms ease,
    transform 500ms ease,
    color 200ms ease,
    padding-left 200ms ease;
}

.venture-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.venture-row:hover,
.venture-row:focus-visible {
  color: var(--color-accent);
  padding-left: 0.35rem;
}

.venture-name {
  font-weight: 600;
  font-size: 1.125rem;
}

.venture-blurb {
  color: var(--color-muted);
  max-width: 52ch;
}

.venture-row:hover .venture-blurb,
.venture-row:focus-visible .venture-blurb {
  color: inherit;
}

.contact a {
  color: var(--color-accent);
}

.site-footer {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 1.5rem 2.5rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

@media (min-width: 720px) {
  .venture-row {
    grid-template-columns: minmax(14rem, 22rem) 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .venture-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
