/* ==========================================================================
   Vivans Capital — Design Tokens
   ========================================================================== */
:root{
  --ink:        #14141a;
  --grey-900:   #1c1d22;
  --grey-700:   #4a4d57;
  --grey-600:   #6b6e76;
  --grey-400:   #9a9ca3;
  --grey-300:   #d8dade;
  --grey-150:   #eceef1;
  --grey-100:   #f4f5f7;
  --white:      #ffffff;

  --blue:       #215eed;
  --purple:     #7c44ca;
  --magenta:    #e029a5;

  --gradient:        linear-gradient(95deg, var(--blue) 0%, var(--purple) 52%, var(--magenta) 100%);
  --gradient-soft:   linear-gradient(95deg, rgba(33,94,237,.10) 0%, rgba(124,68,202,.10) 52%, rgba(224,41,165,.10) 100%);
  --gradient-text:   linear-gradient(95deg, var(--blue) 0%, var(--purple) 55%, var(--magenta) 100%);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.12; font-weight:600; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; }

:focus-visible{
  outline:2px solid var(--purple);
  outline-offset:3px;
  border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--grey-600); font-weight:500;
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--gradient); flex:none;
}

.section{ padding:96px 0; position:relative; }
.section--tight{ padding:64px 0; }
.section--grey{ background:var(--grey-100); }
.section--ink{ background:var(--ink); color:var(--white); }
.section--ink .eyebrow{ color:var(--grey-400); }

.section__head{ max-width:680px; margin-bottom:56px; }
.section__head h2{ font-size:clamp(28px,3.4vw,42px); margin-top:14px; }
.section__head p{ color:var(--grey-600); margin-top:16px; font-size:16.5px; }
.section--ink .section__head p{ color:var(--grey-400); }

/* ---------- Buttons / CTAs ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:999px;
  font-size:14.5px; font-weight:600; letter-spacing:.01em;
  border:1px solid transparent; cursor:pointer;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn svg{ transition:transform .35s var(--ease); flex:none; }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary{
  background:var(--ink); color:var(--white);
}
.btn-primary:hover{ background:var(--grey-900); box-shadow:0 10px 28px -10px rgba(20,20,26,.5); transform:translateY(-1px); }
.btn-gradient{
  background:var(--gradient); color:var(--white); border:none;
}
.btn-gradient:hover{ box-shadow:0 14px 32px -10px rgba(124,68,202,.55); transform:translateY(-1px); }
.btn-outline{
  background:transparent; border:1px solid var(--grey-300); color:var(--ink);
}
.btn-outline:hover{ border-color:var(--ink); background:var(--ink); color:var(--white); }
.section--ink .btn-outline{ border-color:rgba(255,255,255,.25); color:var(--white); }
.section--ink .btn-outline:hover{ background:var(--white); color:var(--ink); }
.btn-light{ background:var(--white); color:var(--ink); }
.btn-light:hover{ transform:translateY(-1px); box-shadow:0 10px 28px -10px rgba(0,0,0,.35); }

/* ---------- Header / Nav ---------- */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--grey-150);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{ display:flex; align-items:center; gap:10px; flex:none; }
.brand img{ height:30px; width:auto; }

.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  position:relative; padding:10px 16px; font-size:14.5px; font-weight:500; color:var(--grey-700);
  border-radius:999px; transition:color .25s, background .25s;
}
.nav a:hover{ color:var(--ink); background:var(--grey-100); }
.nav a.is-active{ color:var(--ink); }
.nav a.is-active::after{
  content:''; position:absolute; left:16px; right:16px; bottom:4px; height:2px;
  border-radius:2px; background:var(--gradient);
}
.nav-dropdown{ position:relative; }
.nav-dropdown__panel{
  position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%) translateY(6px);
  background:var(--white); border:1px solid var(--grey-150); border-radius:var(--radius);
  box-shadow:0 24px 48px -20px rgba(20,20,26,.18);
  padding:10px; width:280px;
  opacity:0; pointer-events:none; transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel{
  opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0);
}
.nav-dropdown__panel a{
  display:flex; flex-direction:column; gap:2px; padding:11px 14px; border-radius:var(--radius-sm);
}
.nav-dropdown__panel a:hover{ background:var(--grey-100); }
.nav-dropdown__panel a span.t{ font-size:14px; font-weight:600; color:var(--ink); }
.nav-dropdown__panel a span.d{ font-size:12px; color:var(--grey-600); }

.header__cta{ display:flex; align-items:center; gap:8px; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; cursor:pointer;
}
.nav-toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .3s, opacity .3s; }

@media (max-width:920px){
  .nav, .header__cta .btn-outline{ display:none; }
  .nav-toggle{ display:flex; }
  .header__inner{ height:74px; }
}

/* Mobile nav drawer */
.mobile-nav{
  position:fixed; inset:74px 0 0 0; background:var(--white); z-index:99;
  transform:translateY(-12px); opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y:auto;
}
.mobile-nav.is-open{ opacity:1; pointer-events:auto; transform:translateY(0); }
.mobile-nav__inner{ padding:18px 28px 40px; }
.mobile-nav a{
  display:block; padding:16px 0; font-size:19px; font-weight:600; border-bottom:1px solid var(--grey-150);
}
.mobile-nav .sub a{ font-size:15px; font-weight:500; color:var(--grey-700); padding:12px 0 12px 14px; border-bottom:none; }
.mobile-nav__cta{ margin-top:24px; display:flex; flex-direction:column; gap:12px; }

/* ---------- Ripple texture ---------- */
.ripple-bg{
  position:absolute; inset:0; overflow:hidden; z-index:0;
}
.ripple-bg img{
  position:absolute; right:-8%; top:50%; transform:translateY(-50%);
  width:62%; max-width:780px; opacity:.55; filter:grayscale(1);
}
.hero .ripple-bg img{
  position:absolute; right:-8%; top:27%; transform:translateY(-50%);
  width:62%; max-width:780px; opacity:.55; filter:grayscale(1);
}
.section--ink .ripple-bg img{ opacity:.12; filter:grayscale(1) invert(1); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:84px 0 100px; overflow:hidden; }
.hero__inner{ position:relative; z-index:1; max-width:760px; }
.hero h1{ font-size:clamp(38px,5.6vw,68px); margin-top:18px; }
.hero h1 em{ font-style:normal; background:var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead{ font-size:18px; color:var(--grey-600); margin-top:22px; max-width:560px; }
.hero__ctas{ display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.hero__stats{ display:flex; gap:40px; margin-top:64px; flex-wrap:wrap; }
.hero__stats div b{ font-family:var(--font-display); font-size:30px; display:block; }
.hero__stats div span{ font-size:13px; color:var(--grey-600); }

/* ---------- Page header (sub pages) ---------- */
.pagehead{ position:relative; padding:64px 0 56px; overflow:hidden; border-bottom:1px solid var(--grey-150); }
.pagehead__inner{ position:relative; z-index:1; max-width:720px; }
.pagehead h1{ font-size:clamp(32px,4.4vw,50px); margin-top:14px; }
.pagehead p{ color:var(--grey-600); margin-top:16px; font-size:17px; max-width:600px; }
.breadcrumb{ font-family:var(--font-mono); font-size:12.5px; color:var(--grey-600); letter-spacing:.04em; margin-bottom:18px; }
.breadcrumb a{ color:var(--grey-600); }
.breadcrumb a:hover{ color:var(--ink); }
.breadcrumb .sep{ margin:0 8px; color:var(--grey-300); }

/* ---------- Grid / Cards ---------- */
.grid{ display:grid; gap:24px; }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:920px){ .grid--3,.grid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid--2,.grid--3,.grid--4{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--grey-150); border-radius:var(--radius);
  padding:30px; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover{ transform:translateY(-4px); box-shadow:0 24px 48px -24px rgba(20,20,26,.18); border-color:var(--grey-300); }

.sector-card{ display:flex; flex-direction:column; height:100%; }
.sector-card__icon{
  width:46px; height:46px; border-radius:12px; background:var(--gradient-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.sector-card__icon svg{ width:22px; height:22px; }
.sector-card h3{ font-size:20px; margin-bottom:10px; }
.sector-card p{ color:var(--grey-600); font-size:14.5px; flex:1; }
.sector-card .go{
  margin-top:18px; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600;
}
.sector-card .go svg{ transition:transform .3s var(--ease); }
.sector-card:hover .go svg{ transform:translateX(4px); }

.pillar{
  display:flex; gap:18px; padding:28px 0; border-bottom:1px solid var(--grey-150);
}
.pillar:last-child{ border-bottom:none; }
.pillar__num{ font-family:var(--font-mono); font-size:13px; color:var(--grey-400); flex:none; width:34px; padding-top:4px; }
.pillar h3{ font-size:19px; margin-bottom:8px; }
.pillar p{ color:var(--grey-600); font-size:15px; }

.stat-row{ display:flex; flex-wrap:wrap; gap:0; border-top:1px solid var(--grey-150); border-bottom:1px solid var(--grey-150); }
.stat{ flex:1 1 200px; padding:34px 28px; border-right:1px solid var(--grey-150); }
.stat:last-child{ border-right:none; }
.stat b{ font-family:var(--font-display); font-size:34px; display:block; background:var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat span{ font-size:13.5px; color:var(--grey-600); }

.list-check{ display:flex; flex-direction:column; gap:14px; }
.list-check li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--grey-700); }
.list-check li::before{
  content:''; width:8px; height:8px; border-radius:50%; background:var(--gradient); flex:none; margin-top:7px;
}

.dot-list{ display:flex; flex-direction:column; gap:11px; }
.dot-list li{ display:flex; gap:11px; align-items:flex-start; font-size:14.5px; color:var(--grey-700); padding:8px 0; border-bottom:1px solid var(--grey-150); }
.dot-list li:last-child{ border-bottom:none; }
.dot-list li::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--gradient); flex:none; margin-top:7px; }

.tag{
  display:inline-flex; padding:6px 13px; border-radius:999px; font-size:12.5px; font-weight:600;
  background:var(--grey-100); color:var(--grey-700); border:1px solid var(--grey-150);
}

.two-col{ display:grid;  gap:64px; align-items:start; }
@media (max-width:880px){ .two-col{ grid-template-columns:1fr; gap:40px; } }
@media (max-width: 768px) {
  .header__cta .btn-gradient {
      display: none;
  }
}
.quote-block{
  border-left:2px solid var(--grey-200, var(--grey-300)); padding-left:26px; font-family:var(--font-display);
  font-size:21px; line-height:1.5; color:var(--ink);
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--gradient); border-radius:24px; padding:64px 56px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; color:var(--white);
}
.cta-banner::before{
  content:''; position:absolute; inset:0; background:var(--gradient); opacity:.16;
}
.cta-banner__inner{ position:relative; z-index:1; max-width:560px; }
.cta-banner h2{ font-size:clamp(24px,3vw,34px); color:var(--white); }
.cta-banner p{ color:var(--white); margin-top:12px; }
.cta-banner__actions{ position:relative; z-index:1; display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.footer{ background:var(--gradient); color:var(--grey-400); padding-top:72px; color: #FFF;}
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:880px){ .footer__top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer__top{ grid-template-columns:1fr; } }
.footer__brand img{ height:26px; filter:brightness(0) invert(1); margin-bottom:18px; }
.footer__brand p{ font-size:14px; line-height:1.7; max-width:280px; }
.footer h4{ font-family:var(--font-body); color:var(--white); font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; font-weight:600; }
.footer ul{ display:flex; flex-direction:column; gap:11px; }
.footer a{ font-size:14.5px; transition:color .25s; }
.footer a:hover{ color:var(--white); }
.footer__bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; flex-wrap:wrap; gap:12px; font-size:13px; }
.footer__bottom .dot{ width:7px; height:7px; border-radius:50%; background:var(--gradient); display:inline-block; margin-right:8px; }
.footer__social{ display:flex; gap:10px; }
.footer__social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:center; transition:background .25s, border-color .25s;
}
.footer__social a:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.3); }

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

/* ---------- Form ---------- */
.form{ display:flex; flex-direction:column; gap:18px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:13px; font-weight:600; color:var(--grey-700); }
.field input, .field select, .field textarea{
  border:1px solid var(--grey-300); border-radius:var(--radius-sm); padding:13px 15px; font-size:15px;
  font-family:inherit; background:var(--white); transition:border-color .25s, box-shadow .25s; color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--purple); box-shadow:0 0 0 4px rgba(124,68,202,.12);
}
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:13px; color:var(--grey-600); }
.form-success{
  display:none; padding:16px 18px; border-radius:var(--radius-sm); background:var(--grey-100); border:1px solid var(--grey-150);
  font-size:14.5px; color:var(--ink); align-items:center; gap:10px;
}
.form-success.is-visible{ display:flex; }
.form-success .dot{ width:8px; height:8px; border-radius:50%; background:var(--gradient); flex:none; }

/* ---------- Misc ---------- */
.divider{ height:1px; background:var(--grey-150); margin:0; border:none; }
.muted{ color:var(--grey-600); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.mt-8{ margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;} .mt-64{margin-top:64px;}

.entity-row{ display:flex; align-items:center; justify-content:space-between; padding:18px 0; border-bottom:1px solid var(--grey-150); gap:16px; flex-wrap:wrap; }
.entity-row:last-child{ border-bottom:none; }
.entity-row span.name{ font-weight:600; font-size:15.5px; }
.entity-row span.tag{ flex:none; }
