/* Venture Projects site layout.. Tokens only; no hard-coded colours, sizes,
   radii or shadows. See design-system/BRAND.md. */

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

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { opacity: .85; }

h1, h2, h3, p, ul, ol { margin: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-16) 0; }
.section--tight { padding: var(--space-12) 0; }
.band { background: var(--muted); }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-8); }
.measure { max-width: 68ch; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.lead { font-size: 18px; line-height: 1.6; color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Two lockup files, one per theme. The light file is the pack's own artwork,
   untouched. The dark file re-inks only the wordmark; the mark itself is
   byte-identical and keeps its own light plate, which is what BRAND.md asks
   for. Regenerate both from the SVG once the vector export exists. */
.brand-logo { height: 28px; width: auto; }
.brand-logo--dark { display: none; }
.stack > .brand-logo + .brand-logo { margin-top: 0; }
[data-theme="dark"] .brand-logo--light { display: none; }
[data-theme="dark"] .brand-logo--dark { display: block; }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__link {
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.nav__link:hover { background: var(--accent); color: var(--accent-foreground); opacity: 1; }
.nav__link[aria-current="page"] { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-16) 0 var(--space-12); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-12); align-items: center; }
.hero__motif { width: 100%; height: auto; }

/* ---------- Pieces ---------- */
.rule { height: 1px; background: var(--border); border: none; margin: 0; }

.marker { display: flex; gap: var(--space-4); }
.marker__num {
  flex: none;
  font-family: var(--font-mono); font-size: 13px; line-height: 20px;
  color: var(--primary);
  padding-top: var(--space-1);
}

.facts { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); }
.fact__label { display: block; }
.fact__value { font-size: 18px; font-weight: 500; }

.pull {
  border-left: 2px solid var(--primary);
  padding-left: var(--space-6);
  font-size: 24px; line-height: 32px; font-weight: 500;
}

.list-check { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.list-check li { display: flex; gap: var(--space-3); align-items: start; }
.list-check svg { flex: none; width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }
.list-x svg { color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.vp-check input[type="checkbox"] {
  width: var(--space-4); height: var(--space-4);
  accent-color: var(--primary);
  border-radius: var(--radius-sm);
  margin: 0;
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-12); align-items: start; }
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.vp-select {
  width: 100%;
  font-family: var(--font-sans); font-size: 14px; line-height: 20px;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius-md);
  padding: 0 var(--space-3);
  height: 36px;
  box-shadow: var(--shadow-xs);
}
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-12) 0; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--space-10); }
.footer__list { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer__list a { color: var(--muted-foreground); text-decoration: none; font-size: 14px; }
.footer__list a:hover { color: var(--foreground); }
.footer__legal { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .hero__media { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .h1 { font-size: 34px; line-height: 40px; }
  .h2 { font-size: 26px; line-height: 32px; }
  .section { padding: var(--space-12) 0; }
  .grid-2, .grid-3, .grid-4, .form__row { grid-template-columns: minmax(0, 1fr); }
  .pull { font-size: 20px; line-height: 28px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: var(--space-3);
    gap: var(--space-1);
  }
  .nav--open { display: flex; }
  .site-header__inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Safe areas (mobile, notched devices) ---------- */
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
.site-header { top: env(safe-area-inset-top, 0px); }
@media (max-width: 640px) {
  .nav { top: calc(72px + env(safe-area-inset-top, 0px)); }
}
