/* ============================================================
   IKBIC Ventures — Stylesheet
   Fonts: Instrument Serif · DM Sans · DM Mono
   Palette: warm cream / off-white, dark charcoal, red accent
   ============================================================ */

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

:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-mono:    "DM Mono", "SF Mono", monospace;

  --bg:           #f6f4f0;
  --bg-elevated:  #edeae4;
  --bg-inset:     #e5e2db;
  --fg:           #1a1917;
  --fg-secondary: #6b6860;
  --fg-tertiary:  #9c9890;
  --fg-ghost:     #c4c0b8;
  --accent:       #c8432b;
  --accent-soft:  rgba(200,67,43,0.07);
  --border:       #dad7d0;
  --border-light: #edeae4;
  --success:      #2d7d46;
  --success-soft: rgba(45,125,70,0.08);
  --error:        #b33a2d;
  --error-soft:   rgba(179,58,45,0.08);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--fg);
}
.body {
  font-family: var(--font-body);
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.body-sm {
  font-family: var(--font-body);
  color: var(--fg-tertiary);
  font-size: 13px;
  line-height: 1.55;
}
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--fg-tertiary);
  font-size: 12px;
  font-weight: 300;
}

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.rule { background: var(--border); border: none; height: 1px; width: 100%; margin: 0; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-elevated); }

/* ── Buttons ── */
.btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-dark {
  background: var(--fg);
  color: var(--bg);
}
.btn-dark:hover { background: #2e2c29; }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--fg); }
.btn-full { width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(246,244,240,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--border); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
/* Legacy text wordmark kept for reference */
.logo-wordmark {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.logo-light {
  font-weight: 400;
  color: var(--fg-secondary);
  margin-left: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-secondary);
  text-decoration: none;
  padding: 8px 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--fg);
  color: var(--bg) !important;
  padding: 7px 18px !important;
  font-weight: 500 !important;
  margin-left: 8px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: #2e2c29 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: 0.15s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}
.mobile-menu a {
  font-size: 14px;
  color: var(--fg-secondary);
  text-decoration: none;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--fg); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  padding-top: 60px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
  gap: 0;
}
.hero-left {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 60px 72px 0;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 60px;
}
.hero-label {
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fg-tertiary);
}
.hero-title {
  font-size: clamp(40px, 4.5vw, 64px);
  margin-bottom: 20px;
  max-width: 520px;
}
.hero-title em {
  font-style: italic;
  color: var(--fg-secondary);
}
.hero-sub {
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 20px;
}
.hero-stats { display: flex; flex-direction: column; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.stat-row:first-child { border-top: 1px solid var(--border-light); }
.stat-key {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-ghost);
}
.stat-val {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--border); padding: 60px 0 48px; }
  .hero-right { padding: 48px 0 60px; }
}
@media (max-width: 520px) {
  .hero-left { padding: 48px 0 36px; }
  .hero-right { padding: 36px 0 48px; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
}

/* ── SECTION HEADERS ── */
.section-head {
  margin-bottom: 56px;
  max-width: 680px;
}
.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--fg-secondary);
}
.section-desc { max-width: 520px; }

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.port-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: background 0.15s;
}
.port-card:hover { background: var(--bg-inset); }
.port-card--featured {
  background: var(--bg);
  position: relative;
}
.port-card--featured::after {
  content: "Featured";
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 7px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.port-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.port-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  padding: 6px;
  /* Fallback text style if no image */
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg);
}
/* Logo on dark/black background - no extra padding needed, show as-is */
.port-mark--dark {
  background: #0d0d0d;
  border-color: #1a1a1a;
  padding: 0;
}
/* Logo on white/light background - slight inset padding */
.port-mark--light {
  background: #ffffff;
  border-color: var(--border);
  padding: 8px;
}
/* Teal brand background (Lamko) */
.port-mark--teal {
  background: #0d9488;
  border-color: #0a7c70;
  padding: 0;
}
.port-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.port-sector {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  text-align: right;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.port-name {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.port-desc {
  flex: 1;
  margin-bottom: 24px;
  line-height: 1.55;
}
.port-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.port-url {
  font-size: 11px;
  color: var(--fg-ghost);
  letter-spacing: 0.02em;
}
.port-arrow {
  font-size: 16px;
  color: var(--fg-tertiary);
  transition: transform 0.15s, color 0.15s;
}
.port-card:hover .port-arrow {
  transform: translate(2px, -2px);
  color: var(--fg);
}

/* ── EXITS ── */
.exits-wrap {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.exits-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 28px;
  display: block;
}
.exits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .exits-grid { grid-template-columns: 1fr; } }

.exit-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
@media (max-width: 768px) { .exit-card { border-right: none; border-bottom: 1px solid var(--border); } }

.exit-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.exit-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}
.exit-logo-mark {
  width: 64px;
  height: 36px;
  padding: 0;
}
.exit-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
  border: 1px solid var(--success);
  padding: 2px 8px;
  background: var(--success-soft);
  white-space: nowrap;
}
.exit-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}
.exit-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.exit-meta-row:last-child { border-bottom: none; }
.exit-meta-key {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-ghost);
}
.exit-meta-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.exit-outcome {
  color: var(--success);
}
.exit-note {
  padding: 36px 32px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.exit-note-head {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .exits-wrap { margin-top: 48px; padding-top: 36px; }
  .exit-card { padding: 24px 20px; }
  .exit-note { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .exits-wrap { margin-top: 36px; padding-top: 28px; }
  .exit-card { padding: 20px 16px; }
  .exit-note { padding: 20px 16px; }
  .exit-note-head { font-size: 24px; }
}

/* ── ACCELERATOR ── */
.accel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .accel-grid { grid-template-columns: 1fr; } }

.accel-col {
  padding: 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.accel-col:nth-child(even) { border-right: none; }
.accel-col--full {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}
.col-heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.terms-rows { display: flex; flex-direction: column; margin-bottom: 32px; }
.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.terms-row:last-child { border-bottom: none; }
.terms-key {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-ghost);
}
.terms-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.benefits-list { display: flex; flex-direction: column; }
.benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.benefit:last-child { border-bottom: none; }
.benefit-num {
  font-size: 11px;
  color: var(--fg-ghost);
  flex-shrink: 0;
  min-width: 20px;
  padding-top: 1px;
}
.benefit-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.3;
}
.benefit-desc { line-height: 1.55; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 768px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
.process-step {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--border-light);
  padding-right: 28px;
}
.process-step:last-child { border-right: none; }
.process-step:not(:first-child) { padding-left: 28px; }
.process-num {
  display: block;
  font-size: 11px;
  color: var(--fg-ghost);
  margin-bottom: 12px;
}
.process-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}
.process-desc { line-height: 1.55; }

/* ── KSCOUTRE ── */
.kscoutre-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .kscoutre-wrap { grid-template-columns: 1fr; gap: 48px; } }

.kscoutre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--fg-secondary);
  background: var(--bg);
}
.kscoutre-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.partner-note {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--fg-ghost);
}
.kscoutre-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px;
}
.ksc-label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 14px;
  display: block;
}
.ksc-headline {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 24px;
}
.ksc-headline em { font-style: italic; color: var(--fg-secondary); }
.kscoutre-card .rule { margin-bottom: 24px; }
.ksc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
}
.ksc-row:last-child { border-bottom: none; }
.ksc-key {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-ghost);
}
.ksc-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

/* ── APPLY ── */
.apply-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .apply-layout { grid-template-columns: 1fr; gap: 40px; } }

.sidebar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-heading {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 16px;
  display: block;
}
.sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row .mono { font-size: 11px; color: var(--fg-ghost); }
.sidebar-row strong { font-size: 13px; font-weight: 500; color: var(--fg); }
.sidebar-note {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.sidebar-note .body-sm { line-height: 1.6; }
.sidebar-note strong { color: var(--fg); }

/* ── Form ── */
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 16px; }
.form-row.two-col > * { flex: 1; }
@media (max-width: 600px) { .form-row { flex-direction: column; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.req { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-ghost); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--fg); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239c9890' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: var(--bg); color: var(--fg); }
.form-hint {
  font-size: 11px;
  color: var(--fg-ghost);
  letter-spacing: 0.01em;
}

.form-checks { display: flex; flex-direction: column; gap: 12px; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.check-label input[type="checkbox"] { display: none; }
.checkmark {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s;
}
.check-label input:checked + .checkmark {
  background: var(--fg);
  border-color: var(--fg);
}
.check-label input:checked + .checkmark::after {
  content: "";
  width: 8px; height: 5px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg) translateY(-1px);
}
.check-text {
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.5;
}
.check-text strong { color: var(--fg); }

.form-error {
  font-size: 13px;
  color: var(--error);
  padding: 11px 14px;
  border: 1px solid var(--error);
  background: var(--error-soft);
}
.btn-submit {
  font-size: 14px;
  font-weight: 500;
  padding: 14px;
}
.form-success {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.success-head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
}
.form-success .body-sm { line-height: 1.6; }

/* ── ABOUT ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; gap: 48px; } }
.about-partner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.partner-chip {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border: 1px solid var(--border);
  color: var(--fg-secondary);
  background: var(--bg);
}
.focus-block { margin-bottom: 32px; }
.focus-list { display: flex; flex-direction: column; }
.focus-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
}
.focus-item:first-child { border-top: 1px solid var(--border-light); }
.focus-num {
  font-size: 10px;
  color: var(--fg-ghost);
  flex-shrink: 0;
  min-width: 20px;
}
.focus-label {
  font-size: 14px;
  color: var(--fg);
  font-weight: 400;
}
.geo-block {}
.geo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── PRESENCE MAP ── */
.map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}
.map-svg-wrap {
  width: 100%;
  background: #dde8f0;  /* ocean colour */
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Countries */
.map-country {
  fill: #e8e3da;
  stroke: #c8c2b6;
  stroke-width: 0.4;
  stroke-linejoin: round;
}

/* Presence dots */
.map-dot {
  pointer-events: none;
}
.map-dot--hq {
  fill: #1a1917;
}
.map-dot--active {
  fill: #555047;
}

/* Pulse animation rings */
.map-pulse {
  fill: none;
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: center;
  animation: mapRingPulse 2.6s ease-out infinite;
}
.map-pulse--hq {
  stroke: #1a1917;
}
.map-pulse--active {
  stroke: #555047;
  animation-delay: 0.8s;
}
@keyframes mapRingPulse {
  0%   { opacity: 0.8; r: 6; }
  100% { opacity: 0;   r: 20; }
}

/* Map labels */
.map-label {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  fill: #1a1917;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
}
.map-label--sub {
  font-size: 7.5px;
  fill: #888278;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Legend */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 24px 32px;
}
.map-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border-light);
}
.map-legend-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.map-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.map-legend-dot--hq     { background: #1a1917; }
.map-legend-dot--active { background: #555047; }
.map-legend-name {
  font-size: 11px;
  color: var(--fg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}
.map-legend-desc {
  font-size: 10px;
  color: var(--fg-ghost);
  letter-spacing: 0.03em;
  display: block;
}

@media (max-width: 768px) {
  .map-legend { padding: 20px 20px; gap: 16px; }
  .map-legend-item { border-right: none; padding-right: 0; margin-right: 0; }
}
@media (max-width: 480px) {
  .map-legend { padding: 16px 16px; flex-direction: column; gap: 14px; }
}

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.contact-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}
.contact-detail-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-detail-key {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-ghost);
  min-width: 110px;
  flex-shrink: 0;
}
.contact-detail-val {
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  line-height: 1.5;
}
a.contact-detail-val:hover { color: var(--fg-secondary); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer email / LinkedIn inline links */
.footer-email-link {
  color: var(--fg-ghost);
  text-decoration: none;
  font-size: 11px;
  transition: color 0.15s;
}
.footer-email-link:hover { color: var(--fg-secondary); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding-top: 56px;
  padding-bottom: 56px;
  align-items: start;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  max-width: 200px;
}
.footer-tagline { font-size: 12px; color: var(--fg-ghost); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-col-head {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--fg-ghost);
  margin-bottom: 14px;
  display: block;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--fg-tertiary);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom-inner .mono { font-size: 11px; color: var(--fg-ghost); }
.footer-sep { color: var(--fg-ghost); font-size: 11px; }

/* ── Fade-in animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; }
.fade-up.d4 { transition-delay: 0.32s; }
.fade-up.d5 { transition-delay: 0.40s; }

/* ════════════════════════════════════════════════
   MOBILE — comprehensive responsive overrides
   Breakpoints: 768px tablet, 600px, 480px, 375px
   ════════════════════════════════════════════════ */

/* ── 768px and below ── */
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  /* Nav */
  .nav-inner { padding: 0 20px; height: 56px; }
  .nav-logo-img { height: 30px; max-width: 180px; }
  .mobile-menu a { padding: 14px 20px; }

  /* Hero */
  .hero { padding-top: 56px; }
  .hero-inner { min-height: auto; }

  /* Fund overview — extra stat rows stack fine, ensure no overflow */
  .hero-stats { width: 100%; }
  .stat-row { gap: 8px; }
  .stat-key { max-width: 60%; }

  /* Accelerator — single column, remove odd/even right border */
  .accel-col { padding: 28px 20px; border-right: none; }
  .accel-col--full { border-right: none; }

  /* Process steps */
  .process-step { padding: 20px 16px; }
  .process-step:first-child { padding-left: 0; }
  .process-step:not(:first-child) { padding-left: 16px; }

  /* KScoutre */
  .kscoutre-card { padding: 24px 20px; }
  .kscoutre-ctas { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kscoutre-ctas .btn { width: 100%; text-align: center; justify-content: center; }

  /* Map */
  .map-wrap { border-left: none; border-right: none; margin: 0 -20px; }
  .map-legend { padding: 20px 20px; flex-wrap: wrap; gap: 16px; }
  .map-legend-item { border-right: none; padding-right: 0; margin-right: 0; }
  .map-legend-desc { font-size: 9.5px; line-height: 1.6; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-detail-row { flex-wrap: wrap; gap: 4px; }
  .contact-detail-key { min-width: 100px; }

  /* Footer */
  .footer-inner { padding-top: 40px; padding-bottom: 40px; }
  .footer-logo-img { height: 32px; max-width: 160px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-sep { display: none; }
  .footer-bottom-inner .mono { font-size: 11px; line-height: 1.7; }
}

/* ── 600px and below ── */
@media (max-width: 600px) {
  /* Section heads */
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: clamp(28px, 7vw, 36px); }

  /* Portfolio cards */
  .port-card { padding: 24px 20px; }
  .port-card-top { margin-bottom: 16px; }
  .port-sector {
    font-size: 9px;
    letter-spacing: 0.03em;
    text-align: right;
    max-width: calc(100% - 72px); /* logo width + gap */
    line-height: 1.4;
  }
  .port-name { font-size: 16px; }
  .port-desc { margin-bottom: 18px; }

  /* Apply form */
  .form-row { flex-direction: column; }
  .apply-form { gap: 14px; }

  /* Footer cols */
  .footer-cols { gap: 28px; }

  /* About */
  .about-layout { gap: 36px; }
}

/* ── 600px and below — additional ── */
@media (max-width: 600px) {
  /* Map legend wraps to column */
  .map-legend { flex-direction: column; gap: 14px; padding: 18px 20px; }
  .map-legend-desc { font-size: 9px; line-height: 1.65; }

  /* Contact detail rows stack */
  .contact-detail-row { flex-direction: column; gap: 2px; padding: 12px 0; }
  .contact-detail-key { min-width: unset; }
  .contact-detail-val { font-size: 13px; }
}

/* ── 480px and below ── */
@media (max-width: 480px) {
  /* Layout */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-inner { padding: 0 16px; height: 52px; }
  .nav-logo-img { height: 26px; max-width: 160px; }
  .mobile-menu a { padding: 13px 16px; font-size: 14px; }

  /* Hero */
  .hero { padding-top: 52px; }
  .hero-left { padding: 40px 0 32px; }
  .hero-right { padding: 28px 0 40px; }
  .hero-label { margin-bottom: 16px; }
  .hero-title { font-size: clamp(32px, 8vw, 44px); margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; font-size: 14px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Fund overview stat rows */
  .stat-row { padding: 11px 0; gap: 8px; }
  .stat-key { font-size: 10px; max-width: 52%; line-height: 1.4; }
  .stat-val { font-size: 13px; text-align: right; }

  /* Section heads */
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(26px, 8vw, 34px); }
  .section-desc { font-size: 14px; }

  /* Portfolio */
  .port-card { padding: 20px 16px; }
  .port-mark { width: 48px; height: 48px; }
  .port-mark--dark, .port-mark--teal { padding: 0; }
  .port-mark--light { padding: 6px; }

  /* Accel */
  .accel-grid { border: none; }
  .accel-col { border: 1px solid var(--border); margin-bottom: -1px; padding: 24px 16px; }
  .accel-col--full { border: 1px solid var(--border); }
  .col-heading { margin-bottom: 18px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 16px 0; border-right: none; border-bottom: 1px solid var(--border-light); }
  .process-step:last-child { border-bottom: none; }

  /* KScoutre */
  .kscoutre-card { padding: 20px 16px; }
  .ksc-headline { font-size: 22px; }
  .kscoutre-tags { gap: 6px; }
  .tag { font-size: 10px; padding: 4px 10px; }

  /* Apply & Contact forms */
  .apply-layout { gap: 28px; }
  .contact-layout { gap: 32px; }
  .sidebar-card { padding: 20px 16px; }
  .sidebar-note { padding: 14px 16px; }
  .apply-form { gap: 12px; }
  .contact-form { gap: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevents iOS zoom */ padding: 12px 14px; }

  /* Map */
  .map-wrap { margin: 0 -16px; border-left: none; border-right: none; }
  .map-legend { padding: 16px 16px; flex-direction: column; gap: 12px; }
  .map-legend-name { font-size: 10px; }
  .map-legend-desc { font-size: 8.5px; line-height: 1.7; }

  /* Presence section — hide map SVG text labels at small sizes (dots remain) */
  .map-label { display: none; }

  /* About */
  .focus-item { padding: 11px 0; }
  .focus-label { font-size: 13px; }

  /* Footer */
  .footer-inner { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-col a { font-size: 13px; margin-bottom: 8px; }
  .footer-bottom { padding: 16px 0; }
}

/* ── 375px and below (iPhone SE, small Android) ── */
@media (max-width: 375px) {
  .container { padding: 0 14px; }
  .nav-inner { padding: 0 14px; }
  .mobile-menu a { padding: 12px 14px; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .stat-key { max-width: 50%; }
  .stat-val { font-size: 12px; }
  .port-card { padding: 18px 14px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .kscoutre-card { padding: 18px 14px; }
  .accel-col { padding: 20px 14px; }
  .process-step { padding: 14px 10px; }
  .process-step:first-child { padding-left: 0; }
  .map-legend { padding: 14px 14px; }
  .contact-detail-val { font-size: 12px; }
}
