/* ============================================================
   GG Capital — replica styles
   Palette from original: cyan #6bced6 · dark #090d15 · white
   Fonts: Montserrat (body/headings) · Dancing Script (accent)
   ============================================================ */
:root{
  --cyan:#6bced6;
  --cyan-dark:#4bb8c1;
  --dark:#090d15;
  --dark-2:#0f1622;
  --white:#ffffff;
  --muted:#5b6472;
  --line:rgba(9,13,21,.10);
  --header-h:76px;
  --maxw:1180px;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);overflow-x:hidden}
body{
  margin:0;
  font-family:'Montserrat',Geneva,'Lucida Sans',Verdana,sans-serif;
  font-weight:400;
  color:var(--dark);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:96px 0}
.section-title{
  font-size:clamp(30px,4.5vw,46px);
  font-weight:700;
  letter-spacing:-.5px;
  margin:0 0 8px;
  text-align:center;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-weight:600;
  font-size:15px;
  letter-spacing:.3px;
  padding:14px 34px;
  border-radius:40px;
  cursor:pointer;
  border:2px solid transparent;
  transition:transform .25s var(--ease),background .25s,color .25s,box-shadow .25s;
}
.btn-primary{
  background:var(--cyan);
  color:var(--dark);
  box-shadow:0 10px 30px rgba(107,206,214,.35);
}
.btn-primary:hover{transform:translateY(-3px);background:var(--cyan-dark);box-shadow:0 16px 40px rgba(107,206,214,.45)}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  height:var(--header-h);
  display:flex;align-items:center;
  transition:background .35s var(--ease),box-shadow .35s,height .35s;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;width:100%}
.brand{display:flex;align-items:center}
.brand-logo{height:34px;width:auto;transition:opacity .3s}
.brand-logo--dark{display:none}
.nav{display:flex;align-items:center;gap:34px}
.nav a{
  font-size:14px;font-weight:500;letter-spacing:.4px;color:var(--white);
  position:relative;padding:6px 0;transition:color .25s;
}
.nav a:not(.nav-cta)::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--cyan);transition:width .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after{width:100%}
.nav a:hover{color:var(--cyan)}
.nav a.nav-cta{
  border:2px solid var(--cyan);border-radius:40px;padding:11px 34px;color:var(--white);white-space:nowrap;
}
.nav-cta:hover{background:var(--cyan);color:var(--dark)}

/* scrolled state */
.site-header.scrolled{background:var(--white);box-shadow:0 4px 24px rgba(9,13,21,.08);height:66px}
.site-header.scrolled .brand-logo--light{display:none}
.site-header.scrolled .brand-logo--dark{display:block}
.site-header.scrolled .nav a{color:var(--dark)}
.site-header.scrolled .nav a:hover{color:var(--cyan-dark)}
.site-header.scrolled .nav-cta{border-color:var(--cyan);color:var(--dark)}
.site-header.scrolled .nav-cta:hover{background:var(--cyan);color:var(--dark)}
.site-header.scrolled .nav-toggle span{background:var(--dark)}

/* hamburger */
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{width:26px;height:2px;background:var(--white);transition:.3s var(--ease)}
.mobile-nav{
  display:none;flex-direction:column;background:var(--white);
  box-shadow:0 12px 30px rgba(9,13,21,.12);
  position:absolute;top:var(--header-h);left:0;right:0;
  padding:10px 24px 20px;
}
.mobile-nav.open{display:flex}
.mobile-nav a{padding:14px 0;font-weight:500;border-bottom:1px solid var(--line);color:var(--dark)}
.mobile-nav a:last-child{border-bottom:0}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;color:var(--white);overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0;background:var(--dark)}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(9,13,21,.55) 0%,rgba(9,13,21,.55) 40%,rgba(9,13,21,.78) 100%);
}
.hero-content{position:relative;z-index:2;max-width:940px;padding-top:var(--header-h);padding-bottom:80px}
.hero-title{
  font-size:clamp(31px,5.4vw,58px);font-weight:700;line-height:1.08;letter-spacing:-1px;margin:0 0 26px;
  max-width:16ch;
}
.hero-sub{font-size:clamp(16px,2.2vw,21px);font-weight:300;max-width:52ch;margin:0 0 18px;opacity:.95}
.hero-script{
  font-weight:500;font-style:italic;
  font-size:clamp(20px,2.6vw,30px);color:var(--cyan);margin:0 0 34px;letter-spacing:.2px;
}
.hero-divider{position:absolute;left:0;right:0;bottom:-1px;z-index:2;line-height:0}
.hero-divider svg{width:100%;height:90px;display:block}
.hero-divider path{fill:var(--cyan)}

/* ---------- Stats ---------- */
.stats{position:relative;background:var(--cyan);color:var(--dark);padding:64px 0 90px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat{display:flex;flex-direction:column;align-items:center;gap:4px}
.stat-num{font-size:clamp(46px,7vw,76px);font-weight:700;line-height:1;letter-spacing:-2px}
.stat-label{font-size:clamp(14px,1.6vw,18px);font-weight:500;text-transform:none}
.stats-divider{position:absolute;left:0;right:0;bottom:-1px;line-height:0}
.stats-divider svg{width:100%;height:70px;display:block}
.stats-divider path{fill:var(--white)}

/* ---------- Portfolio ---------- */
.portfolio{background:var(--white)}
.tabs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:34px 0 46px}
.tab{
  font-family:inherit;font-size:15px;font-weight:600;
  padding:11px 26px;border-radius:40px;border:2px solid var(--line);
  background:transparent;color:var(--muted);cursor:pointer;transition:.25s var(--ease);
}
.tab:hover{border-color:var(--cyan);color:var(--dark)}
.tab.is-active{background:var(--dark);border-color:var(--dark);color:var(--white)}
.tab-panel{display:none;animation:fade .5s var(--ease)}
.tab-panel.is-active{display:block}
html:not(.js) .tab-panel{display:block;margin-bottom:40px}
@keyframes fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.panel-lead{text-align:center;font-size:clamp(20px,3vw,30px);font-weight:600;margin:0 0 8px}
.panel-lead--sm{font-size:clamp(18px,2.7vw,27px)}
.panel-note{text-align:center;color:var(--muted);max-width:60ch;margin:0 auto 34px;font-weight:300;font-size:17.6px}
[data-panel="funds"] .panel-lead{margin-bottom:24px}
[data-panel="coinvestors"] .panel-lead{margin-bottom:32px}
[data-panel="active"] .panel-lead{margin-bottom:16px}
.panel-fine{text-align:left;color:var(--muted);font-size:12.35px;margin:34px auto 0;font-style:italic;max-width:630px}

/* company grid */
.pf-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:48px}
.pf-card{
  position:relative;display:flex;align-items:center;justify-content:center;min-width:0;
  min-height:130px;padding:26px;border:1px solid var(--line);border-radius:16px;
  background:var(--white);transition:transform .3s var(--ease),box-shadow .3s,border-color .3s;
}
.pf-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(9,13,21,.10);border-color:transparent;z-index:5}
.pf-logo{min-width:0;max-width:100%;display:flex;justify-content:center}
.pf-logo img{max-height:56px;max-width:min(150px,100%);width:auto;height:auto;object-fit:contain;opacity:.9;transition:transform .3s var(--ease),opacity .3s}
.pf-logo--wide img{max-height:none;height:auto;width:min(112px,100%);max-width:min(112px,100%)}
.pf-logo--palenca img{max-height:68px;max-width:min(182px,100%)}
.pf-logo--peachscore img{max-height:68px;max-width:min(182px,100%)}
.pf-logo--betterfly img{max-height:68px;max-width:min(182px,100%)}
.pf-logo--puramente img{max-height:64px;max-width:min(180px,100%)}
.pf-logo--zumma img{max-height:62px;max-width:min(165px,100%)}
.pf-logo--shinkansen img{max-height:71px;max-width:min(191px,100%)}
.pf-logo--reworth img{max-height:none;height:auto;width:min(122px,100%);max-width:min(122px,100%)}
.pf-logo--carvuk img{width:min(118px,100%);max-width:min(118px,100%)}
.pf-logo--quash img{width:min(106px,100%);max-width:min(106px,100%)}
.pf-logo--pinbus img{max-height:none;height:auto;width:min(106px,100%);max-width:min(106px,100%)}
.pf-logo--outtrip img{max-height:none;height:auto;width:min(96px,100%);max-width:min(96px,100%)}
.pf-card:hover .pf-logo img{opacity:1;transform:scale(1.04)}
.pf-tip{
  position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%) translateY(6px);
  width:280px;max-width:78vw;background:var(--dark);color:var(--white);
  padding:16px 18px;border-radius:14px;
  display:flex;flex-direction:column;gap:6px;text-align:left;
  opacity:0;visibility:hidden;pointer-events:none;transition:.28s var(--ease);
  box-shadow:0 20px 50px rgba(9,13,21,.35);z-index:10;
}
.pf-tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:9px solid transparent;border-top-color:var(--dark)}
.pf-card:hover .pf-tip,.pf-card:focus-visible .pf-tip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.pf-tip-name{font-weight:700;font-size:15px;color:var(--cyan)}
.pf-tip-row{font-size:12.5px;line-height:1.45}
.pf-tip-row b{font-weight:600}
.pf-tip-desc{font-size:12px;line-height:1.5;opacity:.85;font-weight:300}

/* funds grid */
.funds-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:630px;margin:0 auto}
.fund-logo{
  display:flex;align-items:center;justify-content:center;min-width:0;min-height:120px;padding:26px;
  border:1px solid var(--line);border-radius:16px;transition:transform .3s var(--ease),box-shadow .3s;
}
.fund-logo:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(9,13,21,.10)}
.fund-logo img{max-height:51px;max-width:min(136px,100%);width:auto;height:auto;object-fit:contain}
.fund-logo--sm5 img{max-height:48px;max-width:min(129px,100%)}
.fund-logo--lg img{max-height:68px;max-width:min(179px,100%)}
.fund-logo--salkantay img{max-height:79px;max-width:min(207px,100%)}
.fund-logo--tantauco img{max-height:75px;max-width:min(201px,100%)}
.fund-logo--norte img{max-height:54px;max-width:min(143px,100%)}

/* co-investors grid */
.ci-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:48px}
.ci-logo{
  display:flex;align-items:center;justify-content:center;min-width:0;min-height:96px;padding:18px;
  border:1px solid var(--line);border-radius:12px;background:var(--white);transition:.3s var(--ease);
}
.ci-logo:hover{box-shadow:0 12px 28px rgba(9,13,21,.08)}
.ci-logo img{max-height:51px;max-width:min(138px,100%);width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.55;transition:.3s}
.ci-logo--y img{max-height:50px;max-width:min(81px,100%)}
.ci-logo--foundation img{max-height:58px;max-width:min(158px,100%)}
.ci-logo--500 img{max-height:39px;max-width:min(106px,100%)}
.ci-logo--htwenty img{max-height:56px;max-width:min(152px,100%)}
.ci-logo--alaya img{max-height:59px;max-width:min(160px,100%)}
.ci-logo--qed img{max-height:55px;max-width:min(150px,100%)}
.ci-logo--dst img{max-height:54px;max-width:min(145px,100%)}
.ci-logo--gladebrook img{max-height:81px;max-width:min(160px,100%)}
.ci-logo--mundi img{max-height:86px;max-width:min(167px,100%)}
.ci-logo--softbank img{max-height:67px;max-width:min(131px,100%)}
.ci-logo--pnp img{max-height:56px;max-width:min(152px,100%)}
.ci-logo--davivienda img{max-height:59px;max-width:min(160px,100%)}
.ci-logo--cometa img{max-height:57px;max-width:min(112px,100%)}
.ci-logo--newtype img{max-height:67px;max-width:min(183px,100%)}
.ci-logo--dux img{max-height:67px;max-width:min(183px,100%)}
.ci-logo--techstars img{max-height:56px;max-width:min(152px,100%)}
.ci-logo--goodwater img{max-height:none;height:auto;width:min(109px,100%);max-width:min(109px,100%)}
.ci-logo--nxtp img{max-height:30px;max-width:min(79px,100%)}
.ci-logo--endeavor img{max-height:16px;max-width:min(124px,100%)}
.ci-logo--valor img{max-height:16px;max-width:min(97px,100%)}
.ci-logo--gilgamesh img{max-height:43px;max-width:min(117px,100%)}
.ci-logo--platanus img{max-height:41px;max-width:min(112px,100%)}
.ci-logo--fen img{max-height:61px;max-width:min(166px,100%)}
.ci-logo--salkantay img{max-height:67px;max-width:min(183px,100%)}
.ci-logo--g2 img{max-height:77px;max-width:min(209px,100%)}
.ci-logo--hi img{max-height:46px;max-width:min(46px,100%)}
.ci-logo--fjlabs img{max-height:37px;max-width:min(99px,100%)}
.ci-logo--krealo img{max-height:39px;max-width:min(105px,100%)}
.ci-logo--experian img{max-height:39px;max-width:min(105px,100%)}
.ci-logo--soma img{max-height:61px;max-width:min(61px,100%)}
.ci-logo--grao img{max-height:32px;max-width:min(89px,100%)}
.ci-logo--inqlab img{max-height:48px;max-width:min(131px,100%)}
.ci-logo--newtopia img{max-height:72px;max-width:min(193px,100%)}
.ci-logo:hover img{filter:none;opacity:1}

/* ---------- About ---------- */
.about{background:var(--dark-2);color:var(--white)}
.about .section-title{text-align:left}
.about-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.about-copy p{font-weight:300;opacity:.9;margin:0 0 16px;font-size:16.5px}
.team{display:flex;gap:40px;margin-top:32px;flex-wrap:wrap}
.team-member{display:flex;flex-direction:column;border-left:3px solid var(--cyan);padding-left:16px}
.team-name{font-weight:700;letter-spacing:.5px}
.team-role{font-size:13px;color:var(--cyan);font-weight:500}
.about-media img{border-radius:18px;box-shadow:0 30px 70px rgba(0,0,0,.4);filter:grayscale(1)}

/* ---------- Contact ---------- */
.contact{background:var(--white)}
.contact-inner{max-width:720px;margin:0 auto}
.contact-lead{text-align:center;font-size:20px;font-weight:600;margin:14px 0 2px}
.contact-sub{text-align:center;color:var(--muted);font-weight:300;margin:0 0 36px}
.contact-form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;font-weight:600;color:var(--muted)}
.contact-form input,.contact-form select,.contact-form textarea{
  font-family:inherit;font-size:15px;color:var(--dark);
  padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f7f9fa;
  transition:border-color .25s,box-shadow .25s,background .25s;width:100%;
}
.contact-form textarea{resize:vertical}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
  outline:none;border-color:var(--cyan);background:var(--white);box-shadow:0 0 0 4px rgba(107,206,214,.18);
}
.contact-form input.invalid,.contact-form select.invalid,.contact-form textarea.invalid{
  border-color:#dd3333;box-shadow:0 0 0 4px rgba(221,51,51,.12);
}
.field-file input[type=file]{padding:12px;cursor:pointer}
.file-hint{font-size:12px;color:var(--muted)}
.btn-submit{align-self:flex-start;margin-top:6px}
.btn-submit[disabled]{opacity:.6;cursor:not-allowed;transform:none}
.form-status{margin:6px 0 0;font-size:14px;font-weight:500;min-height:20px}
.form-status.ok{color:#2e9e57}
.form-status.err{color:#dd3333}

/* ---------- Footer ---------- */
.site-footer{background:var(--dark);color:var(--white);padding:54px 0}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.footer-logo{height:38px;width:auto}
.footer-nav{display:flex;gap:28px;flex-wrap:wrap;justify-content:center}
.footer-nav a{font-size:14px;font-weight:500;opacity:.85;transition:.25s}
.footer-nav a:hover{color:var(--cyan);opacity:1}
.copyright{font-size:13px;opacity:.55;margin:0;font-weight:300}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
html:not(.js) .reveal{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .about-inner{grid-template-columns:1fr;gap:36px}
  .about .section-title{text-align:center}
  .team{justify-content:center}
  .pf-grid{grid-template-columns:repeat(4,1fr)}
  .ci-grid{grid-template-columns:repeat(5,1fr)}
}
@media (max-width:820px){
  .nav{display:none}
  .nav-toggle{display:flex}
  .section{padding:72px 0}
  .pf-grid{grid-template-columns:repeat(3,1fr)}
  .funds-grid{grid-template-columns:repeat(2,1fr)}
  .ci-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:560px){
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:34px 16px}
  .pf-grid{grid-template-columns:repeat(2,1fr)}
  .ci-grid{grid-template-columns:repeat(3,1fr)}
  .funds-grid{grid-template-columns:1fr}
  .btn-submit{align-self:stretch;text-align:center}
  .pf-tip{width:230px}
}
@media (max-width:430px){
  :root{--header-h:64px}
  .container{padding:0 18px}
  .section{padding:56px 0}
  .hero-content{padding-bottom:48px}
  .hero-title{font-size:clamp(26px,7.2vw,36px);margin-bottom:20px}
  .hero-sub{font-size:16px}
  .hero-script{font-size:19px}
  .stats{padding:48px 0 70px}
  .stat-num{font-size:52px}
  .section-title{font-size:29px}
  .tabs{gap:8px;margin:24px 0 32px}
  .tab{padding:10px 18px;font-size:13.5px}
  .pf-card{min-height:104px;padding:16px}
  .pf-logo img{max-height:42px;max-width:118px}
  .pf-logo--wide img{max-height:none;height:auto;width:88px;max-width:88px}
  .pf-logo--palenca img{max-height:51px;max-width:143px}
  .pf-logo--peachscore img{max-height:51px;max-width:143px}
  .pf-logo--betterfly img{max-height:51px;max-width:143px}
  .pf-logo--puramente img{max-height:48px;max-width:118px}
  .pf-logo--zumma img{max-height:46px;max-width:130px}
  .pf-logo--shinkansen img{max-height:54px;max-width:150px}
  .pf-logo--reworth img{max-height:none;height:auto;width:91px;max-width:91px}
  .pf-logo--carvuk img{width:92px;max-width:92px}
  .pf-logo--quash img{width:84px;max-width:84px}
  .pf-logo--pinbus img{max-height:none;height:auto;width:84px;max-width:84px}
  .pf-logo--outtrip img{max-height:none;height:auto;width:76px;max-width:76px}
  .about-copy p{font-size:15.5px}
  .team{gap:24px}
  .contact-form input,.contact-form select,.contact-form textarea{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
}
