/* Vector Seven umbrella site. Original CSS. No third-party fonts or trackers. */
:root {
  --ink: #151E2B;
  --ink-soft: #151E2B;
  --paper: #FFFFFF;
  --card: #ffffff;
  --line: #B8C0CA;
  --teal: #151E2B;
  --teal-hover: #151E2B;
  --teal-soft: #B8C0CA;
  --hero: #151E2B;
  --focus: #151E2B;
  --max: 70rem;
  --space: 1.25rem;
  --radius: 0.85rem;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  flex: none;
}

.brand-name {
  font-size: 1rem;
  line-height: 1;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--teal);
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 2px;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 192, 202, 0.14), transparent 28%),
    var(--hero);
  color: var(--paper);
  padding: 2.5rem 0 2.6rem;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-rule {
  width: 3.25rem;
  height: 3px;
  margin: 0 0 1.25rem;
  background: var(--teal-soft);
  border: 0;
}

.hero p {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  color: #B8C0CA;
}

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

.section {
  padding: 2.25rem 0 2.5rem;
}

.section h2,
.page-title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lede,
.prose p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.prose p:last-child { margin-bottom: 0; }

/* Venture cards (rendered from config/ventures.json) */
.card-grid {
  display: grid;
  gap: 1.15rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.35rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.card p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  flex: 1;
}

.card-link {
  align-self: flex-start;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal);
}

.card-link::after {
  content: " \2192";
}

.card-link:hover { text-decoration: underline; }

/* Interior pages */
.page-hero {
  padding: 2.5rem 0 0.25rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  align-items: baseline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--teal); }

/* Print */
@media print {
  .site-header, .site-footer { border: 0; }
  .hero { background: none; color: #000; padding: 1rem 0; }
  .hero p { color: #000; }
  .card { break-inside: avoid; }
  a { color: inherit; }
}

@media (min-width: 64rem) {
  .hero { padding: 3.35rem 0 3.4rem; }
  .section { padding: 2.6rem 0 2.75rem; }
}
