/* Gran Private Equity static site. Brand colors sampled from the original logo:
   blue #0d89c4, gray #7f8789. Base font: Montserrat (as on the WP site). */

:root {
  --brand: #0d89c4;
  --brand-strong: #0a6da0;
  --brand-soft: #e3f2fa;
  --navy-1: #0a1e2c;
  --navy-2: #0e2c40;
  --navy-3: #123a54;
  --ink: #1c2b35;
  --gray: #5d6a73;
  --gray-logo: #7f8789;
  --line: #dde6ec;
  --bg: #ffffff;
  --bg-alt: #f3f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 30, 44, .08);
  --shadow-lift: 0 18px 40px rgba(10, 30, 44, .14);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 2.2rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.13rem; }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9rem;
}
.kicker-light { color: #7fc6e8; }
.section-lead { max-width: 46rem; color: var(--gray); font-size: 1.06rem; margin-bottom: 2.4rem; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; flex-direction: column; line-height: 1; padding: 10px 0; }
.logo-swoosh { width: 112px; height: 15px; margin-bottom: 3px; }
.logo-swoosh path { fill: var(--brand); }
.logo-name {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .34em;
  color: var(--gray-logo);
}
.logo-sub {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .31em;
  color: var(--brand);
  margin-top: 3px;
}
.logo-light .logo-name { color: #c6cdd2; }

.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .18s, color .18s;
}
.site-nav a:hover { background: var(--brand-soft); color: var(--brand-strong); }
.lang-switch {
  border: 1.5px solid var(--line);
  color: var(--gray) !important;
  letter-spacing: .08em;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand-strong) !important; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 .85rem 'Montserrat', sans-serif;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .nav-toggle-bars i { width: 16px; height: 2px; background: var(--brand); border-radius: 2px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  .site-nav a { display: block; padding: 12px 10px; border-radius: 10px; }
  .lang-item { margin-top: 6px; }
}

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(13, 137, 196, .55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(13, 137, 196, .35), transparent 55%),
    linear-gradient(160deg, var(--navy-1), var(--navy-2) 55%, var(--navy-3));
}
.hero-home { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-sub { padding: clamp(3.4rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem); }
.hero-decor { position: absolute; inset: 0; pointer-events: none; opacity: .16; }
.hero-decor svg { position: absolute; right: -6%; top: 14%; width: 60%; min-width: 480px; }
.hero-decor path { fill: #9fd9f5; }
.hero-kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #8ecdec;
  margin: 0 0 1.1rem;
}
.hero h1 { max-width: 17em; color: #fff; }
.hero-lead { max-width: 38rem; font-size: 1.12rem; color: rgba(255, 255, 255, .82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .02em;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--brand), #23a7e0);
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 137, 196, .35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13, 137, 196, .45); }
.btn-ghost {
  border: 1.5px solid var(--brand);
  color: var(--brand-strong);
  background: #fff;
}
.btn-ghost:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ----------------------------------------------------------- sections --- */
.section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: linear-gradient(160deg, #fff, var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.stat-n { font-size: 1.55rem; font-weight: 800; color: var(--brand-strong); letter-spacing: -.01em; }
.stat-l { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }

/* --------------------------------------------------------- fund cards --- */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.fund-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.fund-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: #bcd9ea; }
.fund-card::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand), #23a7e0);
}
.fund-card h3 { margin-top: .5rem; }
.fund-card p { color: var(--gray); font-size: .94rem; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 12px;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.card-actions .btn { padding: 9px 18px; font-size: .85rem; }

/* ---------------------------------------------------- portfolio cards --- */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.pf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pf-card p { color: var(--gray); font-size: .92rem; flex: 1; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .9rem; }
.card-site { font-weight: 600; font-size: .9rem; margin-top: .4rem; }

.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}
.badge-year { background: var(--brand-soft); color: var(--brand-strong); }
.badge-closed { background: #f2e8e6; color: #a5533f; }
.badge-type { background: #eef2f5; color: var(--gray); flex-shrink: 0; }

/* -------------------------------------------------------- disclosures --- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2.4rem;
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  padding: 10px 0;
}
.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font: 600 .85rem 'Montserrat', sans-serif;
  color: var(--gray);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.disc-year { margin-bottom: 2.2rem; }
.disc-year-h {
  font-size: 1.05rem;
  letter-spacing: .14em;
  color: var(--brand-strong);
  border-bottom: 2px solid var(--brand-soft);
  padding-bottom: .45rem;
}
.disc-list { list-style: none; margin: 0; padding: 0; }
.disc-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.disc-item:hover { background: var(--bg-alt); }
.disc-date {
  flex-shrink: 0;
  width: 6.4em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.disc-link { flex: 1; font-size: .95rem; font-weight: 500; color: var(--ink); }
.disc-link:hover { color: var(--brand-strong); }
.disc-teaser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.disc-teaser .disc-item { padding: 16px 20px; }
.disc-teaser .disc-item:last-child { border-bottom: 0; }
@media (max-width: 640px) {
  .disc-item { flex-wrap: wrap; gap: 6px 12px; }
  .disc-link { flex-basis: 100%; order: 3; }
}

/* ------------------------------------------------------------ contact --- */
.section-contact {
  color: #fff;
  background:
    radial-gradient(900px 400px at 110% 120%, rgba(13, 137, 196, .4), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy-1));
}
.section-contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.contact-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-card h3 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8ecdec;
  margin-bottom: .5rem;
}
.contact-card p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card a:hover { color: #8ecdec; }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--navy-1);
  color: rgba(255, 255, 255, .75);
  padding: 3.2rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-reg { font-size: .84rem; line-height: 1.7; margin-top: 1rem; }
.footer-h {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8ecdec;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .82);
  font-size: .93rem;
  font-weight: 500;
}
.footer-links a:hover { color: #8ecdec; }
.footer-contact { font-size: .93rem; line-height: 1.8; margin: 0 0 .6rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: #8ecdec; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.1rem;
  padding-bottom: 1.4rem;
}
.footer-bottom p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
