/* ============================================
   OHS Ventures — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #12181F;
  --ink-soft: #3C4552;
  --paper: #F1EDE3;
  --paper-raised: #FFFFFF;
  --rule: #C9C2AE;
  --accent: #8A6D3B;
  --signal: #2F5233;
  --max-width: 1120px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.ref-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--rule);
  padding: 3px 8px;
  border-radius: 2px;
  display: inline-block;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
nav.primary-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
nav.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: var(--ink);
  border-color: var(--accent);
}
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 27px,
    rgba(241, 237, 227, 0.045) 28px
  );
  pointer-events: none;
}
.hero .eyebrow { color: #C9A76B; }
.hero .eyebrow::before { background: #C9A76B; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 780px;
  margin-bottom: 24px;
  position: relative;
}
.hero p.lede {
  font-size: 18px;
  color: #C7CCD4;
  max-width: 600px;
  margin-bottom: 36px;
  position: relative;
}
.hero-ctas { display: flex; gap: 16px; position: relative; }

.btn-primary {
  background: var(--accent);
  color: var(--paper);
  padding: 14px 26px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: #A17F45; }

.btn-ghost {
  border: 1px solid rgba(241,237,227,0.35);
  color: var(--paper);
  padding: 14px 26px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.btn-ghost:hover { border-color: rgba(241,237,227,0.7); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--paper-raised); }
section.rule-top { border-top: 1px solid var(--rule); }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
p.section-lede {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 620px;
}

/* ---------- Credibility strip ---------- */
.credibility {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  background: var(--paper-raised);
}
.credibility .cell {
  padding: 28px 28px;
  border-right: 1px solid var(--rule);
}
.credibility .cell:last-child { border-right: none; }
.credibility .cell .stat {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 6px;
}
.credibility .cell .label {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Founder block ---------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.founder-portrait {
  width: 220px;
  height: 220px;
  background: var(--ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.founder h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
}
.founder .role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.founder p { color: var(--ink-soft); margin-bottom: 14px; max-width: 620px; }

/* ---------- Principle cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  padding: 32px 28px;
}
.card .ref-code { margin-bottom: 20px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
}
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Ledger rows (capability list) ---------- */
.ledger-row {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}
.ledger-row:first-child { padding-top: 0; }
.ledger-row:last-child { border-bottom: none; }
.ledger-row .col-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 4px;
}
.ledger-row h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}
.ledger-row .tagline {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 12px;
}
.ledger-row .body-copy {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 20px;
}
.ledger-row .duration {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid var(--rule);
  padding: 4px 10px;
}
.deliverables {
  background: var(--paper);
  border: 1px solid var(--rule);
}
.deliverables .head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
}
.deliverables ul { list-style: none; }
.deliverables li {
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  display: flex;
  gap: 10px;
}
.deliverables li:last-child { border-bottom: none; }
.deliverables li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #A7ADB6;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(241,237,227,0.12);
  margin-bottom: 24px;
}
.footer-top .logo { color: var(--paper); }
.footer-desc { max-width: 340px; font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: #A7ADB6; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #7A818C;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { text-decoration: none; color: #7A818C; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .credibility { grid-template-columns: 1fr; }
  .credibility .cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .credibility .cell:last-child { border-bottom: none; }
  .founder { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 1fr; gap: 16px; }
  .ledger-row .col-code { padding-top: 0; }
}

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
