.skip-link {
  position: fixed;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--bg-darker);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ============================================
   BLACKSHEEP VENTURES — DESIGN SYSTEM
   ============================================ */

/* Google Fonts loaded via <link> in <head> for performance */

:root {
  --bg-primary:    #363D46;
  --bg-dark:       #272D34;
  --bg-darker:     #1E2328;
  --bg-mid:        #2E343C;
  --bg-light:      #424A54;

  /* Light section palette */
  --bg-white:      #FFFFFF;
  --bg-off-white:  #F5F6F4;
  --bg-cream:      #F0F2ED;
  --bg-accent-tint:#EFF5DB;
  --text-dark:     #1E2328;
  --text-dark-sec: #4A5260;
  --text-dark-mut: #8B919C;
  --border-light:  rgba(0,0,0,0.08);
  --border-light-accent: rgba(130,185,10,0.35);

  --text-primary:  #FFFFFF;
  --text-secondary:#BABABA;
  --text-muted:    #8B8B8B;
  --accent:        #A3D826;
  --accent-dark:   #8AB81F;
  --accent-red:    #DA225E;
  --border:        rgba(255,255,255,0.08);
  --border-accent: rgba(163,216,38,0.3);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

html { overflow-x: hidden; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.body-lg { font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); }
.body-sm { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 8rem 0;
}

.section-sm {
  padding: 5rem 0;
}

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(30, 35, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0 3rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-social a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.header-social a:hover { color: var(--accent); }

.header-social {
  display: flex;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  display: block;
  overflow: visible;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hamburger:hover { opacity: 0.7; }

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   NAV OVERLAY
   ============================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-darker);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  overflow-y: auto;      /* scroll verticale se serve */
  overflow-x: hidden;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-menu {
  padding: 2rem 3rem;
  width: 100%;
  /* si riduce col contenuto, non forza altezza fissa */
}

.nav-item {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.nav-item:first-child { border-top: 1px solid var(--border); }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding proporzionale: si stringe su schermi bassi */
  padding: clamp(0.4rem, 1.4vh, 1.1rem) 0;
  font-family: var(--font-display);
  /* font scalato in base all'altezza disponibile: 7 voci × ~12vh each */
  font-size: clamp(1.2rem, min(3.8vw, 6.5vh), 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  padding-left: 1rem;
}

.nav-link .nav-num {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  align-self: flex-end;
  padding-bottom: 0.5rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.nav-link:hover .nav-num { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-darker);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-arrow::after {
  content: '';
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

/* Primary button: SVG arrow inherits white stroke */
.btn-primary.btn-arrow::after {
  filter: brightness(0) invert(1);
}

/* Outline button: arrow matches text color, turns accent on hover */
.btn-outline.btn-arrow::after {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.btn-outline:hover.btn-arrow::after {
  filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(500%) hue-rotate(40deg) brightness(110%);
  opacity: 1;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 3rem;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(163,216,38,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(163,216,38,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-cta {
  margin-top: 2.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.75vw, 7.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.hero-headline .accent-line { color: var(--accent); }

.hero-sub {
  font-size: 1.0625rem;
  color: #F2F2F2;
  line-height: 1.7;
  margin: 5rem 0 0;
  max-width: 38rem;
  text-wrap: balance;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 0;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.hero-fund-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-fund-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.25s, border-color 0.25s;
}

.hero-fund-card:hover {
  background: rgba(163,216,38,0.06);
  border-color: var(--border-accent);
}

.hero-fund-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-fund-focus {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.hero-fund-badge {
  font-family: var(--font-display);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 0.3rem 0.7rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-fund-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: scrollBounce 2s infinite;
}

.hero-scroll-hint span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   METRICS TICKER
   ============================================ */

.metrics-ticker {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 3rem;
  white-space: nowrap;
}

.ticker-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.ticker-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.ticker-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-left .section-label { margin-bottom: 2rem; }
.about-left .display-md { margin-bottom: 2rem; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.about-pillar {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: padding-left 0.3s var(--ease-out);
}

.about-pillar:hover { padding-left: 0.5rem; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(163,216,38,0.50);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.about-right {
  padding-top: 5rem;
}

.about-stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.about-stat {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  font-family: var(--font-display);
}

.about-aifm {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.aifm-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(163,216,38,0.1);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aifm-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.aifm-text strong {
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 0.3rem;
}

/* ============================================
   FUNDS SECTION
   ============================================ */

.funds-section { background: var(--bg-darker); }

.funds-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

.funds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.fund-card {
  background: var(--bg-darker);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.fund-card:hover { background: var(--bg-mid); }

.fund-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.fund-card:hover::before { transform: scaleX(1); }

.fund-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.fund-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.fund-subtitle {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
  margin-bottom: 2rem;
}

.fund-desc { margin-bottom: 2.5rem; }

.fund-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.fund-tag {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.fund-card:hover .fund-tag {
  border-color: var(--border-accent);
  color: var(--accent);
}

.fund-exits {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.fund-exits-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.fund-exits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exit-chip {
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.75rem;
}

.exit-arrow {
  font-size: 0.6rem;
  color: var(--accent);
  margin-left: 0.3rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 1.5rem 0;
  margin-bottom: 3rem;
  width: 100%;
}

.portfolio-stats {
  display: flex;
  gap: 3rem;
  grid-column: 1;
  grid-row: 1;
}

.pstat-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.pstat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  margin-top: 0.4rem;
}

.portfolio-topbar .portfolio-filters {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}

@media (max-width: 640px) {
  .portfolio-topbar {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
  }
  .portfolio-stats { grid-column: 1; grid-row: 1; }
  .portfolio-topbar .portfolio-filters { grid-column: 1; grid-row: 2; justify-self: start; }
}

@media (max-width: 480px) {
  .portfolio-stats { gap: 1.5rem; }
  .pstat-num { font-size: 3rem; }
}

.portfolio-filters {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

.filter-btn:last-child { border-right: none; }

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: var(--bg-darker);
}

/* Full Portfolio button — same size as filter-btn, ghost style on white bg */
.btn-filter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-filter-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-white);
}
.btn-filter-link.btn-arrow::after {
  filter: brightness(0);
}
.btn-filter-link:hover.btn-arrow::after {
  filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(500%) hue-rotate(40deg) brightness(110%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.portfolio-card {
  background: var(--bg-primary);
  padding: 2rem;
  transition: background 0.25s;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.portfolio-card .btn {
  margin-top: auto;
  align-self: flex-end;
  max-width: 50%;
  justify-content: center;
  transform: translateY(15px);
}

.portfolio-card:hover { background: var(--bg-mid); }

.portfolio-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.company-name {
  font-family: var(--font-display);
  font-size: 1.225rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.company-fund-badge {
  font-family: var(--font-display);
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.company-sector {
  font-size: 0.825rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.company-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.exit-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   PROCESS
   ============================================ */

.process-section { background: var(--bg-darker); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.process-step {
  background: var(--bg-darker);
  padding: 3rem 2.5rem;
  transition: background 0.25s;
}

.process-step:hover { background: var(--bg-mid); }

.process-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(163,216,38,0.38);
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

/* ============================================
   FOCUS AREAS
   ============================================ */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.focus-item {
  background: var(--bg-primary);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.focus-item:hover { background: var(--bg-mid); }

.focus-icon {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.focus-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

/* ============================================
   TEAM
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.team-card {
  background: var(--bg-primary);
  padding: 3rem 2.5rem;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.team-card:hover { background: var(--bg-mid); }

.team-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-light);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}

/* ============================================
   NEWS
   ============================================ */

.news-section { background: var(--bg-darker); }

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.news-card {
  background: var(--bg-darker);
  padding: 2.5rem;
  transition: background 0.25s;
  cursor: default;
}

.news-card:hover { background: var(--bg-mid); }

.news-card.featured { grid-row: span 2; }

.news-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.news-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.news-card.featured .news-title {
  font-size: 1.8rem;
}

/* ============================================
   MEDIA
   ============================================ */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.media-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.25s;
}

.media-card:hover { background: var(--bg-mid); }

.media-platform {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.platform-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.media-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ============================================
   LOCATION
   ============================================ */

.location-section { background: var(--bg-mid); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.map-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) brightness(0.4) contrast(1.2);
}

.address-block { margin-top: 2.5rem; }

.address-line {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
}

.address-country {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 5rem 0 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand .footer-logo {
  height: 28px;
  width: auto;
  max-width: 200px;
  display: block;
  overflow: visible;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 22rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.72rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 60%;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT / FORMS
   ============================================ */

.contact-section { background: var(--bg-darker); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-form-section {
  border: 1px solid var(--border);
  padding: 3.5rem;
  background: var(--bg-primary);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.form-email-hint {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B8B8B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--bg-darker);
  color: var(--text-primary);
}

.upload-area {
  border: 1px dashed var(--border);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent);
  background: rgba(163,216,38,0.04);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.upload-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.upload-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  opacity: 0.6;
}

.form-submit {
  width: 100%;
  margin-top: 1.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show { display: block; }

.form-success-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-darker);
  overflow: hidden;
}

.page-hero .section-label { margin-bottom: 1.5rem; }

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
}

@media (max-width: 900px) {
  .container, .container-sm { padding: 0 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero { justify-content: flex-start; padding-top: 120px; padding-bottom: 3rem; }
  .hero-content { position: static; }
  .hero-inner { display: block; }
  .hero-left { display: block; }
  .hero-sub { margin-top: 1.5rem; font-size: 0.95rem; }
  .hero-cta { position: absolute; bottom: 18vh; left: 0; right: 0; padding: 0 1.5rem; margin-top: 0; flex-direction: row; flex-wrap: nowrap; gap: 0.75rem; }
  .hero-cta .btn { flex: 1; justify-content: center; padding-left: 0.75rem; padding-right: 0.75rem; font-size: 0.72rem; white-space: nowrap; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .funds-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .funds-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .location-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 1rem; }
  .header-logo-img { height: 22px; max-width: 140px; }
  .about-stat-block { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 5rem 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .fund-card { padding: 2rem 1.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .funds-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .filter-btn { padding: 0.7rem 0.5rem; white-space: nowrap; flex: 1; text-align: center; }
  .hero-headline { font-size: clamp(3rem, 15vw, 5rem); }
  .about-stat-block { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 1rem; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .portfolio-header > div:last-child { width: 100%; }
  .portfolio-header .portfolio-filters { width: 100%; display: flex; }
  .portfolio-header .btn { width: 100%; justify-content: center; }
  .display-xl { font-size: clamp(2.8rem, 12vw, 5rem); }
  .display-lg { font-size: clamp(2.2rem, 10vw, 4rem); }
  .display-md { font-size: clamp(1.8rem, 9vw, 3rem); }
  .portfolio-stats { gap: 1.5rem; }
  .pstat-num { font-size: 3rem; }
  .pstat-label { font-size: 0.9rem; }
}

/* ============================================
   LIGHT SECTIONS
   ============================================ */

/* White section — used for Focus Areas, Process alternates */
.section-white {
  background: var(--bg-white);
  color: var(--text-dark);
}
.section-white .section-label { color: var(--accent-dark); }
.section-white .section-label::before { background: var(--accent-dark); }
.section-white .display-md,
.section-white h1,
.section-white h2,
.section-white h3 { color: var(--text-dark); }
.section-white .body-lg,
.section-white .body-md { color: var(--text-dark-sec); }
.section-white .body-sm { color: var(--text-dark-mut); }

/* Off-white / cream section */
.section-offwhite {
  background: var(--bg-off-white);
  color: var(--text-dark);
}
.section-offwhite .section-label { color: var(--accent-dark); }
.section-offwhite .section-label::before { background: var(--accent-dark); }
.section-offwhite .display-md,
.section-offwhite h2,
.section-offwhite h3 { color: var(--text-dark); }
.section-offwhite .body-lg,
.section-offwhite .body-md { color: var(--text-dark-sec); }
.section-offwhite .body-sm { color: var(--text-dark-mut); }

/* Accent tint — lime green very light */
.section-accent-tint {
  background: var(--bg-accent-tint);
  color: var(--text-dark);
}
.section-accent-tint .section-label { color: var(--accent-dark); }
.section-accent-tint .section-label::before { background: var(--accent-dark); }
.section-accent-tint .display-md,
.section-accent-tint h2 { color: var(--text-dark); }
.section-accent-tint .body-lg,
.section-accent-tint .body-md { color: var(--text-dark-sec); }

/* Light cards inside light sections */
.section-white .focus-item,
.section-offwhite .focus-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}
.section-white .focus-item:hover,
.section-offwhite .focus-item:hover { background: var(--bg-off-white); }
.section-white .focus-grid,
.section-offwhite .focus-grid { background: var(--border-light); border-color: var(--border-light); }
.section-white .focus-title,
.section-offwhite .focus-title { color: var(--text-dark); }

/* Light process steps */
.section-offwhite .process-grid { background: var(--border-light); border-color: var(--border-light); }
.section-offwhite .process-step { background: var(--bg-white); }
.section-offwhite .process-step:hover { background: var(--bg-off-white); }
.section-offwhite .process-step-title { color: var(--text-dark); }
.section-offwhite .process-step-num { color: rgba(130,185,10,0.38); }

/* Light about stats */
.section-white .about-stat-block { background: var(--border-light); border-color: var(--border-light); }
.section-white .about-stat { background: var(--bg-white); }
.section-white .about-stat-label { color: var(--text-dark-mut); }
.section-white .about-pillar { border-color: var(--border-light); }
.section-white .pillar-title { color: var(--text-dark); }

/* Light news cards */
.section-offwhite .news-full-grid,
.section-offwhite .news-grid { background: var(--border-light); border-color: var(--border-light); }
.section-offwhite .news-card { background: var(--bg-white); }
.section-offwhite .news-card:hover { background: var(--bg-off-white); }
.section-offwhite .news-title { color: var(--text-dark); }
.section-offwhite .news-date { color: var(--text-dark-mut); }

/* Light portfolio cards */
.section-white .portfolio-grid { background: var(--border-light); border-color: var(--border-light); }
.section-white .portfolio-card { background: var(--bg-white); }
.section-white .portfolio-card:hover { background: var(--bg-off-white); }
.section-white .company-name { color: var(--text-dark); }
.section-white .portfolio-filters { border-color: var(--border-light); }
.section-white .filter-btn { border-color: var(--border-light); color: var(--text-dark-mut); }

/* Light fund cards */
.section-white .funds-grid { background: var(--border-light); border-color: var(--border-light); }
.section-white .fund-card { background: var(--bg-white); }
.section-white .fund-card:hover { background: var(--bg-off-white); }
.section-white .fund-title { color: var(--text-dark); }
.section-white .fund-num { color: var(--text-dark-mut); }
.section-white .fund-tag { border-color: var(--border-light); color: var(--text-dark-mut); }
.section-white .exit-chip { color: var(--text-dark-sec); background: rgba(0,0,0,0.04); }
.section-white .fund-exits-label { color: var(--text-dark-mut); }

/* Divider gradient between dark→light sections */
.section-divider-fade {
  height: 6px;
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-off-white));
}

/* ============================================
   MAP — LIGHT (no dark filter)
   ============================================ */
.map-placeholder iframe {
  filter: none;
}
.map-light iframe {
  filter: none;
}

/* Location section light override */
.location-light {
  background: var(--bg-off-white);
  color: var(--text-dark);
}
.location-light .section-label { color: var(--accent-dark); }
.location-light .section-label::before { background: var(--accent-dark); }
.location-light .display-md { color: var(--text-dark); }
.location-light .address-line { color: var(--text-dark-sec); }
.location-light .address-country { color: var(--accent-dark); }
.location-light .map-placeholder {
  background: var(--bg-white);
  border-color: var(--border-light);
}
.location-light .btn-outline {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-dark);
}
.location-light .btn-outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* ============================================
   LIGHT SECTION — ADDITIONAL OVERRIDES
   ============================================ */

/* Metrics ticker always dark */
.metrics-ticker { background: var(--bg-darker); }

/* About pillars on white */
.section-white .about-pillar:first-child { border-top: 1px solid var(--border-light); }
.section-white .about-pillar { border-bottom-color: var(--border-light); }
.section-white .pillar-num { color: var(--accent-dark); }

/* AIFM block on white */
.section-white .about-aifm {
  background: var(--bg-off-white);
  border-color: var(--border-light);
}
.section-white .aifm-text { color: var(--text-dark-mut); }
.section-white .aifm-text strong { color: var(--text-dark-sec); }

/* Process step label on off-white */
.section-offwhite .process-step-num { color: rgba(130,185,10,0.38); }
.section-offwhite .process-step .body-md { color: var(--text-dark-sec); }

/* Focus icons on white */
.section-white .focus-icon { opacity: 0.6; }
.section-white .focus-item .body-md { color: var(--text-dark-sec); }

/* News category bar on off-white */
.section-offwhite .news-category-bar {
  border-color: var(--border-light);
}
.section-offwhite .news-cat-btn {
  color: var(--text-dark-mut);
  border-color: var(--border-light);
}

/* Portfolio filter on white */
.section-white .portfolio-filters { border-color: var(--border-light); }
.section-white .filter-btn { color: var(--text-dark-mut); border-right-color: var(--border-light); }
.section-white .filter-btn.active,
.section-white .filter-btn:hover { background: var(--accent); color: var(--bg-darker); border-right-color: var(--accent); }

/* Company sector on white */
.section-white .company-sector { color: var(--accent-dark); }
.section-white .company-desc { color: var(--text-dark-mut); }
.section-white .company-fund-badge { border-color: var(--border-light); color: var(--text-dark-mut); }
.section-white .exit-badge { color: var(--accent-dark); border-color: var(--border-light-accent); }

/* Team join section on white */
.section-white .body-lg { color: var(--text-dark-sec); }
.section-white .body-md { color: var(--text-dark-sec); }
.section-white .body-sm { color: var(--text-dark-mut); }
.section-white [style*="border:1px solid var(--border)"] {
  border-color: var(--border-light) !important;
  background: var(--bg-off-white) !important;
}

/* ============================================
   HERO IMAGE + OVERLAY
   ============================================ */

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* U-shaped gradient: dark top (header area), transparent centre (sheep photo), dark bottom (text) */
  background:
    linear-gradient(
      to bottom,
      rgba(30, 35, 40, 0.82) 0%,
      rgba(30, 35, 40, 0.72) 8%,
      rgba(30, 35, 40, 0.45) 20%,
      rgba(30, 35, 40, 0.32) 38%,
      rgba(30, 35, 40, 0.32) 50%,
      rgba(30, 35, 40, 0.55) 68%,
      rgba(30, 35, 40, 0.78) 82%,
      rgba(30, 35, 40, 0.92) 100%
    );
}

/* Ensure grid and content sit above overlay */
.hero-grid { z-index: 2; }
.hero-content { z-index: 3; }
.hero-scroll-hint { z-index: 3; }

/* Remove old radial bg since we now have a photo */

/* ============================================
   SECTION RHYTHM — EXTENDED OVERRIDES
   ============================================ */

/* About section on white */
.section-white #about .about-left .display-md,
.section-white .about-left .display-md { color: var(--text-dark); }

/* Funds section stays dark — accent top border on hover */
.funds-section { background: var(--bg-darker); }

/* Portfolio on off-white */
.section-offwhite .portfolio-card { background: var(--bg-white); }
.section-offwhite .portfolio-card:hover { background: var(--bg-off-white); }
.section-offwhite .company-name { color: var(--text-dark); }
.section-offwhite .company-sector { color: var(--accent-dark); }
.section-offwhite .company-desc { color: var(--text-dark-mut); }
.section-offwhite .company-fund-badge { border-color: var(--border-light); color: var(--text-dark-mut); }
.section-offwhite .exit-badge { color: var(--accent-dark); border-color: var(--border-light-accent); }
.section-offwhite .portfolio-grid { background: var(--border-light); border-color: var(--border-light); }
.section-offwhite .portfolio-filters { border-color: var(--border-light); }
.section-offwhite .filter-btn { color: var(--text-dark-mut); border-right-color: var(--border-light); }
.section-offwhite .filter-btn.active,
.section-offwhite .filter-btn:hover { background: var(--accent); color: var(--bg-darker); }
.section-offwhite .display-md { color: var(--text-dark); }
.section-offwhite .body-lg { color: var(--text-dark-sec); }

/* Process on dark (bg-darker) — restore dark styles */
.process-section {
  background: var(--bg-darker);
  color: var(--text-primary);
}
.process-section .section-label { color: var(--accent); }
.process-section .section-label::before { background: var(--accent); }
.process-section .display-md { color: var(--text-primary); }
.process-section .process-grid { background: var(--border); border-color: var(--border); }
.process-section .process-step { background: var(--bg-darker); }
.process-section .process-step:hover { background: var(--bg-mid); }
.process-section .process-step-title { color: var(--text-primary); }
.process-section .process-step-num { color: rgba(163,216,38,0.38); }
.process-section .body-md { color: var(--text-secondary); }

/* Focus areas on white — already handled, ensure btn-outline visible */
.section-white .btn-outline {
  border-color: rgba(0,0,0,0.18);
  color: var(--text-dark);
}
.section-white .btn-outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* Location — accent tint (lime green very pale) */
.location-accent {
  background: var(--bg-accent-tint);
  color: var(--text-dark);
}
.location-accent .section-label { color: var(--accent-dark); }
.location-accent .section-label::before { background: var(--accent-dark); }
.location-accent .display-md { color: var(--text-dark); }
.location-accent .address-line { color: var(--text-dark-sec); }
.location-accent .address-country { color: var(--accent-dark); font-weight: 600; }
.location-accent .map-placeholder {
  background: var(--bg-white);
  border-color: rgba(130,185,10,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.location-accent .map-placeholder iframe { filter: none; }
.location-accent .btn-primary { background: var(--accent-dark); }
.location-accent .btn-outline {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-dark);
}
.location-accent .btn-outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* Hamburger icon always white and visible on hero */
.hamburger span { background: rgba(255,255,255,0.9); }

/* Subtle section separator lines for visual breathing */
.section-white + .funds-section,
.section-offwhite + .process-section { border-top: none; }

/* About stats on white bg */
.section-white .about-stat-num { color: var(--accent-dark); }
.section-white .about-stat { background: var(--bg-off-white); }
.section-white .about-stat-block {
  background: var(--border-light);
  border-color: var(--border-light);
}

/* Exit badge — green accent variant for realized exits */
.exit-badge--green {
  color: var(--accent);
  border-color: var(--border-accent);
  background: rgba(163,216,38,0.06);
  font-weight: 700;
}
.section-white .exit-badge--green,
.section-offwhite .exit-badge--green {
  color: var(--accent-dark);
  border-color: var(--border-light-accent);
  background: rgba(130,185,10,0.08);
}

/* ============================================
   LOGO PNG — sizing overrides
   ============================================ */
.header-logo img {
  height: 36px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
}
.footer-logo {
  height: 26px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .header-logo img { height: 22px; max-width: 140px; }
}

/* Hero fund focus labels — ensure contrast on dark hero bg */
.hero-fund-focus {
  color: rgba(255,255,255,0.9) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Portfolio grid last child — match section bg on any odd-count grid */
.section-offwhite .portfolio-grid .portfolio-card:last-child {
  background: var(--bg-off-white);
}

/* ── AUM label in fund cards ──────────────────────────── */
.fund-aum {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.section-white .fund-aum { color: var(--accent-dark); }

/* ── Ghost portfolio card (filler) ───────────────────── */
.portfolio-card--ghost {
  background: var(--bg-off-white) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

@media (max-width: 640px) {
  .portfolio-card--ghost { display: none; }
}

/* ── Hero fund focus — light weight baseline ─────────── */
.hero-fund-focus {
  font-weight: 300 !important;
  letter-spacing: 0.02em;
}

/* ── Ticker item gap increase for readability ─────────── */
.ticker-item { gap: 2rem; padding: 0 2.5rem; }

/* ── Footer EU flag + updated desc ───────────────────── */
.footer-flag {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 280px;
}

/* ── Footer responsive: 5 cols → stack gracefully ────── */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── AUM display block in fund cards ──────────────────── */
.fund-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.fund-aum-block {
  text-align: right;
  flex-shrink: 0;
}

.fund-aum-figure {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.fund-aum-unit {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0.85;
  vertical-align: super;
  line-height: 0;
  position: relative;
  top: -0.3rem;
}

.fund-aum-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
  text-align: right;
}

.section-white .fund-aum-figure { color: var(--accent-dark); }
.section-white .fund-aum-label  { color: var(--text-dark-mut); }

/* ── EU flag in footer ─────────────────────────────────── */
.footer-eu-flag {
  width: 36px;
  height: auto;
  display: block;
  margin-bottom: 0.9rem;
  border-radius: 3px;
  opacity: 0.9;
}

/* ── Nav overlay login area ───────────────────────────── */
.nav-login-area {
  padding: 1.5rem 3rem 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.nav-login-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.nav-login-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: 160px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--accent);
  color: var(--bg-darker);
  background: var(--accent);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-login-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-login-btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.nav-login-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

/* Keep overlay flex column so login area sticks to bottom */
.nav-overlay {
  justify-content: flex-start;
  padding-top: max(80px, 8vh);
}

.nav-menu {
  flex: 0 0 auto;
}

/* ── Philosophy pillars grid (about.html) ─────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  margin-top: 0;
}

.phil-card {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  transition: background 0.25s;
  position: relative;
}

.phil-card:hover { background: var(--bg-off-white); }

.phil-num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(163,216,38,0.25);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.phil-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.phil-body {
  font-size: 0.82rem;
  color: var(--text-dark-sec);
  line-height: 1.75;
}

/* Top border accent on hover */
.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.phil-card:hover::before { transform: scaleX(1); }

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .phil-card { padding: 2rem 1.5rem; }
}

/* ── Portfolio section labels (portfolio.html) ────────────── */
.portfolio-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border);
}

.psl-fund {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}

.psl-name {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.psl-status {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-left: auto;
}

.psl-status--closed {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.psl-status--active {
  background: rgba(163,216,38,0.08);
  color: var(--accent);
  border: 1px solid rgba(163,216,38,0.3);
}

.psl-status--launching {
  background: rgba(163,216,38,0.06);
  color: rgba(163,216,38,0.7);
  border: 1px solid rgba(163,216,38,0.2);
  animation: pulse-label 2.5s ease-in-out infinite;
}

@keyframes pulse-label {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Fund II teaser cards */
.portfolio-card--fund2-teaser {
  background: rgba(255,255,255,0.015);
  border-color: rgba(163,216,38,0.12);
  border-style: dashed;
  border-width: 0.5px;
}

/* ── Invisible filler cards (portfolio grid) ─── */
.portfolio-card--invisible {
  background: var(--bg-primary) !important;
  border-color: var(--bg-primary) !important;
  pointer-events: none;
  cursor: default;
}
/* Section-white invisible cards */
.section-white .portfolio-card--invisible {
  background: var(--bg-white) !important;
  border-color: var(--bg-white) !important;
}
.section-white .portfolio-card--fund2-teaser,
.section-offwhite .portfolio-card--fund2-teaser {
  background: var(--bg-cream);
  border-color: rgba(163,216,38,0.3);
  border-style: dashed;
  border-width: 0.5px;
  opacity: 0.5;
  transition: opacity 0.25s, border-color 0.25s, background 0.25s;
}
.section-white .portfolio-card--fund2-teaser:hover,
.section-offwhite .portfolio-card--fund2-teaser:hover,
.section-offwhite .portfolio-card.portfolio-card--fund2-teaser:hover {
  opacity: 1;
  border-color: rgba(163,216,38,0.7);
  background: var(--bg-white) !important;
}
/* Exits grid: force 3 cols only (no overflow ghost) */
.exits-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 640px) { .exits-grid { grid-template-columns: 1fr !important; } }

/* Unicorn badge */
.exit-badge.exit-badge--unicorn {
  color: #9C6FD6 !important;
  border-color: #9C6FD6 !important;
  background: rgba(156,111,214,0.07);
  justify-content: center;
}

/* ── About: exit row items wrap on mobile ─── */
@media (max-width: 600px) {
  .about-stat-block { gap: 1.5rem; }
  .fund-header-row { flex-direction: column; gap: 0.5rem; }
  .fund-aum-block { text-align: left; }
}

/* ═══ MOBILE FONT-SIZE OVERRIDES (+2pt) — max-width:900px ═══ */
@media (max-width: 900px) {
  .skip-link { font-size: 0.925rem; }
  .section-label { font-size: 0.95rem; }
  .nav-link .nav-num { font-size: 0.825rem; }
  .hero-tag { font-size: 0.775rem; }
  .hero-fund-badge { font-size: 0.85rem; }
  .hero-scroll-hint span { font-size: 0.725rem; }
  .about-stat-label { font-size: 0.95rem; }
  .fund-num { font-size: 0.8rem; }
  .fund-subtitle { font-size: 0.925rem; }
  .fund-tag { font-size: 0.95rem; }
  .fund-exits-label { font-size: 0.775rem; }
  .exit-chip { font-size: 0.95rem; }
  .exit-arrow { font-size: 0.725rem; }
  .pstat-label { font-size: 0.875rem; }
  .filter-btn { font-size: 0.825rem; }
  .btn-filter-link { font-size: 0.825rem; }
  .company-fund-badge { font-size: 0.8rem; }
  .company-sector { font-size: 0.95rem; }
  .exit-badge { font-size: 0.85rem; }
  .team-role { font-size: 0.875rem; }
  .news-tag { font-size: 0.725rem; }
  .news-date { font-size: 0.825rem; }
  .platform-name { font-size: 0.825rem; }
  .address-country { font-size: 0.825rem; }
  .footer-desc { font-size: 0.945rem; }
  .footer-social a { font-size: 0.875rem; }
  .footer-col-title { font-size: 0.55rem; }
  .footer-legal { font-size: 0.845rem; }
  .footer-copy { font-size: 0.845rem; }
  .form-subtitle { font-size: 0.945rem; }
  .form-email-hint { font-size: 0.775rem; }
  .form-label { font-size: 0.775rem; }
  .upload-text { font-size: 0.825rem; }
  .upload-sub { font-size: 0.845rem; }
  .fund-aum-label { font-size: 0.875rem; }
  .nav-login-label { font-size: 0.775rem; }
  .nav-login-btn { font-size: 0.845rem; }
  .phil-body { font-size: 0.945rem; }
  .psl-fund { font-size: 0.725rem; }
  .psl-name { font-size: 0.725rem; }
  .psl-status { font-size: 0.675rem; }
}

/* ═══ MOBILE FONT-SIZE OVERRIDES (+2pt) — max-width:480px ═══ */
@media (max-width: 480px) {
  .skip-link { font-size: 0.925rem; }
  .section-label { font-size: 0.95rem; }
  .nav-link .nav-num { font-size: 0.825rem; }
  .hero-tag { font-size: 0.775rem; }
  .hero-fund-badge { font-size: 0.85rem; }
  .hero-scroll-hint span { font-size: 0.725rem; }
  .about-stat-label { font-size: 0.95rem; }
  .fund-num { font-size: 0.8rem; }
  .fund-subtitle { font-size: 0.925rem; }
  .fund-tag { font-size: 0.95rem; }
  .fund-exits-label { font-size: 0.775rem; }
  .exit-chip { font-size: 0.95rem; }
  .exit-arrow { font-size: 0.725rem; }
  .pstat-label { font-size: 0.875rem; }
  .filter-btn { font-size: 0.825rem; }
  .btn-filter-link { font-size: 0.825rem; }
  .company-fund-badge { font-size: 0.8rem; }
  .company-sector { font-size: 0.95rem; }
  .exit-badge { font-size: 0.85rem; }
  .team-role { font-size: 0.875rem; }
  .news-tag { font-size: 0.725rem; }
  .news-date { font-size: 0.825rem; }
  .platform-name { font-size: 0.825rem; }
  .address-country { font-size: 0.825rem; }
  .footer-desc { font-size: 0.945rem; }
  .footer-social a { font-size: 0.875rem; }
  .footer-col-title { font-size: 0.55rem; }
  .footer-legal { font-size: 0.845rem; }
  .footer-copy { font-size: 0.845rem; }
  .form-subtitle { font-size: 0.945rem; }
  .form-email-hint { font-size: 0.775rem; }
  .form-label { font-size: 0.775rem; }
  .upload-text { font-size: 0.825rem; }
  .upload-sub { font-size: 0.845rem; }
  .fund-aum-label { font-size: 0.875rem; }
  .nav-login-label { font-size: 0.775rem; }
  .nav-login-btn { font-size: 0.845rem; }
  .phil-body { font-size: 0.945rem; }
  .psl-fund { font-size: 0.725rem; }
  .psl-name { font-size: 0.725rem; }
  .psl-status { font-size: 0.675rem; }
}

/* ═══ MOBILE NAV OVERLAY — larger items + Restricted Access positioning ═══ */
@media (max-width: 900px) {
  .nav-link {
    font-size: clamp(1.8rem, min(6vw, 8vh), 3.5rem);
    padding: clamp(0.6rem, 1.8vh, 1.3rem) 0;
  }
  .nav-link .nav-num {
    font-size: 0.9rem;
  }
  .nav-menu {
    padding: 1.5rem 2.5rem;
  }
  .nav-login-area {
    margin-top: 1.5rem;
    padding: 1.5rem 2.5rem 2rem;
  }
  .nav-login-label {
    font-size: 0.8rem;
  }
  .nav-login-btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.4rem;
  }
}

/* ═══ DESKTOP NAV OVERLAY — fit all items in viewport without scroll ═══ */
@media (min-width: 901px) {
  .nav-overlay {
    padding-top: 80px;
    justify-content: flex-start;
  }
  .nav-menu {
    padding: 0.25rem 3rem;
  }
  .nav-link {
    font-size: clamp(1.2rem, min(2.75vw, 4.75vh), 2.325rem);
    padding: clamp(0.2rem, 0.72vh, 0.58rem) 0;
  }
  .nav-login-area {
    margin-top: 0.5rem;
    padding: 0.75rem 3rem 1.25rem;
  }
  .nav-login-btn {
    padding: 0.55rem 1rem;
  }
}



/* ── Performance: content-visibility for off-screen sections ── */
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ── Print styles: hide decorative elements ── */
@media print {
  .hero-bg, .hero-overlay, .hero-grid,
  .metrics-ticker, .hero-scroll-hint,
  .site-header, #footer-mount { display: none; }
  body { color: #000; background: #fff; }
}
