/* BZ Ventures — bzventures.org
   Brand system shared with bryantegomoh.com and the four handbooks:
   Inter, #0A2540 deep navy, #0F766E teal (WCAG AA on light), slate scale. */

:root {
  --navy:      #0A2540;
  --teal:      #0F766E;
  --teal-lift: #0d6259;
  --bg:        #f8fafc;
  --surface:   #ffffff;
  --text:      #0A2540;
  --muted:     #475569;
  --line:      #e2e8f0;
  --line-firm: #cbd5e1;
  --shadow:    rgba(10, 37, 64, .08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy:      #e2e8f0;
    --teal:      #5eead4;
    --teal-lift: #99f6e4;
    --bg:        #0b1622;
    --surface:   #111f2f;
    --text:      #e2e8f0;
    --muted:     #94a3b8;
    --line:      #1e3348;
    --line-firm: #2b4864;
    --shadow:    rgba(0, 0, 0, .35);
  }
}

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

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

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

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

/* ── Masthead ─────────────────────────────────────────── */

.masthead { margin-bottom: 3.5rem; }

.masthead h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  margin: 0 0 .6rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  max-width: 34em;
}

.entity-line {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
}

/* ── Areas ────────────────────────────────────────────── */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.15rem;
  margin-bottom: 3.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-firm);
  box-shadow: 0 12px 30px var(--shadow);
}

.card h2 {
  margin: 0 0 .55rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
}

.card p {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
}

.card-links {
  margin-top: .85rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .85rem;
  font-size: .875rem;
}

/* ── Working with us ──────────────────────────────────── */

.working {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-bottom: 3rem;
}

.working h2 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.working dl { margin: 0; }

.working dt {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: .3rem;
}

.working dd {
  margin: 0 0 1.35rem;
  font-size: .95rem;
  max-width: 46em;
}

.working dd:last-child { margin-bottom: 0; }

/* ── Contact ──────────────────────────────────────────── */

.contact {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 2.75rem;
  margin-bottom: 3.5rem;
}

.button {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  padding: .7rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
  background: var(--teal);
  color: var(--surface);
  transform: translateY(-2px);
  border-bottom-color: var(--teal);
}

.contact-note {
  margin: .9rem 0 0;
  font-size: .92rem;
  color: var(--muted);
}

/* ── Footer ───────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  font-size: .875rem;
  color: var(--muted);
}

footer p { margin: 0; }

/* ── Links ────────────────────────────────────────────── */

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

a:hover {
  color: var(--teal-lift);
  border-bottom-color: var(--teal);
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .card:hover, .button:hover { transform: none; }
}

@media (hover: none) {
  .card:hover, .button:hover { transform: none; }
}

@media (max-width: 480px) {
  main { padding: 3.5rem 1.25rem 3rem; }
  .areas { grid-template-columns: 1fr; }
}
