/* Edge IFC Venture Capital — public site */
:root {
  --ink: #f4f1ea;
  --ink-dim: rgba(244, 241, 234, 0.72);
  --ink-mute: rgba(244, 241, 234, 0.5);
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --paper: #0b0b0c;
  --paper-2: #121214;
  --paper-3: #1a1a1d;
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(244, 241, 234, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body.obsidian-theme,
body.venture-body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.venture-body .page-wrapper { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.vc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.vc-nav.is-stuck {
  background: rgba(11, 11, 12, 0.92);
  border-bottom-color: var(--line);
}
.vc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}
.vc-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.vc-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.vc-logo span { font-size: 0.82rem; text-transform: uppercase; }
.vc-logo em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.vc-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vc-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.vc-links a:hover,
.vc-links a.is-active { color: var(--gold-bright); }

.vc-actions { display: flex; align-items: center; gap: 0.7rem; }
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.vc-btn:hover { transform: translateY(-1px); color: inherit; }
.vc-btn-gold {
  background: linear-gradient(135deg, #f0d78c, #d4af37);
  color: #111;
}
.vc-btn-gold:hover { box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28); color: #111; }
.vc-btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.vc-btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.vc-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
}
.vc-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.vc-drawer.open { opacity: 1; pointer-events: auto; }
.vc-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #101012;
  border-left: 1px solid var(--line);
  padding: 1.5rem;
  transform: translateX(16px);
}
.vc-drawer.open .vc-drawer-panel { transform: none; }
.vc-drawer-panel a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}

.vc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.vc-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.vc-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 8.5rem 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.55) 45%, rgba(11,11,12,0.94) 100%),
    url("../img/venture/hero.jpg") center/cover no-repeat;
}
.vc-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 1.2rem;
}
.vc-hero h1 span { color: var(--gold-bright); font-style: italic; }
.vc-hero .lede {
  max-width: 42rem;
  color: var(--ink-dim);
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.vc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }
.vc-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
}
.vc-hero-meta div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.vc-hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-bright);
}
.vc-hero-meta span {
  color: var(--ink-mute);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vc-section { padding: 5.5rem 0; }
.vc-section-tight { padding: 3.5rem 0; }
.vc-split { background: var(--paper-2); }
.vc-rule { border-top: 1px solid var(--line-soft); }

.vc-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.vc-copy {
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 40rem;
}

.vc-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
.vc-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  display: block;
  color: inherit;
  text-decoration: none;
}
.vc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform 0.6s ease;
}
.vc-tile:hover img { transform: scale(1.1); }
.vc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.78));
}
.vc-tile-body {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 2;
}
.vc-tile-body small {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}
.vc-tile-body h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0.35rem 0 0.4rem;
}
.vc-tile-body p { color: var(--ink-dim); margin: 0; font-size: 0.95rem; }
.vc-tile.tall { min-height: 580px; grid-row: span 2; }
.vc-mosaic-side {
  display: grid;
  gap: 1rem;
}

.vc-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.vc-product {
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  padding: 1.8rem;
  height: 100%;
}
.vc-product .num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
}
.vc-product h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0.6rem 0 0.7rem;
}
.vc-product p { color: var(--ink-dim); margin-bottom: 1rem; }
.vc-product a { color: var(--gold-bright); font-weight: 700; text-decoration: none; }

.vc-news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.5rem;
}
.vc-news-feature {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  overflow: hidden;
}
.vc-news-feature img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.vc-news-feature .pad,
.vc-news-item .pad { padding: 1.4rem 1.5rem 1.6rem; }
.vc-news-feature h3,
.vc-news-item h3 {
  font-family: var(--serif);
  margin: 0.4rem 0 0.6rem;
}
.vc-cat {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.vc-news-stack { display: grid; gap: 1rem; }
.vc-news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  color: inherit;
  text-decoration: none;
}
.vc-news-item img {
  width: 140px;
  height: 100%;
  object-fit: cover;
}
.vc-news-item p,
.vc-news-feature p { color: var(--ink-dim); margin: 0; }

.vc-partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.vc-partner {
  background: var(--paper-2);
  padding: 1.5rem 1.2rem;
  min-height: 120px;
}
.vc-partner strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; }
.vc-partner span { color: var(--ink-mute); font-size: 0.82rem; }

.vc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.vc-step {
  border-top: 1px solid var(--gold);
  padding-top: 1rem;
}
.vc-step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.vc-step p { color: var(--ink-dim); margin: 0; }

.vc-quote {
  background:
    linear-gradient(90deg, rgba(11,11,12,0.82), rgba(11,11,12,0.55)),
    url("../img/venture/hq.jpg") center/cover no-repeat;
  padding: 5rem 0;
}
.vc-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  max-width: 18em;
  margin: 0 0 1.2rem;
}
.vc-quote cite {
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.vc-cta {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vc-cta-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.vc-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.7rem;
}
.vc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.vc-gallery img:first-child { grid-row: span 2; }

.vc-page-hero {
  padding: 9rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.35), rgba(11,11,12,0.92)),
    var(--hero-image, url("../img/venture/hq.jpg")) center/cover no-repeat;
}
.vc-page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 16ch;
}
.vc-prose {
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.85;
}
.vc-prose h2, .vc-prose h3 {
  color: var(--ink);
  font-family: var(--serif);
  margin-top: 2rem;
}
.vc-prose ul { padding-left: 1.1rem; }
.vc-prose a { color: var(--gold-bright); }

.vc-footer {
  background: #080809;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  color: var(--ink-dim);
}
.vc-footer h5 {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.vc-footer a { color: var(--ink-dim); text-decoration: none; }
.vc-footer a:hover { color: var(--gold-bright); }
.vc-footer ul { list-style: none; padding: 0; margin: 0; }
.vc-footer li { margin-bottom: 0.55rem; }
.vc-foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: 0.82rem;
}
.vc-news-form {
  display: flex;
  gap: 0.5rem;
}
.vc-news-form input {
  flex: 1;
  background: #111;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border-radius: 0;
}
.vc-news-form button {
  background: var(--gold);
  border: 0;
  color: #111;
  font-weight: 800;
  padding: 0.75rem 1rem;
  min-height: 44px;
}

/* Legacy inner product pages (p/*.php) sit under the new chrome */
.page-banner-image-section {
  margin-top: 72px;
  max-height: 280px;
  overflow: hidden;
  background: #000;
}
.page-banner-image-section img { width: 100%; height: 280px; object-fit: cover; opacity: 0.75; }
.page-title-section, .about-section-two, .reputation-section-two,
.sidebar-page-container, .blog-detail, .auto-container {
  background: var(--paper);
  color: var(--ink-dim);
}
.page-title-section { padding: 2.2rem 0 1rem; }
.page-title-section h2, .sec-title h2, .blog-detail h2, .inner-box h2 {
  font-family: var(--serif);
  color: var(--ink);
}
.auto-container { max-width: 1140px; margin: 0 auto; padding: 0 1.1rem 3rem; }
.sidebar-page-container .image img { width: 100%; height: auto; border-radius: 8px; }
.blog-detail p, .text, .lower-content p { color: var(--ink-dim); line-height: 1.8; }
.post-meta { list-style: none; padding: 0; display: flex; gap: 0.75rem; color: var(--gold); }
.post-meta a { color: var(--gold-bright); }

.contact-wrapper { padding-top: 7.5rem !important; }

@media (max-width: 767.98px) {
  .vc-hero { padding-top: 7rem; }
  .vc-section { padding: 3rem 0; }
  .page-banner-image-section { max-height: 180px; }
  .page-banner-image-section img { height: 180px; }
  .vc-news-form { flex-direction: column; }
}

.mobile-bottom-nav { display: none; }

@media (max-width: 991px) {
  .vc-links { display: none; }
  .vc-burger { display: inline-flex; align-items: center; justify-content: center; }
  .vc-mosaic,
  .vc-news-grid,
  .vc-cta-box,
  .vc-products,
  .vc-partners,
  .vc-steps,
  .vc-gallery,
  .vc-hero-meta { grid-template-columns: 1fr 1fr; }
  .vc-tile.tall { min-height: 320px; grid-row: auto; }
  .vc-gallery { grid-template-rows: 180px 180px; }
}

@media (max-width: 767px) {
  .vc-actions .vc-btn-ghost { display: none; }
  .vc-hero { min-height: auto; padding-top: 7.5rem; text-align: left; }
  .vc-hero-meta,
  .vc-partners,
  .vc-steps,
  .vc-products,
  .vc-news-grid,
  .vc-cta-box,
  .vc-gallery,
  .vc-mosaic { grid-template-columns: 1fr; }
  .vc-news-item { grid-template-columns: 1fr; }
  .vc-news-item img { width: 100%; height: 160px; }
  .vc-gallery img:first-child { grid-row: auto; height: 220px; }
  .mobile-bottom-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    background: #0b0b0c;
    border-top: 1px solid var(--line);
    z-index: 1100;
  }
  .mobile-bottom-nav a {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    color: var(--ink-dim);
    text-decoration: none;
    padding: 0.55rem 0.2rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.68rem;
    min-width: 0;
  }
  .mobile-bottom-nav i {
    display: block !important;
    color: var(--gold);
    font-size: 1.2rem;
    margin: 0 0 0.2rem;
    float: none !important;
  }
  .vc-footer { padding-bottom: 6.5rem; }
  body { padding-bottom: 72px; }
  .vc-logo span { font-size: 0.72rem; }
}
