:root {
  --bg: #f5f1e7;
  --bg-elev: #fbf9f4;
  --border: #e3dcc7;
  --text: #22201a;
  --text-muted: #5c5648;
  --text-dim: #766d5c;
  --brand: #1c3827;
  --border-hover: var(--brand);
  --max-width: 720px;
  --space: clamp(1.25rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--space) clamp(2.5rem, 6vw, 4rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  padding-bottom: clamp(3rem, 8vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.hero-top {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 4vw, 2rem);
}

.hero-heading {
  min-width: 0;
}

.logo-mark {
  display: block;
  height: clamp(4.5rem, 22vw, 7rem);
  width: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

.wordmark {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--brand);
}

.tagline {
  margin: 0;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 30ch;
}

/* Sections */
main {
  flex: 1;
}

.section {
  padding: clamp(2.5rem, 7vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-body {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 60ch;
}

.section-body + .section-body {
  margin-top: 1rem;
}

/* Ventures */
.ventures {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.venture {
  background-color: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: border-color 0.2s ease;
}

.venture:hover {
  border-color: var(--border-hover);
}

.venture-name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.venture-desc {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.venture-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.venture-link span {
  transition: transform 0.2s ease;
}

.venture-link:hover {
  color: var(--text);
}

.venture-link:hover span {
  transform: translateX(3px);
}

/* Footer */
.footer {
  padding-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .ventures {
    grid-template-columns: 1fr 1fr;
  }

  .logo-mark {
    height: auto;
    align-self: stretch;
  }
}
