/* Libera Ventures  -  static site
   Palette from the grid lockup (cyan / near-black) and the one-pager navy. */

:root {
  --ink: #111317;
  --navy: #0b2545;
  --navy-2: #163154;
  --cyan: #00b7eb;
  --cyan-bright: #01cafe;
  --cyan-soft: #9be9fb;
  --cyan-tint: #e7f8fd;
  --paper: #f5fafc;
  --white: #ffffff;
  --line: #d7e6ed;
  --slate: #5a6b80;
  --muted: #64748b;
  --legal: #8a97a8;
  --max: 1120px;
  --header: 72px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

html, body { margin: 0; padding: 0; }

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: #007aa0; }

h1, h2, h3, .stat-n, .flow-step .k, .brand-word {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.03em;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 4px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.02);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: #007aa0; }
.site-nav a.btn {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover {
  background: #07182e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--cyan-tint);
  color: var(--navy);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px 11px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  position: relative;
  transition: transform 200ms var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(155, 233, 251, 0.45), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(1, 202, 254, 0.10), transparent 55%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 37, 69, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 37, 69, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 90%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a7a96;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 22px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: #0a7a96;
}

.lede {
  font-size: 18.5px;
  line-height: 1.55;
  color: #334155;
  max-width: 62ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Stats */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 36px 0;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}
.stat-n {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--cyan-soft);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.stat-l {
  font-size: 13.5px;
  line-height: 1.45;
  color: #dbe4ee;
}
.stat-l sup {
  font-size: 10px;
  color: var(--cyan-soft);
  font-weight: 700;
}

/* Sections */
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }
.section.alt {
  background: var(--white);
  padding: 88px 0;
  border-block: 1px solid var(--line);
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a7a96;
  margin: 0 0 10px;
}
.section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
  max-width: 22ch;
}
.intro {
  color: #334155;
  max-width: 62ch;
  margin: 0 0 40px;
}

/* Thesis grid */
.thesis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
}
.pt .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.pt h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.pt p { margin: 0; color: #334155; font-size: 15.5px; }
.pt sup { font-size: 10px; color: #0a7a96; font-weight: 700; }

/* Fund facts */
.facts {
  display: grid;
  grid-template-columns: 0.85fr 0.8fr 1.15fr 1.1fr 1.1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.fact {
  background: var(--white);
  padding: 20px 16px;
}
.fact .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.fact .v {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Approach */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px 16px;
  position: relative;
}
.flow-step .i {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a7a96;
  margin-bottom: 6px;
}
.flow-step .k {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.flow-step p {
  margin: 0;
  font-size: 14px;
  color: #334155;
}
.flow-step.hi {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.flow-step.hi .i { color: var(--cyan-soft); }
.flow-step.hi .k { color: #fff; }
.flow-step.hi p { color: #dbe4ee; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.section h3,
.split h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: #334155;
  font-size: 15.5px;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 2px;
}
.list li b { color: var(--navy); font-weight: 700; }
.fine {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 8px 0 0;
}

/* Team */
.team-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 760px;
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, #9be9fb 0%, #01cafe 45%, #0b2545 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.team-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--navy);
}
.role {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a7a96;
}
.team-card p { margin: 0; color: #334155; font-size: 15.5px; }

/* Contact */
.contact-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 48px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.contact-panel h2 {
  color: #fff;
  margin-bottom: 10px;
}
.contact-panel p {
  margin: 0;
  color: #dbe4ee;
  max-width: 48ch;
}
.contact-panel .btn {
  background: var(--cyan-bright);
  color: var(--navy);
  border-color: var(--cyan-bright);
  font-size: 15px;
  padding: 14px 22px;
}
.contact-panel .btn:hover {
  background: #9be9fb;
  border-color: #9be9fb;
  color: var(--navy);
}
.contact-mail {
  display: block;
  margin-top: 16px;
  color: var(--cyan-soft);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.contact-mail:hover { color: #fff; }

/* Footer */
.site-footer {
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-top img { height: 36px; width: auto; }
.footer-meta { text-align: right; color: var(--slate); }
.disclaimer {
  font-size: 12px;
  color: var(--legal);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 0 0 22px;
}
.sources {
  font-size: 12px;
  color: var(--legal);
  columns: 2;
  column-gap: 32px;
  margin-bottom: 18px;
}
.sources p { margin: 0 0 6px; break-inside: avoid; }
.sources a { color: #3c6e9f; text-decoration: none; }
.sources a:hover { text-decoration: underline; }
.copy { margin: 0; color: var(--legal); font-size: 12px; }

/* Mobile */
@media (max-width: 900px) {
  :root { --header: 64px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .site-header .wrap { width: min(var(--max), calc(100% - 32px)); }
  .logo img { height: 36px; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a.btn {
    margin-top: 12px;
    text-align: center;
    border: 1px solid var(--navy);
  }

  .hero { padding: 48px 0 40px; }
  .stats .wrap,
  .thesis,
  .facts,
  .flow,
  .split,
  .contact-panel,
  .footer-top,
  .sources {
    grid-template-columns: 1fr;
    columns: 1;
  }
  .facts { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .contact-panel {
    display: block;
    padding: 32px 24px;
  }
  .contact-panel .btn { margin-top: 22px; }
  .footer-top { flex-direction: column; }
  .footer-meta { text-align: left; }
  .section, .section.alt { padding: 64px 0; }
  .team-card { grid-template-columns: 72px 1fr; padding: 22px; }
  .avatar { width: 72px; height: 72px; font-size: 22px; }
}

@media (max-width: 560px) {
  .stats .wrap,
  .facts,
  .flow { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .lede { font-size: 16.5px; }
  .hero-meta { letter-spacing: 0.02em; font-size: 12.5px; }
}

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